From e234565531cd8c11949cc6aecf16179e75312458 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 11 Jan 2024 10:35:25 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 7e9d8ea45280ad6657796da9536ccf6218111f22) --- konq-plugins/kuick/kmetamenu.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'konq-plugins/kuick/kmetamenu.cpp') 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; -- cgit v1.2.1