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-04 12:36:03 +0900 |
commit | c0332621bc998c9786f4841e86a62b7711fe4abf (patch) | |
tree | 38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /lib/kofficeui/ttdeaction.cpp | |
parent | 6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff) | |
download | koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.tar.gz koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/kofficeui/ttdeaction.cpp')
-rw-r--r-- | lib/kofficeui/ttdeaction.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kofficeui/ttdeaction.cpp b/lib/kofficeui/ttdeaction.cpp index 6725812a..17ca8c29 100644 --- a/lib/kofficeui/ttdeaction.cpp +++ b/lib/kofficeui/ttdeaction.cpp @@ -65,13 +65,13 @@ int TTDEAction::plug(TQWidget* widget, int index) TTDEToolBarButton* b = new TTDEToolBarButton(icon(),plainText(),bar,name(),instance); // we don't need clicked() and buttonClicked(), do we? - // connect(b,TQT_SIGNAL(clicked()),TQT_SLOT(slotActivated())); + // connect(b,TQ_SIGNAL(clicked()),TQ_SLOT(slotActivated())); b->setIconMode(m_imode); initToolBarButton(b); bar->insertWidget( id_, 100, b, index ); addContainer(bar,id_); - connect( bar, TQT_SIGNAL(destroyed()), this, TQT_SLOT(slotDestroyed()) ); + connect( bar, TQ_SIGNAL(destroyed()), this, TQ_SLOT(slotDestroyed()) ); return containerCount() - 1; } @@ -80,7 +80,7 @@ int TTDEAction::plug(TQWidget* widget, int index) void TTDEAction::initToolBarButton(TTDEToolBarButton* button) { - connect(button,TQT_SIGNAL(buttonClicked()),TQT_SLOT(slotActivated())); + connect(button,TQ_SIGNAL(buttonClicked()),TQ_SLOT(slotActivated())); } TK::IconMode TTDEAction::iconMode() @@ -197,7 +197,7 @@ int TKBaseSelectAction::plug(TQWidget* widget, int index) bar->insertWidget( id_, 100, base, index ); addContainer( bar, id_ ); - connect( bar, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slotDestroyed() ) ); + connect( bar, TQ_SIGNAL( destroyed() ), this, TQ_SLOT( slotDestroyed() ) ); setCurrentItem(currentItem()); @@ -213,7 +213,7 @@ int TKBaseSelectAction::currentItem() void TKBaseSelectAction::initComboBox(TKComboBox* cb) { - connect(cb,TQT_SIGNAL(activated(int)),TQT_SLOT(slotActivated(int))); + connect(cb,TQ_SIGNAL(activated(int)),TQ_SLOT(slotActivated(int))); } void TKBaseSelectAction::setEditable(bool editable) @@ -260,7 +260,7 @@ TTDESelectAction::~TTDESelectAction() void TTDESelectAction::initComboBox(TKComboBox* cb) { TKBaseSelectAction::initComboBox(cb); - connect(cb,TQT_SIGNAL(activated(const TQString&)),TQT_SLOT(slotActivated(const TQString&))); + connect(cb,TQ_SIGNAL(activated(const TQString&)),TQ_SLOT(slotActivated(const TQString&))); cb->insertStringList(items()); } |