diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-30 16:29:10 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-30 16:29:10 +0900 |
commit | bd78d59d712b6ac594d0bd0b9d4bd7cc3c6af8db (patch) | |
tree | 0d06e55abb137dce9a0fec3b4bf0f726d981cd1f /ksquirrel/sidebar/sq_treeviewmenu.cpp | |
parent | 69c8b6084655e30ef0fd8b0aef498faf8f23bff3 (diff) | |
download | ksquirrel-bd78d59d712b6ac594d0bd0b9d4bd7cc3c6af8db.tar.gz ksquirrel-bd78d59d712b6ac594d0bd0b9d4bd7cc3c6af8db.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksquirrel/sidebar/sq_treeviewmenu.cpp')
-rw-r--r-- | ksquirrel/sidebar/sq_treeviewmenu.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ksquirrel/sidebar/sq_treeviewmenu.cpp b/ksquirrel/sidebar/sq_treeviewmenu.cpp index 0fa1329..624c753 100644 --- a/ksquirrel/sidebar/sq_treeviewmenu.cpp +++ b/ksquirrel/sidebar/sq_treeviewmenu.cpp @@ -15,13 +15,13 @@ SQ_TreeViewMenu::SQ_TreeViewMenu(TQWidget *parent, const char *name) : TDEPopupMenu(parent, name) { - id_new = insertItem(SQ_IconLoader::instance()->loadIcon("folder-new", TDEIcon::Desktop, TDEIcon::SizeSmall), i18n("New folder..."), this, TQT_SLOT(slotDirectoryNew())); + id_new = insertItem(SQ_IconLoader::instance()->loadIcon("folder-new", TDEIcon::Desktop, TDEIcon::SizeSmall), i18n("New folder..."), this, TQ_SLOT(slotDirectoryNew())); insertSeparator(); - id_rename = insertItem(i18n("Rename"), this, TQT_SLOT(slotDirectoryRename())); - id_clear = insertItem(i18n("Clear contents"), this, TQT_SLOT(slotDirectoryClear())); - id_delete = insertItem(SQ_IconLoader::instance()->loadIcon("edit-delete", TDEIcon::Desktop, TDEIcon::SizeSmall), i18n("Delete"), this, TQT_SLOT(slotDirectoryDelete())); + id_rename = insertItem(i18n("Rename"), this, TQ_SLOT(slotDirectoryRename())); + id_clear = insertItem(i18n("Clear contents"), this, TQ_SLOT(slotDirectoryClear())); + id_delete = insertItem(SQ_IconLoader::instance()->loadIcon("edit-delete", TDEIcon::Desktop, TDEIcon::SizeSmall), i18n("Delete"), this, TQ_SLOT(slotDirectoryDelete())); insertSeparator(); - id_prop = insertItem(i18n("Properties"), this, TQT_SLOT(slotDirectoryProperties())); + id_prop = insertItem(i18n("Properties"), this, TQ_SLOT(slotDirectoryProperties())); } SQ_TreeViewMenu::~SQ_TreeViewMenu() @@ -71,7 +71,7 @@ void SQ_TreeViewMenu::slotDirectoryNew() dstURL.addPath(mNewFilename); TDEIO::Job *job = TDEIO::mkdir(dstURL); - connect(job, TQT_SIGNAL(result(TDEIO::Job*)), this, TQT_SLOT(slotDirectoryResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job*)), this, TQ_SLOT(slotDirectoryResult(TDEIO::Job *))); } } } @@ -96,7 +96,7 @@ void SQ_TreeViewMenu::slotDirectoryRename() TDEIO::Job *job = TDEIO::rename(renameSrcURL, renameDstURL, true); - connect(job, TQT_SIGNAL(result(TDEIO::Job*)), this, TQT_SLOT(slotDirectoryResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job*)), this, TQ_SLOT(slotDirectoryResult(TDEIO::Job *))); } } } @@ -113,7 +113,7 @@ void SQ_TreeViewMenu::slotDirectoryDelete() TDEIO::Job *job = TDEIO::del(m_url); - connect(job, TQT_SIGNAL(result(TDEIO::Job*)), this, TQT_SLOT(slotDirectoryResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job*)), this, TQ_SLOT(slotDirectoryResult(TDEIO::Job *))); } } @@ -129,8 +129,8 @@ void SQ_TreeViewMenu::slotDirectoryClear() TDEIO::Job *job = TDEIO::listDir(m_url, false, true); - connect(job, TQT_SIGNAL(entries(TDEIO::Job *, const TDEIO::UDSEntryList &)), this, TQT_SLOT(slotEntries(TDEIO::Job *, const TDEIO::UDSEntryList &))); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), this, TQT_SLOT(slotListResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(entries(TDEIO::Job *, const TDEIO::UDSEntryList &)), this, TQ_SLOT(slotEntries(TDEIO::Job *, const TDEIO::UDSEntryList &))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), this, TQ_SLOT(slotListResult(TDEIO::Job *))); } } @@ -177,7 +177,7 @@ void SQ_TreeViewMenu::slotListResult(TDEIO::Job *job) else if(!urlstodel.isEmpty()) { TDEIO::Job *job = TDEIO::del(urlstodel); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), this, TQT_SLOT(slotDirectoryResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), this, TQ_SLOT(slotDirectoryResult(TDEIO::Job *))); } } |