diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-12 10:51:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-16 10:03:43 +0900 |
commit | a4241b7911d2e0b36edfb02f616b8b282050c0ec (patch) | |
tree | 316c9a3298857645d5da57b682fce707c8e2a907 /kmenuedit/kmenuedit.cpp | |
parent | f9d06cee3d2b4ffe415b1d52c9ad5575643a9e34 (diff) | |
download | tdebase-a4241b7911d2e0b36edfb02f616b8b282050c0ec.tar.gz tdebase-a4241b7911d2e0b36edfb02f616b8b282050c0ec.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmenuedit/kmenuedit.cpp')
-rw-r--r-- | kmenuedit/kmenuedit.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kmenuedit/kmenuedit.cpp b/kmenuedit/kmenuedit.cpp index 277748ae9..282c9843c 100644 --- a/kmenuedit/kmenuedit.cpp +++ b/kmenuedit/kmenuedit.cpp @@ -67,12 +67,12 @@ void KMenuEdit::setupActions() if (!m_controlCenter) (void)new TDEAction(i18n("New S&eparator"), "menu_new_sep", 0, actionCollection(), "newsep"); - (void)new TDEAction(i18n("Save && Quit"), "filesave_and_close", 0, this, TQT_SLOT( slotSave_and_close()), actionCollection(), "file_save_and_quit"); + (void)new TDEAction(i18n("Save && Quit"), "filesave_and_close", 0, this, TQ_SLOT( slotSave_and_close()), actionCollection(), "file_save_and_quit"); m_actionDelete = 0; - KStdAction::save(this, TQT_SLOT( slotSave() ), actionCollection()); - KStdAction::quit(this, TQT_SLOT( close() ), actionCollection()); + KStdAction::save(this, TQ_SLOT( slotSave() ), actionCollection()); + KStdAction::quit(this, TQ_SLOT( close() ), actionCollection()); KStdAction::cut(0, 0, actionCollection()); KStdAction::copy(0, 0, actionCollection()); KStdAction::paste(0, 0, actionCollection()); @@ -84,21 +84,21 @@ void KMenuEdit::setupView() m_tree = new TreeView(m_controlCenter, actionCollection(), m_splitter); m_basicTab = new BasicTab(m_splitter); - connect(m_tree, TQT_SIGNAL(entrySelected(MenuFolderInfo *)), - m_basicTab, TQT_SLOT(setFolderInfo(MenuFolderInfo *))); - connect(m_tree, TQT_SIGNAL(entrySelected(MenuEntryInfo *)), - m_basicTab, TQT_SLOT(setEntryInfo(MenuEntryInfo *))); - connect(m_tree, TQT_SIGNAL(disableAction()), - m_basicTab, TQT_SLOT(slotDisableAction() ) ); + connect(m_tree, TQ_SIGNAL(entrySelected(MenuFolderInfo *)), + m_basicTab, TQ_SLOT(setFolderInfo(MenuFolderInfo *))); + connect(m_tree, TQ_SIGNAL(entrySelected(MenuEntryInfo *)), + m_basicTab, TQ_SLOT(setEntryInfo(MenuEntryInfo *))); + connect(m_tree, TQ_SIGNAL(disableAction()), + m_basicTab, TQ_SLOT(slotDisableAction() ) ); - connect(m_basicTab, TQT_SIGNAL(changed(MenuFolderInfo *)), - m_tree, TQT_SLOT(currentChanged(MenuFolderInfo *))); + connect(m_basicTab, TQ_SIGNAL(changed(MenuFolderInfo *)), + m_tree, TQ_SLOT(currentChanged(MenuFolderInfo *))); - connect(m_basicTab, TQT_SIGNAL(changed(MenuEntryInfo *)), - m_tree, TQT_SLOT(currentChanged(MenuEntryInfo *))); + connect(m_basicTab, TQ_SIGNAL(changed(MenuEntryInfo *)), + m_tree, TQ_SLOT(currentChanged(MenuEntryInfo *))); - connect(m_basicTab, TQT_SIGNAL(findServiceShortcut(const TDEShortcut&, KService::Ptr &)), - m_tree, TQT_SLOT(findServiceShortcut(const TDEShortcut&, KService::Ptr &))); + connect(m_basicTab, TQ_SIGNAL(findServiceShortcut(const TDEShortcut&, KService::Ptr &)), + m_tree, TQ_SLOT(findServiceShortcut(const TDEShortcut&, KService::Ptr &))); // restore splitter sizes TDEConfig* config = TDEGlobal::config(); |