summaryrefslogtreecommitdiffstats
path: root/kscd/cddbdlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /kscd/cddbdlg.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 )
{