summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/dub
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-11 10:35:25 +0900
committerMichele Calgaro <[email protected]>2024-01-13 20:23:16 +0900
commite234565531cd8c11949cc6aecf16179e75312458 (patch)
tree90b0cb6c9f6c2a04712bbfb73b531275d4f63976 /noatun-plugins/dub
parentbe3456c5d953fb877340a51b2ef699be6b3c7c02 (diff)
downloadtdeaddons-e234565531cd8c11949cc6aecf16179e75312458.tar.gz
tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 7e9d8ea45280ad6657796da9536ccf6218111f22)
Diffstat (limited to 'noatun-plugins/dub')
-rw-r--r--noatun-plugins/dub/dub/dub.cpp12
-rw-r--r--noatun-plugins/dub/dub/dubapp.cpp2
-rw-r--r--noatun-plugins/dub/dub/fileselectorwidget.cpp36
3 files changed, 25 insertions, 25 deletions
diff --git a/noatun-plugins/dub/dub/dub.cpp b/noatun-plugins/dub/dub/dub.cpp
index cb67a1b..b5ff637 100644
--- a/noatun-plugins/dub/dub/dub.cpp
+++ b/noatun-plugins/dub/dub/dub.cpp
@@ -62,17 +62,17 @@ Dub::Dub(DubPlaylist* plist)
, shuffle_recursive(this)
{
connect( view->dirOperator(),
- TQT_SIGNAL(fileSelected(const KFileItem*)),
+ TQ_SIGNAL(fileSelected(const KFileItem*)),
this,
- TQT_SLOT(fileSelected(const KFileItem*)) );
+ TQ_SLOT(fileSelected(const KFileItem*)) );
connect( dubconfig.prefs->mediaDirectory,
- TQT_SIGNAL( urlSelected (const TQString &) ),
+ TQ_SIGNAL( urlSelected (const TQString &) ),
this,
- TQT_SLOT( mediaHomeSelected (const TQString &) ) );
+ TQ_SLOT( mediaHomeSelected (const TQString &) ) );
connect( this,
- TQT_SIGNAL(setMediaHome(KURL)),
+ TQ_SIGNAL(setMediaHome(KURL)),
view,
- TQT_SLOT(setDir(KURL)) );
+ TQ_SLOT(setDir(KURL)) );
configure_sequencing();
emit setMediaHome(dubconfig.mediaDirectory);
}
diff --git a/noatun-plugins/dub/dub/dubapp.cpp b/noatun-plugins/dub/dub/dubapp.cpp
index c964979..3520fa9 100644
--- a/noatun-plugins/dub/dub/dubapp.cpp
+++ b/noatun-plugins/dub/dub/dubapp.cpp
@@ -54,7 +54,7 @@ DubApp::~DubApp()
void DubApp::initActions()
{
- fileClose = KStdAction::close(this, TQT_SLOT(close()), actionCollection());
+ fileClose = KStdAction::close(this, TQ_SLOT(close()), actionCollection());
setStandardToolBarMenuEnabled(true);
createStandardStatusBarAction();
diff --git a/noatun-plugins/dub/dub/fileselectorwidget.cpp b/noatun-plugins/dub/dub/fileselectorwidget.cpp
index 4a62ecb..136a994 100644
--- a/noatun-plugins/dub/dub/fileselectorwidget.cpp
+++ b/noatun-plugins/dub/dub/fileselectorwidget.cpp
@@ -86,29 +86,29 @@ FileSelectorWidget::FileSelectorWidget(TQWidget *parent)
// slots and signals
- connect( filter, TQT_SIGNAL( activated(const TQString&) ), TQT_SLOT( slotFilterChange(const TQString&) ) );
- connect( filter, TQT_SIGNAL( returnPressed(const TQString&) ),filter, TQT_SLOT( addToHistory(const TQString&) ) );
+ connect( filter, TQ_SIGNAL( activated(const TQString&) ), TQ_SLOT( slotFilterChange(const TQString&) ) );
+ connect( filter, TQ_SIGNAL( returnPressed(const TQString&) ),filter, TQ_SLOT( addToHistory(const TQString&) ) );
- connect( home, TQT_SIGNAL( clicked() ), dir, TQT_SLOT( home() ) );
- connect( up, TQT_SIGNAL( clicked() ), dir, TQT_SLOT( cdUp() ) );
- connect( back, TQT_SIGNAL( clicked() ), dir, TQT_SLOT( back() ) );
- connect( forward, TQT_SIGNAL( clicked() ), dir, TQT_SLOT( forward() ) );
+ connect( home, TQ_SIGNAL( clicked() ), dir, TQ_SLOT( home() ) );
+ connect( up, TQ_SIGNAL( clicked() ), dir, TQ_SLOT( cdUp() ) );
+ connect( back, TQ_SIGNAL( clicked() ), dir, TQ_SLOT( back() ) );
+ connect( forward, TQ_SIGNAL( clicked() ), dir, TQ_SLOT( forward() ) );
- connect( cmbPath, TQT_SIGNAL( urlActivated( const KURL& )),
- this, TQT_SLOT( cmbPathActivated( const KURL& ) ));
- connect( cmbPath, TQT_SIGNAL( returnPressed( const TQString& )),
- this, TQT_SLOT( cmbPathReturnPressed( const TQString& ) ));
- connect(dir, TQT_SIGNAL(urlEntered(const KURL&)),
- this, TQT_SLOT(dirUrlEntered(const KURL&)) );
+ connect( cmbPath, TQ_SIGNAL( urlActivated( const KURL& )),
+ this, TQ_SLOT( cmbPathActivated( const KURL& ) ));
+ connect( cmbPath, TQ_SIGNAL( returnPressed( const TQString& )),
+ this, TQ_SLOT( cmbPathReturnPressed( const TQString& ) ));
+ connect(dir, TQ_SIGNAL(urlEntered(const KURL&)),
+ this, TQ_SLOT(dirUrlEntered(const KURL&)) );
- connect(dir, TQT_SIGNAL(finishedLoading()),
- this, TQT_SLOT(dirFinishedLoading()) );
+ connect(dir, TQ_SIGNAL(finishedLoading()),
+ this, TQ_SLOT(dirFinishedLoading()) );
- connect(dir, TQT_SIGNAL(fileHighlighted(const KFileItem *)),
- TQT_SLOT(fileHighlighted(const KFileItem *)));
- connect(dir, TQT_SIGNAL(fileSelected(const KFileItem *)),
- TQT_SLOT(fileSelected(const KFileItem *)));
+ connect(dir, TQ_SIGNAL(fileHighlighted(const KFileItem *)),
+ TQ_SLOT(fileHighlighted(const KFileItem *)));
+ connect(dir, TQ_SIGNAL(fileSelected(const KFileItem *)),
+ TQ_SLOT(fileSelected(const KFileItem *)));
kdDebug(90010) << "connected stuff!" << endl;
}