diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 14:24:33 +0900 | 
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 14:24:33 +0900 | 
| commit | 35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c (patch) | |
| tree | bb3c7d39dd8592f3676cbd663a3cc42c7b288b41 /languages/cpp/app_templates/kxt/app.cpp | |
| parent | 59f10590f7686267df6e294111a2ff5661089026 (diff) | |
| download | tdevelop-35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c.tar.gz tdevelop-35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c.zip  | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'languages/cpp/app_templates/kxt/app.cpp')
| -rw-r--r-- | languages/cpp/app_templates/kxt/app.cpp | 26 | 
1 files changed, 13 insertions, 13 deletions
diff --git a/languages/cpp/app_templates/kxt/app.cpp b/languages/cpp/app_templates/kxt/app.cpp index ecdd5127..e9edb6d5 100644 --- a/languages/cpp/app_templates/kxt/app.cpp +++ b/languages/cpp/app_templates/kxt/app.cpp @@ -47,10 +47,10 @@      setAutoSaveSettings();      // allow the view to change the statusbar and caption -    connect(m_view, TQT_SIGNAL(signalChangeStatusbar(const TQString&)), -            this,   TQT_SLOT(changeStatusbar(const TQString&))); -    connect(m_view, TQT_SIGNAL(signalChangeCaption(const TQString&)), -            this,   TQT_SLOT(changeCaption(const TQString&))); +    connect(m_view, TQ_SIGNAL(signalChangeStatusbar(const TQString&)), +            this,   TQ_SLOT(changeStatusbar(const TQString&))); +    connect(m_view, TQ_SIGNAL(signalChangeCaption(const TQString&)), +            this,   TQ_SLOT(changeCaption(const TQString&)));  } @@ -60,19 +60,19 @@  void %{APPNAMELC}::setupActions()  { -    KStdAction::openNew(this, TQT_SLOT(fileNew()), actionCollection()); -    KStdAction::quit(kapp, TQT_SLOT(quit()), actionCollection()); +    KStdAction::openNew(this, TQ_SLOT(fileNew()), actionCollection()); +    KStdAction::quit(kapp, TQ_SLOT(quit()), actionCollection()); -    m_toolbarAction = KStdAction::showToolbar(this, TQT_SLOT(optionsShowToolbar()), actionCollection()); -    m_statusbarAction = KStdAction::showStatusbar(this, TQT_SLOT(optionsShowStatusbar()), actionCollection()); +    m_toolbarAction = KStdAction::showToolbar(this, TQ_SLOT(optionsShowToolbar()), actionCollection()); +    m_statusbarAction = KStdAction::showStatusbar(this, TQ_SLOT(optionsShowStatusbar()), actionCollection()); -    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());      // custom menu and menu item - the slot is in the class %{APPNAMELC}View      TDEAction *custom = new TDEAction(i18n("Swi&tch Colors"), 0, -                                  m_view, TQT_SLOT(switchColors()), +                                  m_view, TQ_SLOT(switchColors()),                                    actionCollection(), "switch_action");      createGUI(); @@ -135,7 +135,7 @@ void %{APPNAMELC}::optionsPreferences()  	// to the names of the variables in the .kcfg file          TDEConfigDialog *dialog = new TDEConfigDialog(this, "settings", Settings::self(), KDialogBase::Swallow);          dialog->addPage(new Prefs(), i18n("General"), "package_settings"); -        connect(dialog, TQT_SIGNAL(settingsChanged()), m_view, TQT_SLOT(settingsChanged())); +        connect(dialog, TQ_SIGNAL(settingsChanged()), m_view, TQ_SLOT(settingsChanged()));          dialog->show();  }  | 
