summaryrefslogtreecommitdiffstats
path: root/kaudiocreator/tracksimp.h
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 /kaudiocreator/tracksimp.h
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 'kaudiocreator/tracksimp.h')
-rw-r--r--kaudiocreator/tracksimp.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/kaudiocreator/tracksimp.h b/kaudiocreator/tracksimp.h
index 48e34f4f..89ea2e36 100644
--- a/kaudiocreator/tracksimp.h
+++ b/kaudiocreator/tracksimp.h
@@ -44,8 +44,8 @@ class KCompactDisc;
class TracksItem : public KListViewItem
{
public:
- TracksItem( KListView *parent, KListViewItem *after, QString t, QString a, int tr, QString l, QString c )
- : KListViewItem( parent, after, QString::null/*rip*/, QString::number(tr), l, t )
+ TracksItem( KListView *parent, KListViewItem *after, TQString t, TQString a, int tr, TQString l, TQString c )
+ : KListViewItem( parent, after, TQString::null/*rip*/, TQString::number(tr), l, t )
{
m_title = t;
m_artist = a;
@@ -55,14 +55,14 @@ public:
m_checked = false;
}
- QString title() const { return m_title; }
- QString artist() const { return m_artist; }
+ TQString title() const { return m_title; }
+ TQString artist() const { return m_artist; }
int track() const { return m_track; }
- QString length() const { return m_length; }
+ TQString length() const { return m_length; }
bool checked() const { return m_checked; }
- QString comment() const { return m_comment; }
+ TQString comment() const { return m_comment; }
#include <kdebug.h>
- void setTitle( const QString &t ) { m_title = t; kdDebug() << "title: " << m_title << endl; }
+ void setTitle( const TQString &t ) { m_title = t; kdDebug() << "title: " << m_title << endl; }
void setChecked( const bool &b ) {
m_checked = b;
b ? setPixmap( HEADER_RIP, SmallIcon( "apply", height()-2 ) ) :
@@ -70,11 +70,11 @@ public:
}
private:
- QString m_title;
- QString m_artist;
+ TQString m_title;
+ TQString m_artist;
int m_track;
- QString m_length;
- QString m_comment;
+ TQString m_length;
+ TQString m_comment;
bool m_checked; // marked for ripping
};
@@ -93,7 +93,7 @@ signals:
void hasTracks(bool);
public:
- TracksImp( QWidget* parent = 0, const char* name = 0);
+ TracksImp( TQWidget* parent = 0, const char* name = 0);
~TracksImp();
bool hasCD();
@@ -105,26 +105,26 @@ public slots:
void startSession( int encoder = -1 );
void editInformation();
void performCDDB();
- void ejectDevice(const QString &deviceToEject);
+ void ejectDevice(const TQString &deviceToEject);
void eject();
void selectAllTracks();
void deselectAllTracks();
private slots:
- void changeDevice(const QString &file);
- void keyPressEvent(QKeyEvent *event);
+ void changeDevice(const TQString &file);
+ void keyPressEvent(TQKeyEvent *event);
void lookupCDDBDone(CDDB::Result result);
void newDisc(unsigned discId);
- void selectTrack(QListViewItem *);
+ void selectTrack(TQListViewItem *);
private:
void lookupDevice();
void lookupCDDB();
void newAlbum();
void ripWholeAlbum();
- QPtrList<TracksItem> selectedTracks();
+ TQPtrList<TracksItem> selectedTracks();
- QString formatTime(unsigned ms);
+ TQString formatTime(unsigned ms);
KCDDB::Client *cddb;
KCompactDisc *cd;