summaryrefslogtreecommitdiffstats
path: root/konq-plugins/kuick/kmetamenu.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-11 10:35:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 20:23:16 +0900
commite234565531cd8c11949cc6aecf16179e75312458 (patch)
tree90b0cb6c9f6c2a04712bbfb73b531275d4f63976 /konq-plugins/kuick/kmetamenu.cpp
parentbe3456c5d953fb877340a51b2ef699be6b3c7c02 (diff)
downloadtdeaddons-e234565531cd8c11949cc6aecf16179e75312458.tar.gz
tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7e9d8ea45280ad6657796da9536ccf6218111f22)
Diffstat (limited to 'konq-plugins/kuick/kmetamenu.cpp')
-rw-r--r--konq-plugins/kuick/kmetamenu.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/konq-plugins/kuick/kmetamenu.cpp b/konq-plugins/kuick/kmetamenu.cpp
index aaec725..8346a0a 100644
--- a/konq-plugins/kuick/kmetamenu.cpp
+++ b/konq-plugins/kuick/kmetamenu.cpp
@@ -55,8 +55,8 @@ KMetaMenu::KMetaMenu( TQWidget *parent, const KURL &url,
insertItem( SmallIcon( "kfm_home" ), i18n("&Home Folder"), m_home);
dirList << u.path();
- connect(m_home, TQT_SIGNAL(fileChosen(const TQString &)),
- TQT_SLOT(slotFileChosen(const TQString &) ) );
+ connect(m_home, TQ_SIGNAL(fileChosen(const TQString &)),
+ TQ_SLOT(slotFileChosen(const TQString &) ) );
}
u.setPath(TQDir::rootDirPath());
@@ -66,8 +66,8 @@ KMetaMenu::KMetaMenu( TQWidget *parent, const KURL &url,
insertItem( SmallIcon( "folder_red" ), i18n("&Root Folder"), m_root);
dirList << u.path();
- connect(m_root, TQT_SIGNAL(fileChosen(const TQString &)),
- TQT_SLOT(slotFileChosen(const TQString &) ) );
+ connect(m_root, TQ_SIGNAL(fileChosen(const TQString &)),
+ TQ_SLOT(slotFileChosen(const TQString &) ) );
}
TQString confDir = TQDir::rootDirPath()+ "etc";
@@ -80,8 +80,8 @@ KMetaMenu::KMetaMenu( TQWidget *parent, const KURL &url,
i18n("&System Configuration"), m_etc);
dirList << confDir;
- connect(m_etc , TQT_SIGNAL(fileChosen(const TQString &)),
- TQT_SLOT(slotFileChosen(const TQString &) ) );
+ connect(m_etc , TQ_SIGNAL(fileChosen(const TQString &)),
+ TQ_SLOT(slotFileChosen(const TQString &) ) );
}
if ( url.isLocalFile()
@@ -97,21 +97,21 @@ KMetaMenu::KMetaMenu( TQWidget *parent, const KURL &url,
insertItem( SmallIcon( "folder" ), i18n( "&Current Folder" ),
m_current );
- connect(m_current, TQT_SIGNAL(fileChosen(const TQString &)),
- TQT_SLOT(slotFileChosen(const TQString &) ) );
+ connect(m_current, TQ_SIGNAL(fileChosen(const TQString &)),
+ TQ_SLOT(slotFileChosen(const TQString &) ) );
}
if ( imProxy )
{
m_contacts = new KIMContactMenu( parent, imProxy );
int item = insertItem( SmallIconSet( "preferences-desktop-personal" ), i18n( "C&ontact" ), m_contacts );
- connect ( m_contacts, TQT_SIGNAL( contactChosen( const TQString &) ), TQT_SIGNAL( contactChosen( const TQString & ) ) );
+ connect ( m_contacts, TQ_SIGNAL( contactChosen( const TQString &) ), TQ_SIGNAL( contactChosen( const TQString & ) ) );
if ( !imProxy->initialize() || imProxy->fileTransferContacts().isEmpty() )
setItemEnabled( item, false );
}
- m_browse = new TDEAction(i18n("&Browse..."), 0, this, TQT_SLOT(slotBrowse()), this );
+ m_browse = new TDEAction(i18n("&Browse..."), 0, this, TQ_SLOT(slotBrowse()), this );
m_browse->plug(this);
// read the last chosen dirs
// first set the group according to our parameter
@@ -133,7 +133,7 @@ KMetaMenu::KMetaMenu( TQWidget *parent, const KURL &url,
continue;
}
TQString escapedDir = *it;
- TDEAction *action = new TDEAction(escapedDir.replace("&", "&&"), 0, this, TQT_SLOT(slotFastPath()), this);
+ TDEAction *action = new TDEAction(escapedDir.replace("&", "&&"), 0, this, TQ_SLOT(slotFastPath()), this);
action->plug(this );
actions.append( action );
++it;