From e654398e46e37abf457b2b1122ab898d2c51c49f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:43:15 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmid/kmidclient.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'kmid/kmidclient.h') diff --git a/kmid/kmidclient.h b/kmid/kmidclient.h index 70ddeb06..9444b34d 100644 --- a/kmid/kmidclient.h +++ b/kmid/kmidclient.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include #include @@ -52,7 +52,7 @@ class RhythmView; class ChannelView; class QString; -class kmidClient : public QWidget, virtual public KMidIface +class kmidClient : public TQWidget, virtual public KMidIface { Q_OBJECT private: @@ -65,8 +65,8 @@ private: struct kMidData m_kMid; - QTimer *timer4timebar; - QTimer *timer4events; + TQTimer *timer4timebar; + TQTimer *timer4events; ulong beginmillisec; ulong pausedatmillisec; @@ -87,7 +87,7 @@ private: SLManager *slman; int activecollection; - QString collectionsfile; + TQString collectionsfile; SongList *currentsl; int initializing_songs; int loopsong; @@ -105,7 +105,7 @@ private: int openFile(const char *filename); void allNotesOff(void); public: - kmidClient(QWidget *parent, KActionCollection *ac, const char *name=0); + kmidClient(TQWidget *parent, KActionCollection *ac, const char *name=0); ~kmidClient(); char *midiFileName(void) {return midifile_opened;}; @@ -114,14 +114,14 @@ public: int isPlaying(void) {return m_kMid.pctl->playing;}; int isPaused(void) {return (m_kMid.pctl->playing)&&(m_kMid.pctl->paused);}; - int openURL(const QString s); + int openURL(const TQString s); void repaintText(int typeoftextevents); static void kmidOutput(void); int ChooseTypeOfTextEvents(void); - QFont *getFont(void); + TQFont *getFont(void); void fontChanged(void); // The new font is already in KConfig SLManager *getSLManager(void) {return slman;}; @@ -151,7 +151,7 @@ public: void moveEventPointersTo(ulong ms); protected: -// void resizeEvent(QResizeEvent *qre); +// void resizeEvent(TQResizeEvent *qre); public slots: @@ -196,9 +196,9 @@ public: ChannelView *getChannelView(void) { return channelView; }; KDisplayText *getKDisplayText(void) { return kdispt; }; - QSizePolicy sizePolicy(); + TQSizePolicy sizePolicy(); - QComboBox *getComboSongs() { return comboSongs; }; + TQComboBox *getComboSongs() { return comboSongs; }; void play(); @@ -216,17 +216,17 @@ public: void setCurrentSong(int i); void setPlayListMode(int i); - QSize sizeHint() const; + TQSize sizeHint() const; private: - QSlider *timebar; + TQSlider *timebar; QSliderTime *timetags; - QSlider *volumebar; + TQSlider *volumebar; KLCDNumber *tempoLCD; KDisplayText *kdispt; - QLabel *qlabelTempo; - QComboBox *comboSongs; - QComboBox *comboEncodings; + TQLabel *qlabelTempo; + TQComboBox *comboSongs; + TQComboBox *comboEncodings; RhythmView *rhythmview; -- cgit v1.2.1