summaryrefslogtreecommitdiffstats
path: root/kopete/kopete/chatwindow/krichtexteditpart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/kopete/chatwindow/krichtexteditpart.cpp')
-rw-r--r--kopete/kopete/chatwindow/krichtexteditpart.cpp58
1 files changed, 29 insertions, 29 deletions
diff --git a/kopete/kopete/chatwindow/krichtexteditpart.cpp b/kopete/kopete/chatwindow/krichtexteditpart.cpp
index 70b0692f..52f156d3 100644
--- a/kopete/kopete/chatwindow/krichtexteditpart.cpp
+++ b/kopete/kopete/chatwindow/krichtexteditpart.cpp
@@ -127,86 +127,86 @@ void KopeteRichTextEditPart::createActions( TDEActionCollection *ac )
enableRichText = new TDEToggleAction(i18n("Enable &Rich Text"), "pencil", 0,
ac, "enableRichText" );
enableRichText->setCheckedState(i18n("Disable &Rich Text"));
- connect( enableRichText, TQT_SIGNAL( toggled(bool) ),
- this, TQT_SLOT( slotSetRichTextEnabled(bool) ) );
+ connect( enableRichText, TQ_SIGNAL( toggled(bool) ),
+ this, TQ_SLOT( slotSetRichTextEnabled(bool) ) );
checkSpelling = new TDEAction( i18n("Check &Spelling"), "tools-check-spelling", 0,
- editor, TQT_SLOT( checkSpelling() ), ac, "check_spelling" );
+ editor, TQ_SLOT( checkSpelling() ), ac, "check_spelling" );
//Fg Color
actionFgColor = new TDEAction( i18n("Text &Color..."), "color_line", 0,
- this, TQT_SLOT( setFgColor() ),
+ this, TQ_SLOT( setFgColor() ),
ac, "format_color" );
//BG Color
actionBgColor = new TDEAction( i18n("Background Co&lor..."), "color_fill", 0,
- this, TQT_SLOT( setBgColor() ),
+ this, TQ_SLOT( setBgColor() ),
ac, "format_bgcolor" );
//Font Family
action_font = new TDEFontAction( i18n("&Font"), 0,
ac, "format_font" );
- connect( action_font, TQT_SIGNAL( activated( const TQString & ) ),
- this, TQT_SLOT( setFont( const TQString & ) ) );
+ connect( action_font, TQ_SIGNAL( activated( const TQString & ) ),
+ this, TQ_SLOT( setFont( const TQString & ) ) );
//Font Size
action_font_size = new TDEFontSizeAction( i18n("Font &Size"), 0,
ac, "format_font_size" );
- connect( action_font_size, TQT_SIGNAL( fontSizeChanged(int) ),
- this, TQT_SLOT( setFontSize(int) ) );
+ connect( action_font_size, TQ_SIGNAL( fontSizeChanged(int) ),
+ this, TQ_SLOT( setFontSize(int) ) );
//Formatting
action_bold = new TDEToggleAction( i18n("&Bold"), "format-text-bold", CTRL+Key_B,
ac, "format_bold" );
- connect( action_bold, TQT_SIGNAL( toggled(bool) ),
- this, TQT_SLOT( setBold(bool) ) );
+ connect( action_bold, TQ_SIGNAL( toggled(bool) ),
+ this, TQ_SLOT( setBold(bool) ) );
action_italic = new TDEToggleAction( i18n("&Italic"), "format-text-italic", CTRL+Key_I,
ac, "format_italic" );
- connect( action_italic, TQT_SIGNAL( toggled(bool) ),
- this, TQT_SLOT( setItalic(bool) ) );
+ connect( action_italic, TQ_SIGNAL( toggled(bool) ),
+ this, TQ_SLOT( setItalic(bool) ) );
action_underline = new TDEToggleAction( i18n("&Underline"), "format-text-underline", CTRL+Key_U,
ac, "format_underline" );
- connect( action_underline, TQT_SIGNAL( toggled(bool) ),
- this, TQT_SLOT( setUnderline(bool) ) );
+ connect( action_underline, TQ_SIGNAL( toggled(bool) ),
+ this, TQ_SLOT( setUnderline(bool) ) );
- connect( editor, TQT_SIGNAL( currentFontChanged( const TQFont & ) ),
- this, TQT_SLOT( updateCharFmt() ) );
+ connect( editor, TQ_SIGNAL( currentFontChanged( const TQFont & ) ),
+ this, TQ_SLOT( updateCharFmt() ) );
updateCharFmt();
- connect( editor, TQT_SIGNAL( currentFontChanged( const TQFont & ) ),
- this, TQT_SLOT( updateFont() ) );
+ connect( editor, TQ_SIGNAL( currentFontChanged( const TQFont & ) ),
+ this, TQ_SLOT( updateFont() ) );
updateFont();
//Alignment
action_align_left = new TDEToggleAction( i18n("Align &Left"), "format-text-direction-ltr", 0,
ac, "format_align_left" );
- connect( action_align_left, TQT_SIGNAL( toggled(bool) ),
- this, TQT_SLOT( setAlignLeft(bool) ) );
+ connect( action_align_left, TQ_SIGNAL( toggled(bool) ),
+ this, TQ_SLOT( setAlignLeft(bool) ) );
action_align_center = new TDEToggleAction( i18n("Align &Center"), "text_center", 0,
ac, "format_align_center" );
- connect( action_align_center, TQT_SIGNAL( toggled(bool) ),
- this, TQT_SLOT( setAlignCenter(bool) ) );
+ connect( action_align_center, TQ_SIGNAL( toggled(bool) ),
+ this, TQ_SLOT( setAlignCenter(bool) ) );
action_align_right = new TDEToggleAction( i18n("Align &Right"), "format-text-direction-rtl", 0,
ac, "format_align_right" );
- connect( action_align_right, TQT_SIGNAL( toggled(bool) ),
- this, TQT_SLOT( setAlignRight(bool) ) );
+ connect( action_align_right, TQ_SIGNAL( toggled(bool) ),
+ this, TQ_SLOT( setAlignRight(bool) ) );
action_align_justify = new TDEToggleAction( i18n("&Justify"), "text_block", 0,
ac, "format_align_justify" );
- connect( action_align_justify, TQT_SIGNAL( toggled(bool) ),
- this, TQT_SLOT( setAlignJustify(bool) ) );
+ connect( action_align_justify, TQ_SIGNAL( toggled(bool) ),
+ this, TQ_SLOT( setAlignJustify(bool) ) );
action_align_left->setExclusiveGroup( "alignment" );
action_align_center->setExclusiveGroup( "alignment" );
action_align_right->setExclusiveGroup( "alignment" );
action_align_justify->setExclusiveGroup( "alignment" );
- connect( editor, TQT_SIGNAL( cursorPositionChanged( int,int ) ),
- this, TQT_SLOT( updateAligment() ) );
+ connect( editor, TQ_SIGNAL( cursorPositionChanged( int,int ) ),
+ this, TQ_SLOT( updateAligment() ) );
updateAligment();
}