summaryrefslogtreecommitdiffstats
path: root/kmenuedit/kmenuedit.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-12 10:51:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-16 10:04:33 +0900
commit1c65be77cd84b454f3fe69f211849a712ad99ed0 (patch)
treef9309bc873f0f7838ee21373c32d5fd388da79d9 /kmenuedit/kmenuedit.cpp
parent55ba7bff2cd71ef2582b43c336afc55325b48a60 (diff)
downloadtdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.tar.gz
tdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec)
Diffstat (limited to 'kmenuedit/kmenuedit.cpp')
-rw-r--r--kmenuedit/kmenuedit.cpp30
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();