summaryrefslogtreecommitdiffstats
path: root/konq-plugins/kuick
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
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')
-rw-r--r--konq-plugins/kuick/kcmkuick/kcmkuick.cpp10
-rw-r--r--konq-plugins/kuick/kdirmenu.cpp10
-rw-r--r--konq-plugins/kuick/kimcontactmenu.cpp4
-rw-r--r--konq-plugins/kuick/kmetamenu.cpp22
-rw-r--r--konq-plugins/kuick/kuick_plugin.cpp16
5 files changed, 31 insertions, 31 deletions
diff --git a/konq-plugins/kuick/kcmkuick/kcmkuick.cpp b/konq-plugins/kuick/kcmkuick/kcmkuick.cpp
index c32d46e..89a6c4b 100644
--- a/konq-plugins/kuick/kcmkuick/kcmkuick.cpp
+++ b/konq-plugins/kuick/kcmkuick/kcmkuick.cpp
@@ -47,11 +47,11 @@ KCMKuick::KCMKuick(TQWidget *parent, const char *name, const TQStringList &)
topLayout->add(dialog);
topLayout->addStretch();
- connect( dialog->m_sbCopy, TQT_SIGNAL(valueChanged(int) ), TQT_SLOT(configChanged() ) );
- connect( dialog->m_sbMove, TQT_SIGNAL(valueChanged(int) ), TQT_SLOT(configChanged() ) );
- connect( dialog->pbCopyClear, TQT_SIGNAL(pressed() ), TQT_SLOT(slotClearCopyCache() ) );
- connect( dialog->pbMoveClear, TQT_SIGNAL(pressed() ), TQT_SLOT(slotClearMoveCache() ) );
- connect( dialog->m_chkShow, TQT_SIGNAL(clicked() ), TQT_SLOT(slotShowToggled() ) );
+ connect( dialog->m_sbCopy, TQ_SIGNAL(valueChanged(int) ), TQ_SLOT(configChanged() ) );
+ connect( dialog->m_sbMove, TQ_SIGNAL(valueChanged(int) ), TQ_SLOT(configChanged() ) );
+ connect( dialog->pbCopyClear, TQ_SIGNAL(pressed() ), TQ_SLOT(slotClearCopyCache() ) );
+ connect( dialog->pbMoveClear, TQ_SIGNAL(pressed() ), TQ_SLOT(slotClearMoveCache() ) );
+ connect( dialog->m_chkShow, TQ_SIGNAL(clicked() ), TQ_SLOT(slotShowToggled() ) );
load();
}
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( ) {
diff --git a/konq-plugins/kuick/kimcontactmenu.cpp b/konq-plugins/kuick/kimcontactmenu.cpp
index 9b3c1df..a32736f 100644
--- a/konq-plugins/kuick/kimcontactmenu.cpp
+++ b/konq-plugins/kuick/kimcontactmenu.cpp
@@ -40,8 +40,8 @@ KIMContactMenu::KIMContactMenu( TQWidget *parent, KIMProxy *proxy )
#ifdef KIMCONTACTS_USE_KABC
m_addressBook = TDEABC::StdAddressBook::self( false );
#endif
- connect( this, TQT_SIGNAL( activated( int ) ), TQT_SLOT( slotItemActivated( int ) ) );
- connect( this, TQT_SIGNAL( aboutToShow( ) ), this, TQT_SLOT( slotAboutToShow( ) ) );
+ connect( this, TQ_SIGNAL( activated( int ) ), TQ_SLOT( slotItemActivated( int ) ) );
+ connect( this, TQ_SIGNAL( aboutToShow( ) ), this, TQ_SLOT( slotAboutToShow( ) ) );
}
KIMContactMenu::~KIMContactMenu()
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;
diff --git a/konq-plugins/kuick/kuick_plugin.cpp b/konq-plugins/kuick/kuick_plugin.cpp
index 6545366..b58acc3 100644
--- a/konq-plugins/kuick/kuick_plugin.cpp
+++ b/konq-plugins/kuick/kuick_plugin.cpp
@@ -42,11 +42,11 @@ KTestMenu::KTestMenu( KonqPopupMenu *popupmenu, const char *name, const TQString
popup= popupmenu ;
meta_copy_mmu = 0L;
meta_move_mmu = 0L;
- my_action = new TDEAction( "kuick_plugin", 0, this, TQT_SLOT( slotPopupMaeh( ) ), actionCollection( ), "Do some funky stuff" );
+ my_action = new TDEAction( "kuick_plugin", 0, this, TQ_SLOT( slotPopupMaeh( ) ), actionCollection( ), "Do some funky stuff" );
addAction( my_action );
addSeparator();
//popupmenu->addMerge();
- connect( popup, TQT_SIGNAL(aboutToShow() ), this, TQT_SLOT(slotPrepareMenu( ) ) );
+ connect( popup, TQ_SIGNAL(aboutToShow() ), this, TQ_SLOT(slotPrepareMenu( ) ) );
m_imProxy = KIMProxy::instance( kapp->dcopClient() );
}
KTestMenu::~KTestMenu( ){
@@ -95,18 +95,18 @@ void KTestMenu::slotPrepareMenu( ) { // now it's time to set up the menu...
meta_copy_mmu = new KMetaMenu(popup, popup->url(),
i18n("&Copy Here") , "kuick-copy", m_imProxy );
popup->insertItem(i18n("Copy To"), meta_copy_mmu, -1, i );
- connect( meta_copy_mmu, TQT_SIGNAL(fileChosen(const TQString &) ),
- TQT_SLOT(slotStartCopyJob(const TQString & )) );
+ connect( meta_copy_mmu, TQ_SIGNAL(fileChosen(const TQString &) ),
+ TQ_SLOT(slotStartCopyJob(const TQString & )) );
- connect( meta_copy_mmu, TQT_SIGNAL( contactChosen( const TQString & ) ),
- TQT_SLOT( slotFileTransfer( const TQString & )) );
+ connect( meta_copy_mmu, TQ_SIGNAL( contactChosen( const TQString & ) ),
+ TQ_SLOT( slotFileTransfer( const TQString & )) );
if( popup->protocolInfo().supportsMoving() ){
meta_move_mmu = new KMetaMenu(popup, popup->url(),
i18n("&Move Here"), "kuick-move");
popup->insertItem(i18n("Move To"), meta_move_mmu, -1, i+1 );
- connect( meta_move_mmu, TQT_SIGNAL(fileChosen(const TQString &) ),
- TQT_SLOT(slotStartMoveJob(const TQString & )) );
+ connect( meta_move_mmu, TQ_SIGNAL(fileChosen(const TQString &) ),
+ TQ_SLOT(slotStartMoveJob(const TQString & )) );
}
break;
}