diff options
Diffstat (limited to 'lib/kofficeui/KoTooluButton.cpp')
-rw-r--r-- | lib/kofficeui/KoTooluButton.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/kofficeui/KoTooluButton.cpp b/lib/kofficeui/KoTooluButton.cpp index f202177c..7e03f0bf 100644 --- a/lib/kofficeui/KoTooluButton.cpp +++ b/lib/kofficeui/KoTooluButton.cpp @@ -76,29 +76,29 @@ TQPopupMenu* KoColorPanel::createColorPopup( KoColorPanel::MenuStyle style, cons p.fillRect( 0, 0, 12, 12, defaultColor ); p.end(); proxy = new KoColorPopupProxy( defaultColor, 0, menu, "color proxy" ); - connect( proxy, TQT_SIGNAL( colorSelected( const TQColor& ) ), receiver, slot ); - menu->insertItem( TQIconSet( pixmap ), i18n( "Default Color" ), proxy, TQT_SLOT( slotDefaultColor() ) ); + connect( proxy, TQ_SIGNAL( colorSelected( const TQColor& ) ), receiver, slot ); + menu->insertItem( TQIconSet( pixmap ), i18n( "Default Color" ), proxy, TQ_SLOT( slotDefaultColor() ) ); menu->insertSeparator(); } KoColorPanel* panel = new KoColorPanel( menu, "default colors" ); panel->insertDefaultColors(); - connect( panel, TQT_SIGNAL( colorSelected( const TQColor& ) ), receiver, slot ); + connect( panel, TQ_SIGNAL( colorSelected( const TQColor& ) ), receiver, slot ); menu->insertItem( panel ); if ( style == CustomColors ) { menu->insertSeparator(); panel = new KoColorPanel( menu, "custom panel" ); - connect( panel, TQT_SIGNAL( colorSelected( const TQColor& ) ), receiver, slot ); + connect( panel, TQ_SIGNAL( colorSelected( const TQColor& ) ), receiver, slot ); menu->insertItem( panel ); if ( !proxy ) { proxy = new KoColorPopupProxy( TQColor(), panel, menu, "color proxy" ); - connect( proxy, TQT_SIGNAL( colorSelected( const TQColor& ) ), receiver, slot ); + connect( proxy, TQ_SIGNAL( colorSelected( const TQColor& ) ), receiver, slot ); } else proxy->setRecentColorPanel( panel ); menu->insertSeparator(); - menu->insertItem( i18n( "More Colors..." ), proxy, TQT_SLOT( slotMoreColors() ) ); + menu->insertItem( i18n( "More Colors..." ), proxy, TQ_SLOT( slotMoreColors() ) ); } return menu; @@ -833,7 +833,7 @@ bool KoToolButton::eventFilter( TQObject* o, TQEvent* e ) void KoToolButton::init() { m_popup = KoColorPanel::createColorPopup( KoColorPanel::CustomColors, TQt::yellow, this, - TQT_SLOT( colorSelected( const TQColor& ) ), + TQ_SLOT( colorSelected( const TQColor& ) ), this, "no-name" ); // We are interested in the mouse clicks on the arrow button m_popup->installEventFilter( this ); |