summaryrefslogtreecommitdiffstats
path: root/kmid/kmidclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmid/kmidclient.h')
-rw-r--r--kmid/kmidclient.h34
1 files changed, 17 insertions, 17 deletions
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 <libkmid/track.h>
#include <libkmid/notearray.h>
#include <libkmid/libkmid.h>
-#include <qtimer.h>
+#include <tqtimer.h>
#include <unistd.h>
#include <sys/time.h>
#include <sys/types.h>
@@ -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;