diff options
author | Michele Calgaro <[email protected]> | 2024-01-14 12:33:20 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-16 19:01:53 +0900 |
commit | b0f8eef013163b2098c2bb07e93cb9b194338b80 (patch) | |
tree | c35221250699030822f3c616b393f77e1ce47036 /kandy/src/kandy.cpp | |
parent | c2138cbe92142437d50f2e6cec6f8909da959234 (diff) | |
download | tdepim-b0f8eef013163b2098c2bb07e93cb9b194338b80.tar.gz tdepim-b0f8eef013163b2098c2bb07e93cb9b194338b80.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 3b3f9ec8f31978030c17309fae48335bea5c1587)
Diffstat (limited to 'kandy/src/kandy.cpp')
-rw-r--r-- | kandy/src/kandy.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kandy/src/kandy.cpp b/kandy/src/kandy.cpp index 47c16d7d8..cd2e9826f 100644 --- a/kandy/src/kandy.cpp +++ b/kandy/src/kandy.cpp @@ -81,12 +81,12 @@ Kandy::Kandy(CommandScheduler *scheduler) setAutoSaveSettings(); // allow the view to change the statusbar and caption - connect(mView, TQT_SIGNAL(signalChangeStatusbar(const TQString&)), - this, TQT_SLOT(changeStatusbar(const TQString&))); - connect(mView, TQT_SIGNAL(signalChangeCaption(const TQString&)), - this, TQT_SLOT(changeCaption(const TQString&))); + connect(mView, TQ_SIGNAL(signalChangeStatusbar(const TQString&)), + this, TQ_SLOT(changeStatusbar(const TQString&))); + connect(mView, TQ_SIGNAL(signalChangeCaption(const TQString&)), + this, TQ_SLOT(changeCaption(const TQString&))); - connect(mView,TQT_SIGNAL(modifiedChanged(bool)),TQT_SLOT(setTitle())); + connect(mView,TQ_SIGNAL(modifiedChanged(bool)),TQ_SLOT(setTitle())); TDEConfig *config = TDEGlobal::config(); config->setGroup("General"); @@ -123,26 +123,26 @@ void Kandy::save(const TQString & filename) void Kandy::setupActions() { - KStdAction::open(this, TQT_SLOT(fileOpen()), actionCollection()); - KStdAction::save(this, TQT_SLOT(fileSave()), actionCollection()); - KStdAction::saveAs(this, TQT_SLOT(fileSaveAs()), actionCollection()); -// KStdAction::print(this, TQT_SLOT(filePrint()), actionCollection()); - KStdAction::quit(this, TQT_SLOT(close()), actionCollection()); + KStdAction::open(this, TQ_SLOT(fileOpen()), actionCollection()); + KStdAction::save(this, TQ_SLOT(fileSave()), actionCollection()); + KStdAction::saveAs(this, TQ_SLOT(fileSaveAs()), actionCollection()); +// KStdAction::print(this, TQ_SLOT(filePrint()), actionCollection()); + KStdAction::quit(this, TQ_SLOT(close()), actionCollection()); createStandardStatusBarAction(); setStandardToolBarMenuEnabled(true); - KStdAction::keyBindings(this, TQT_SLOT(optionsConfigureKeys()), actionCollection()); - KStdAction::configureToolbars(this, TQT_SLOT(optionsConfigureToolbars()), actionCollection()); - KStdAction::preferences(this, TQT_SLOT(optionsPreferences()), actionCollection()); + KStdAction::keyBindings(this, TQ_SLOT(optionsConfigureKeys()), actionCollection()); + KStdAction::configureToolbars(this, TQ_SLOT(optionsConfigureToolbars()), actionCollection()); + KStdAction::preferences(this, TQ_SLOT(optionsPreferences()), actionCollection()); - new TDEAction(i18n("Mobile GUI"),0,this,TQT_SLOT(showMobileGui()), + new TDEAction(i18n("Mobile GUI"),0,this,TQ_SLOT(showMobileGui()), actionCollection(),"show_mobilegui"); - mConnectAction = new TDEAction(i18n("Connect"),0,this,TQT_SLOT(modemConnect()), + mConnectAction = new TDEAction(i18n("Connect"),0,this,TQ_SLOT(modemConnect()), actionCollection(),"modem_connect"); mDisconnectAction = new TDEAction(i18n("Disconnect"),0,this, - TQT_SLOT(modemDisconnect()),actionCollection(), + TQ_SLOT(modemDisconnect()),actionCollection(), "modem_disconnect"); createGUI(); @@ -252,7 +252,7 @@ void Kandy::optionsConfigureToolbars() // use the standard toolbar editor saveMainWindowSettings( TDEGlobal::config(), autoSaveGroup() ); KEditToolbar dlg(actionCollection()); - connect(&dlg, TQT_SIGNAL(newToolbarConfig()), this, TQT_SLOT(newToolbarConfig())); + connect(&dlg, TQ_SIGNAL(newToolbarConfig()), this, TQ_SLOT(newToolbarConfig())); dlg.exec(); } |