summaryrefslogtreecommitdiffstats
path: root/kscd/kscd.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 /kscd/kscd.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 'kscd/kscd.h')
-rw-r--r--kscd/kscd.h68
1 files changed, 34 insertions, 34 deletions
diff --git a/kscd/kscd.h b/kscd/kscd.h
index d5735e20..0a6bca7d 100644
--- a/kscd/kscd.h
+++ b/kscd/kscd.h
@@ -35,18 +35,18 @@ class KCompactDisc;
#include <libkcddb/client.h>
-#include <qpushbutton.h>
-#include <qlabel.h>
-#include <qdialog.h>
-#include <qapplication.h>
-#include <qtimer.h>
-#include <qcombobox.h>
-#include <qscrollbar.h>
-#include <qslider.h>
-#include <qtabdialog.h>
-#include <qtooltip.h>
-#include <qpopupmenu.h>
-#include <qvaluelist.h>
+#include <tqpushbutton.h>
+#include <tqlabel.h>
+#include <tqdialog.h>
+#include <tqapplication.h>
+#include <tqtimer.h>
+#include <tqcombobox.h>
+#include <tqscrollbar.h>
+#include <tqslider.h>
+#include <tqtabdialog.h>
+#include <tqtooltip.h>
+#include <tqpopupmenu.h>
+#include <tqvaluelist.h>
#include "ledlamp.h"
#include "panel.h"
@@ -67,7 +67,7 @@ class KToggleAction;
using namespace KCDDB;
-typedef QValueList<int> RandomList;
+typedef TQValueList<int> RandomList;
class KSCD : public kscdPanelDlg, public KSessionManaged, virtual public DCOPObject {
@@ -96,31 +96,31 @@ k_dcop:
void volumeDown() { decVolume(); }
void volumeUp() { incVolume(); }
void setVolume(int v);
- void setDevice(const QString& dev);
+ void setDevice(const TQString& dev);
int getVolume() { return Prefs::volume(); }
int currentTrack();
int currentTrackLength();
int currentPosition();
int getStatus();
- QString currentTrackTitle();
- QString currentAlbum();
- QString currentArtist();
- QStringList trackList();
+ TQString currentTrackTitle();
+ TQString currentAlbum();
+ TQString currentArtist();
+ TQStringList trackList();
public:
- KSCD( QWidget *parent = 0, const char *name = 0 );
+ KSCD( TQWidget *parent = 0, const char *name = 0 );
~KSCD();
virtual bool saveState(QSessionManager& sm);
void setDocking(bool dock);
bool digitalPlayback();
void setDevicePaths();
- QStringList audioSystems() { return audio_systems_list; }
+ TQStringList audioSystems() { return audio_systems_list; }
KActionCollection* actionCollection() { return m_actions; }
signals:
- void trackChanged(const QString&);
+ void trackChanged(const TQString&);
public slots:
void setColors();
@@ -165,16 +165,16 @@ protected:
void dragTime(int sec);
- void closeEvent(QCloseEvent *e);
- void keyPressEvent( QKeyEvent* e );
- bool event( QEvent *e );
- // void focusOutEvent(QFocusEvent *e);
+ void closeEvent(TQCloseEvent *e);
+ void keyPressEvent( TQKeyEvent* e );
+ bool event( TQEvent *e );
+ // void focusOutEvent(TQFocusEvent *e);
void playtime();
void playtime(int seconds);
void calculateDisplayedTime();
void calculateDisplayedTime(int sec);
void setSongListTo(int whichTrack);
- void populateSongList(QString infoStatus);
+ void populateSongList(TQString infoStatus);
void updatePlayPB(bool playing);
void updateConfigDialog(configWidget* widget);
@@ -182,16 +182,16 @@ protected:
private:
KConfigDialog *configDialog;
CDDBDlg *cddialog;
- QPopupMenu *mainPopup;
- QPopupMenu *infoPopup;
+ TQPopupMenu *mainPopup;
+ TQPopupMenu *infoPopup;
BW_LED_Number *trackTimeLED[6];
KCompactDisc *m_cd;
- QTimer titlelabeltimer;
- QTimer queryledtimer;
- QTimer cycletimer;
- QTimer jumpTrackTimer;
+ TQTimer titlelabeltimer;
+ TQTimer queryledtimer;
+ TQTimer cycletimer;
+ TQTimer jumpTrackTimer;
// random playlists
KRandomSequence randSequence;
@@ -204,7 +204,7 @@ private:
LedLamp *loopled;
bool randomplay_pending;
bool updateTime;
- QStringList audio_systems_list;
+ TQStringList audio_systems_list;
/**
* select a random track from the current disc.
@@ -220,7 +220,7 @@ private:
* Info from CDDB, and exploded versions thereof.
*/
KCDDB::CDInfo cddbInfo;
- QStringList playlist;
+ TQStringList playlist;
KCDDB::Client* cddb;
KActionCollection* m_actions;
KGlobalAccel* m_globalAccel;