diff options
Diffstat (limited to 'kopete/kopete/chatwindow/krichtexteditpart.cpp')
-rw-r--r-- | kopete/kopete/chatwindow/krichtexteditpart.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kopete/kopete/chatwindow/krichtexteditpart.cpp b/kopete/kopete/chatwindow/krichtexteditpart.cpp index 16c398d5..ff86940d 100644 --- a/kopete/kopete/chatwindow/krichtexteditpart.cpp +++ b/kopete/kopete/chatwindow/krichtexteditpart.cpp @@ -7,7 +7,7 @@ #include <kconfig.h> #include <tdeversion.h> #include <tqapplication.h> -#include <clipboard.h> +#include <tqclipboard.h> #include <tqevent.h> #include <kparts/genericfactory.h> #include <tqrichtext_p.h> @@ -200,10 +200,10 @@ void KopeteRichTextEditPart::createActions( KActionCollection *ac ) connect( action_align_justify, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( setAlignJustify(bool) ) ); - action_align_left->setExclusiveGroup( "alignment" ); - action_align_center->setExclusiveGroup( "alignment" ); - action_align_right->setExclusiveGroup( "alignment" ); - action_align_justify->setExclusiveGroup( "alignment" ); + action_align_left->setExclusiveGroup( "tqalignment" ); + action_align_center->setExclusiveGroup( "tqalignment" ); + action_align_right->setExclusiveGroup( "tqalignment" ); + action_align_justify->setExclusiveGroup( "tqalignment" ); connect( editor, TQT_SIGNAL( cursorPositionChanged( int,int ) ), this, TQT_SLOT( updateAligment() ) ); @@ -268,7 +268,7 @@ void KopeteRichTextEditPart::clear() void KopeteRichTextEditPart::updateAligment() { - int align = editor->alignment(); + int align = editor->tqalignment(); switch ( align ) { @@ -351,7 +351,7 @@ void KopeteRichTextEditPart::writeConfig() config->writeEntry("FontUnderline", mFont.underline() ); config->writeEntry("BgColor", mBgColor ); config->writeEntry("FgColor", mFgColor ); - config->writeEntry("EditAlignment", editor->alignment() ); + config->writeEntry("EditAlignment", editor->tqalignment() ); config->sync(); } @@ -515,28 +515,28 @@ void KopeteRichTextEditPart::setUnderline( bool b ) void KopeteRichTextEditPart::setAlignLeft( bool yes ) { if ( yes ) - editor->setAlignment( AlignLeft ); + editor->tqsetAlignment( AlignLeft ); writeConfig(); } void KopeteRichTextEditPart::setAlignRight( bool yes ) { if ( yes ) - editor->setAlignment( AlignRight ); + editor->tqsetAlignment( AlignRight ); writeConfig(); } void KopeteRichTextEditPart::setAlignCenter( bool yes ) { if ( yes ) - editor->setAlignment( AlignCenter ); + editor->tqsetAlignment( AlignCenter ); writeConfig(); } void KopeteRichTextEditPart::setAlignJustify( bool yes ) { if ( yes ) - editor->setAlignment( AlignJustify ); + editor->tqsetAlignment( AlignJustify ); writeConfig(); } |