summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/TransportDialog.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/dialogs/TransportDialog.h
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz
rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/dialogs/TransportDialog.h')
-rw-r--r--src/gui/dialogs/TransportDialog.h72
1 files changed, 36 insertions, 36 deletions
diff --git a/src/gui/dialogs/TransportDialog.h b/src/gui/dialogs/TransportDialog.h
index e5c4948..48de68c 100644
--- a/src/gui/dialogs/TransportDialog.h
+++ b/src/gui/dialogs/TransportDialog.h
@@ -27,17 +27,17 @@
#include <map>
#include <kdockwidget.h>
-#include <qcolor.h>
-#include <qpixmap.h>
+#include <tqcolor.h>
+#include <tqpixmap.h>
#include "base/Composition.h" // for tempoT
#include "RosegardenTransport.h" // generated by uic
class RosegardenTransport;
-class QWidget;
-class QTimer;
-class QPushButton;
-class QCloseEvent;
-class QAccel;
+class TQWidget;
+class TQTimer;
+class TQPushButton;
+class TQCloseEvent;
+class TQAccel;
namespace Rosegarden
@@ -52,7 +52,7 @@ class TransportDialog : public QWidget
{
Q_OBJECT
public:
- TransportDialog(QWidget *parent=0,
+ TransportDialog(TQWidget *parent=0,
const char *name=0,
WFlags flags = /*Qt::WStyle_StaysOnTop |*/
Qt::WStyle_NormalBorder);
@@ -86,27 +86,27 @@ public:
// Return the accelerator object
//
- QAccel* getAccelerators() { return m_accelerators; }
+ TQAccel* getAccelerators() { return m_accelerators; }
// RosegardenTransport member accessors
- QPushButton* MetronomeButton() { return m_transport->MetronomeButton; }
- QPushButton* SoloButton() { return m_transport->SoloButton; }
- QPushButton* LoopButton() { return m_transport->LoopButton; }
- QPushButton* PlayButton() { return m_transport->PlayButton; }
- QPushButton* StopButton() { return m_transport->StopButton; }
- QPushButton* FfwdButton() { return m_transport->FfwdButton; }
- QPushButton* RewindButton() { return m_transport->RewindButton; }
- QPushButton* RecordButton() { return m_transport->RecordButton; }
- QPushButton* RewindEndButton() { return m_transport->RewindEndButton; }
- QPushButton* FfwdEndButton() { return m_transport->FfwdEndButton; }
- QPushButton* TimeDisplayButton() { return m_transport->TimeDisplayButton; }
- QPushButton* ToEndButton() { return m_transport->ToEndButton; }
+ TQPushButton* MetronomeButton() { return m_transport->MetronomeButton; }
+ TQPushButton* SoloButton() { return m_transport->SoloButton; }
+ TQPushButton* LoopButton() { return m_transport->LoopButton; }
+ TQPushButton* PlayButton() { return m_transport->PlayButton; }
+ TQPushButton* StopButton() { return m_transport->StopButton; }
+ TQPushButton* FfwdButton() { return m_transport->FfwdButton; }
+ TQPushButton* RewindButton() { return m_transport->RewindButton; }
+ TQPushButton* RecordButton() { return m_transport->RecordButton; }
+ TQPushButton* RewindEndButton() { return m_transport->RewindEndButton; }
+ TQPushButton* FfwdEndButton() { return m_transport->FfwdEndButton; }
+ TQPushButton* TimeDisplayButton() { return m_transport->TimeDisplayButton; }
+ TQPushButton* ToEndButton() { return m_transport->ToEndButton; }
virtual void show();
virtual void hide();
protected:
- virtual void closeEvent(QCloseEvent * e);
+ virtual void closeEvent(TQCloseEvent * e);
void computeSampleRate();
void cycleThroughModes();
void displayTime();
@@ -133,7 +133,7 @@ public slots:
void slotEditTimeSignature();
void slotEditTime();
- void slotSetBackground(QColor);
+ void slotSetBackground(TQColor);
void slotResetBackground();
void slotSetStartLoopingPointAtMarkerPos();
@@ -149,24 +149,24 @@ signals:
void setLoopStartTime();
void setLoopStopTime();
- void editTempo(QWidget *);
- void editTimeSignature(QWidget *);
- void editTransportTime(QWidget *);
+ void editTempo(TQWidget *);
+ void editTimeSignature(TQWidget *);
+ void editTransportTime(TQWidget *);
void scrollTempo(int);
void panic();
private:
void loadPixmaps();
void resetFonts();
- void resetFont(QWidget *);
+ void resetFont(TQWidget *);
void initModeMap();
//--------------- Data members ---------------------------------
RosegardenTransport* m_transport;
- std::map<int, QPixmap> m_lcdList;
- QPixmap m_lcdNegative;
+ std::map<int, TQPixmap> m_lcdList;
+ TQPixmap m_lcdNegative;
int m_lastTenHours;
int m_lastUnitHours;
@@ -201,21 +201,21 @@ private:
int m_framesPerSecond;
int m_bitsPerFrame;
- QTimer *m_midiInTimer;
- QTimer *m_midiOutTimer;
- QTimer *m_clearMetronomeTimer;
+ TQTimer *m_midiInTimer;
+ TQTimer *m_midiOutTimer;
+ TQTimer *m_clearMetronomeTimer;
- QPixmap m_panelOpen;
- QPixmap m_panelClosed;
+ TQPixmap m_panelOpen;
+ TQPixmap m_panelClosed;
void updateTimeDisplay();
- QAccel *m_accelerators;
+ TQAccel *m_accelerators;
bool m_isExpanded;
bool m_haveOriginalBackground;
bool m_isBackgroundSet;
- QColor m_originalBackground;
+ TQColor m_originalBackground;
int m_sampleRate;