diff options
author | Michele Calgaro <[email protected]> | 2024-01-11 10:35:25 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-13 20:23:16 +0900 |
commit | e234565531cd8c11949cc6aecf16179e75312458 (patch) | |
tree | 90b0cb6c9f6c2a04712bbfb73b531275d4f63976 /kate/filelistloader | |
parent | be3456c5d953fb877340a51b2ef699be6b3c7c02 (diff) | |
download | tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.tar.gz tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 7e9d8ea45280ad6657796da9536ccf6218111f22)
Diffstat (limited to 'kate/filelistloader')
-rw-r--r-- | kate/filelistloader/katefll_initplugin.cpp | 6 | ||||
-rw-r--r-- | kate/filelistloader/katefll_plugin.cpp | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kate/filelistloader/katefll_initplugin.cpp b/kate/filelistloader/katefll_initplugin.cpp index 7837b33..e7d56c1 100644 --- a/kate/filelistloader/katefll_initplugin.cpp +++ b/kate/filelistloader/katefll_initplugin.cpp @@ -79,11 +79,11 @@ int InitPluginKateFileListLoader::initKate() Kate::Plugin *pl=application()->pluginManager()->plugin("katefll_plugin"); if (pl) { - connect(this,TQT_SIGNAL(updateInit()),pl,TQT_SLOT(updateInit())); + connect(this,TQ_SIGNAL(updateInit()),pl,TQ_SLOT(updateInit())); updateInit(); - disconnect(this,TQT_SIGNAL(updateInit()),pl,TQT_SLOT(updateInit())); + disconnect(this,TQ_SIGNAL(updateInit()),pl,TQ_SLOT(updateInit())); -/* int id = pl->metaObject()->findSlot( TQT_SLOT(updateInit()) ); +/* int id = pl->metaObject()->findSlot( TQ_SLOT(updateInit()) ); if ( id != -1 ) { kdDebug()<<"Action slot was found, it will be called now"<<endl; diff --git a/kate/filelistloader/katefll_plugin.cpp b/kate/filelistloader/katefll_plugin.cpp index 381c5b1..916e73a 100644 --- a/kate/filelistloader/katefll_plugin.cpp +++ b/kate/filelistloader/katefll_plugin.cpp @@ -75,20 +75,20 @@ void PluginKateFileListLoader::addView(Kate::MainWindow *win) PluginView *view = new PluginView (); (void) new TDEAction( i18n("Open File List..."), 0, - this, TQT_SLOT( slotOpenList() ), + this, TQ_SLOT( slotOpenList() ), view->actionCollection(), "file_kfllopen" ); view->recentFiles = new TDERecentFilesAction( i18n("Open Recent"), TDEShortcut::null(), - this, TQT_SLOT(slotOpenList(const KURL&)), view->actionCollection(), + this, TQ_SLOT(slotOpenList(const KURL&)), view->actionCollection(), "file_kfllopenrecent"); view->recentFiles->loadEntries(m_config, "Recent Files"); (void) new TDEAction( i18n("Save File List"), 0, - this, TQT_SLOT( slotSaveList() ), + this, TQ_SLOT( slotSaveList() ), view->actionCollection(), "file_kfllsave" ); (void) new TDEAction( i18n("Save File List As..."), 0, - this, TQT_SLOT( slotSaveListAs() ), + this, TQ_SLOT( slotSaveListAs() ), view->actionCollection(), "file_kfllsaveas" ); view->setInstance (new TDEInstance("kate")); |