summaryrefslogtreecommitdiffstats
path: root/kscd/cddbdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kscd/cddbdlg.cpp')
-rw-r--r--kscd/cddbdlg.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kscd/cddbdlg.cpp b/kscd/cddbdlg.cpp
index cc0e9669..e574ba92 100644
--- a/kscd/cddbdlg.cpp
+++ b/kscd/cddbdlg.cpp
@@ -2,12 +2,12 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include <qkeycode.h>
-#include <qdatetime.h>
-#include <qtextstream.h>
-#include <qfile.h>
-#include <qdir.h>
-#include <qfileinfo.h>
+#include <tqkeycode.h>
+#include <tqdatetime.h>
+#include <tqtextstream.h>
+#include <tqfile.h>
+#include <tqdir.h>
+#include <tqfileinfo.h>
#include <klistview.h>
#include <klineedit.h>
#include <knuminput.h>
@@ -33,7 +33,7 @@ struct mytoc
unsigned absframe;
};
-CDDBDlg::CDDBDlg( QWidget* parent, const char* name )
+CDDBDlg::CDDBDlg( TQWidget* parent, const char* name )
: KDialogBase( parent, name, false, i18n( "CD Editor" ),
Ok|Cancel|User1|User2, Ok, true )
{
@@ -46,15 +46,15 @@ CDDBDlg::CDDBDlg( QWidget* parent, const char* name )
setButtonText( User1, i18n( "Upload" ) );
setButtonText( User2, i18n( "Fetch Info" ) );
- connect( this, SIGNAL( okClicked() ), SLOT( save() ) );
- connect( this, SIGNAL( user1Clicked() ), SLOT( upload() ) );
- connect( this, SIGNAL( user2Clicked() ), SIGNAL( cddbQuery() ) );
- connect( m_dlgBase, SIGNAL( play( int ) ), SIGNAL( play( int ) ) );
+ connect( this, TQT_SIGNAL( okClicked() ), TQT_SLOT( save() ) );
+ connect( this, TQT_SIGNAL( user1Clicked() ), TQT_SLOT( upload() ) );
+ connect( this, TQT_SIGNAL( user2Clicked() ), TQT_SIGNAL( cddbQuery() ) );
+ connect( m_dlgBase, TQT_SIGNAL( play( int ) ), TQT_SIGNAL( play( int ) ) );
cddbClient = new KCDDB::Client();
cddbClient->setBlockingMode(false);
- connect (cddbClient, SIGNAL(finished(CDDB::Result)),
- SLOT(submitFinished(CDDB::Result)));
+ connect (cddbClient, TQT_SIGNAL(finished(CDDB::Result)),
+ TQT_SLOT(submitFinished(CDDB::Result)));
}
@@ -66,7 +66,7 @@ CDDBDlg::~CDDBDlg()
void CDDBDlg::setData(
const KCDDB::CDInfo &_cddbInfo,
const KCDDB::TrackOffsetList &_trackStartFrames,
- const QStringList &_playlist)
+ const TQStringList &_playlist)
{
// Let's make a deep copy of the cd struct info so that the data won't
// change the cd changes while we are playing with the dialog.
@@ -89,7 +89,7 @@ void CDDBDlg::submitFinished(KCDDB::CDDB::Result r)
}
else
{
- QString str = i18n("Error sending record.\n\n%1")
+ TQString str = i18n("Error sending record.\n\n%1")
.arg(KCDDB::CDDB::resultToString(r));
KMessageBox::error(this, str, i18n("Record Submission"));
}
@@ -166,15 +166,15 @@ void CDDBDlg::updateFromDialog()
KCDDB::CDInfo copy = m_dlgBase->info();
// Playorder...
- QStringList strlist = QStringList::split( ',', m_dlgBase->m_playOrder->text() );
+ TQStringList strlist = TQStringList::split( ',', m_dlgBase->m_playOrder->text() );
bool ret = true;
- QString teststr;
+ TQString teststr;
bool ok;
unsigned num;
- for ( QStringList::Iterator it = strlist.begin();
+ for ( TQStringList::Iterator it = strlist.begin();
it != strlist.end();
++it )
{