summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/TrackEditor.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/editors/segment/TrackEditor.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/editors/segment/TrackEditor.h')
-rw-r--r--src/gui/editors/segment/TrackEditor.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/gui/editors/segment/TrackEditor.h b/src/gui/editors/segment/TrackEditor.h
index 6670a15..b2c2bd2 100644
--- a/src/gui/editors/segment/TrackEditor.h
+++ b/src/gui/editors/segment/TrackEditor.h
@@ -29,15 +29,15 @@
#include "base/MidiProgram.h"
#include <map>
#include "TrackEditorIface.h"
-#include <qstring.h>
-#include <qwidget.h>
+#include <tqstring.h>
+#include <tqwidget.h>
#include "base/Event.h"
#include "gui/editors/segment/TrackButtons.h"
-class QPaintEvent;
-class QDropEvent;
-class QDragEnterEvent;
+class TQPaintEvent;
+class TQDropEvent;
+class TQDragEnterEvent;
class KCommand;
@@ -65,7 +65,7 @@ class StandardRuler;
*
* @see CompositionView
*/
-class TrackEditor : public QWidget, virtual public TrackEditorIface
+class TrackEditor : public TQWidget, virtual public TrackEditorIface
{
Q_OBJECT
public:
@@ -73,11 +73,11 @@ public:
* Create a new TrackEditor representing the document \a doc
*/
TrackEditor(RosegardenGUIDoc* doc,
- QWidget* rosegardenguiview,
+ TQWidget* rosegardenguiview,
RulerScale *rulerScale,
bool showTrackLabels,
double initialUnitsPerPixel = 0,
- QWidget* parent = 0, const char* name = 0,
+ TQWidget* parent = 0, const char* name = 0,
WFlags f=0);
~TrackEditor();
@@ -181,35 +181,35 @@ signals:
/**
* sent back to RosegardenGUI
*/
- void stateChange(QString, bool);
+ void stateChange(TQString, bool);
/**
* A URI to a Rosegarden document was dropped on the canvas
*
* @see RosegardenGUI#slotOpenURL()
*/
- void droppedDocument(QString uri);
+ void droppedDocument(TQString uri);
/**
* An audio file was dropped from the audio manager dialog
*/
- void droppedAudio(QString audioDesc);
+ void droppedAudio(TQString audioDesc);
/**
* And audio file was dropped from konqi say and needs to be
* inserted into AudioManagerDialog before adding to the
* composition.
*/
- void droppedNewAudio(QString audioDesc);
+ void droppedNewAudio(TQString audioDesc);
protected:
- virtual void dragEnterEvent(QDragEnterEvent *event);
- virtual void dropEvent(QDropEvent*);
+ virtual void dragEnterEvent(TQDragEnterEvent *event);
+ virtual void dropEvent(TQDropEvent*);
- virtual void paintEvent(QPaintEvent* e);
+ virtual void paintEvent(TQPaintEvent* e);
- void init(QWidget *);
+ void init(TQWidget *);
bool isCompositionModified();
void setCompositionModified(bool);