diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:35:25 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:35:25 +0900 |
commit | 7e9d8ea45280ad6657796da9536ccf6218111f22 (patch) | |
tree | 67d57c480b89c5967466e39bf60f7e4f05434f15 /konq-plugins/kuick/kdirmenu.cpp | |
parent | 1ecb90ecaf66e1cc8ddeacad21e71640477d9767 (diff) | |
download | tdeaddons-7e9d8ea45280ad6657796da9536ccf6218111f22.tar.gz tdeaddons-7e9d8ea45280ad6657796da9536ccf6218111f22.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'konq-plugins/kuick/kdirmenu.cpp')
-rw-r--r-- | konq-plugins/kuick/kdirmenu.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/konq-plugins/kuick/kdirmenu.cpp b/konq-plugins/kuick/kdirmenu.cpp index 6b98470..beba6d0 100644 --- a/konq-plugins/kuick/kdirmenu.cpp +++ b/konq-plugins/kuick/kdirmenu.cpp @@ -44,13 +44,13 @@ KDirMenu::KDirMenu ( TQWidget *parent, const KURL &_src, { children.setAutoDelete( true ); initIconMap( ); - connect( this, TQT_SIGNAL( aboutToShow( ) ), this, TQT_SLOT( slotAboutToShow( ) ) ); - connect( this, TQT_SIGNAL( aboutToHide( ) ), this, TQT_SLOT( slotAboutToHide( ) ) ); + connect( this, TQ_SIGNAL( aboutToShow( ) ), this, TQ_SLOT( slotAboutToShow( ) ) ); + connect( this, TQ_SIGNAL( aboutToHide( ) ), this, TQ_SLOT( slotAboutToHide( ) ) ); children.clear(); // just in case TQFileInfo fileInfo(path); if (( src.path() != path || !src.isLocalFile()) && fileInfo.isWritable()) - action = new TDEAction(name, 0, this, TQT_SLOT(new_slot( ) ), this); + action = new TDEAction(name, 0, this, TQ_SLOT(new_slot( ) ), this); } KDirMenu::~KDirMenu( ) { delete action; @@ -81,8 +81,8 @@ void KDirMenu::insert( KDirMenu *submenu, const TQString &_path ) { else insertItem( folder, escapedPath.replace( "&", "&&" ), submenu ); children.append( submenu ); - connect(submenu, TQT_SIGNAL(fileChosen(const TQString &)), - this, TQT_SLOT(slotFileSelected(const TQString &))); + connect(submenu, TQ_SIGNAL(fileChosen(const TQString &)), + this, TQ_SLOT(slotFileSelected(const TQString &))); } void KDirMenu::slotAboutToShow( ) { |