summaryrefslogtreecommitdiffstats
path: root/libkdepim/komposer/plugins
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /libkdepim/komposer/plugins
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdepim/komposer/plugins')
-rw-r--r--libkdepim/komposer/plugins/default/defaulteditor.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/libkdepim/komposer/plugins/default/defaulteditor.cpp b/libkdepim/komposer/plugins/default/defaulteditor.cpp
index b8abf17be..56f97d223 100644
--- a/libkdepim/komposer/plugins/default/defaulteditor.cpp
+++ b/libkdepim/komposer/plugins/default/defaulteditor.cpp
@@ -36,8 +36,8 @@
#include <kprinter.h>
#include <kfinddialog.h>
#include <kfind.h>
-#include <kreplacedialog.h>
-#include <kreplace.h>
+#include <ktqreplacedialog.h>
+#include <ktqreplace.h>
#include <tqtextedit.h>
#include <tqwidget.h>
@@ -89,7 +89,7 @@ DefaultEditor::changeSignature( const TQString &sig )
int sigStart = text.findRev( "-- " );
TQString sigText = TQString( "-- \n%1" ).arg( sig );
- text.replace( sigStart, text.length(), sigText );
+ text.tqreplace( sigStart, text.length(), sigText );
}
void
@@ -202,10 +202,10 @@ DefaultEditor::createActions( KActionCollection *ac )
connect( m_actionAlignJustify, TQT_SIGNAL(toggled(bool)),
this, TQT_SLOT(setAlignJustify(bool)) );
- m_actionAlignLeft->setExclusiveGroup( "alignment" );
- m_actionAlignCenter->setExclusiveGroup( "alignment" );
- m_actionAlignRight->setExclusiveGroup( "alignment" );
- m_actionAlignJustify->setExclusiveGroup( "alignment" );
+ m_actionAlignLeft->setExclusiveGroup( "tqalignment" );
+ m_actionAlignCenter->setExclusiveGroup( "tqalignment" );
+ m_actionAlignRight->setExclusiveGroup( "tqalignment" );
+ m_actionAlignJustify->setExclusiveGroup( "tqalignment" );
//
// Tools
@@ -244,7 +244,7 @@ DefaultEditor::updateCharFmt()
void
DefaultEditor::updateAligment()
{
- int align = m_textEdit->alignment();
+ int align = m_textEdit->tqalignment();
switch ( align ) {
case AlignRight:
@@ -288,28 +288,28 @@ void
DefaultEditor::setAlignLeft( bool yes )
{
if ( yes )
- m_textEdit->setAlignment( AlignLeft );
+ m_textEdit->tqsetAlignment( AlignLeft );
}
void
DefaultEditor::setAlignRight( bool yes )
{
if ( yes )
- m_textEdit->setAlignment( AlignRight );
+ m_textEdit->tqsetAlignment( AlignRight );
}
void
DefaultEditor::setAlignCenter( bool yes )
{
if ( yes )
- m_textEdit->setAlignment( AlignCenter );
+ m_textEdit->tqsetAlignment( AlignCenter );
}
void
DefaultEditor::setAlignJustify( bool yes )
{
if ( yes )
- m_textEdit->setAlignment( AlignJustify );
+ m_textEdit->tqsetAlignment( AlignJustify );
}
//