diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:30:32 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 20:22:52 +0900 |
| commit | e1b37ac1936f81994a2c1aa2778298fbc757531f (patch) | |
| tree | 2e2df5ea5786d581b10e51e0cbde9f4921697b2f /lib/kofficeui/KoSelectAction.cpp | |
| parent | d08f80f854355e446d1c6be0eb50166646f7f291 (diff) | |
| download | koffice-e1b37ac1.tar.gz koffice-e1b37ac1.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
Diffstat (limited to 'lib/kofficeui/KoSelectAction.cpp')
| -rw-r--r-- | lib/kofficeui/KoSelectAction.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/kofficeui/KoSelectAction.cpp b/lib/kofficeui/KoSelectAction.cpp index 0558c512c..e8840c0ba 100644 --- a/lib/kofficeui/KoSelectAction.cpp +++ b/lib/kofficeui/KoSelectAction.cpp @@ -57,7 +57,7 @@ KoSelectAction::KoSelectAction(const TQString &text, const TQString& icon, d = new KoSelectActionPrivate; setShowCurrentSelection(true); - connect(popupMenu(), TQT_SIGNAL(activated(int)), this, TQT_SLOT(execute(int))); + connect(popupMenu(), TQ_SIGNAL(activated(int)), this, TQ_SLOT(execute(int))); } KoSelectAction::KoSelectAction(const TQString &text, const TQString& icon, const TQObject* receiver, @@ -65,8 +65,8 @@ KoSelectAction::KoSelectAction(const TQString &text, const TQString& icon, const { d = new KoSelectActionPrivate; - connect(this, TQT_SIGNAL(selectionChanged(int)), receiver, slot); - connect(popupMenu(), TQT_SIGNAL(activated(int)), this, TQT_SLOT(execute(int))); + connect(this, TQ_SIGNAL(selectionChanged(int)), receiver, slot); + connect(popupMenu(), TQ_SIGNAL(activated(int)), this, TQ_SLOT(execute(int))); } KoSelectAction::~KoSelectAction() @@ -105,7 +105,7 @@ int KoSelectAction::plug(TQWidget* widget, int index) menu->setItemEnabled( id, false ); addContainer( menu, id ); - connect( menu, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slotDestroyed() ) ); + connect( menu, TQ_SIGNAL( destroyed() ), this, TQ_SLOT( slotDestroyed() ) ); return containerCount() - 1; } @@ -116,8 +116,8 @@ int KoSelectAction::plug(TQWidget* widget, int index) int id_ = TDEAction::getToolButtonID(); if ( icon().isEmpty() && !iconSet().isNull() ) { - bar->insertButton( iconSet().pixmap(), id_, TQT_SIGNAL( clicked() ), this, - TQT_SLOT( slotActivated() ), isEnabled(), plainText(), + bar->insertButton( iconSet().pixmap(), id_, TQ_SIGNAL( clicked() ), this, + TQ_SLOT( slotActivated() ), isEnabled(), plainText(), index ); } else { TDEInstance *instance; @@ -128,8 +128,8 @@ int KoSelectAction::plug(TQWidget* widget, int index) instance = TDEGlobal::instance(); } - bar->insertButton( icon(), id_, TQT_SIGNAL( clicked() ), this, - TQT_SLOT( slotActivated() ), isEnabled(), plainText(), + bar->insertButton( icon(), id_, TQ_SIGNAL( clicked() ), this, + TQ_SLOT( slotActivated() ), isEnabled(), plainText(), index, instance ); } @@ -138,7 +138,7 @@ int KoSelectAction::plug(TQWidget* widget, int index) if (!whatsThis().isEmpty()) TQWhatsThis::add( bar->getButton(id_), whatsThis() ); - connect( bar, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slotDestroyed() ) ); + connect( bar, TQ_SIGNAL( destroyed() ), this, TQ_SLOT( slotDestroyed() ) ); bar->getButton(id_)->setPopup(popupMenu(), true ); @@ -156,7 +156,7 @@ int KoSelectAction::plug(TQWidget* widget, int index) bar->setItemEnabled( id, false ); addContainer( bar, id ); - connect( bar, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slotDestroyed() ) ); + connect( bar, TQ_SIGNAL( destroyed() ), this, TQ_SLOT( slotDestroyed() ) ); return containerCount() - 1; } |
