diff options
Diffstat (limited to 'src/gui/general/EditView.h')
-rw-r--r-- | src/gui/general/EditView.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/src/gui/general/EditView.h b/src/gui/general/EditView.h index da18982..e927281 100644 --- a/src/gui/general/EditView.h +++ b/src/gui/general/EditView.h @@ -29,19 +29,19 @@ #include "base/PropertyName.h" #include "EditViewBase.h" #include "gui/dialogs/TempoDialog.h" -#include <qsize.h> -#include <qstring.h> -#include <qwmatrix.h> +#include <tqsize.h> +#include <tqstring.h> +#include <tqwmatrix.h> #include <vector> #include "base/Event.h" -class QWidget; -class QVBoxLayout; -class QVBox; -class QPaintEvent; -class QMouseEvent; -class QCanvasItem; +class TQWidget; +class TQVBoxLayout; +class TQVBox; +class TQPaintEvent; +class TQMouseEvent; +class TQCanvasItem; class KTabWidget; class Accidental; @@ -81,7 +81,7 @@ public: EditView(RosegardenGUIDoc *doc, std::vector<Segment *> segments, unsigned int cols, - QWidget *parent, + TQWidget *parent, const char *name = 0); virtual ~EditView(); @@ -94,7 +94,7 @@ public: * * @arg exact if true, then set to newSize exactly */ - virtual void readjustViewSize(QSize newSize, bool exact = false); + virtual void readjustViewSize(TQSize newSize, bool exact = false); /** * Return the active item @@ -142,7 +142,7 @@ public slots: * @see ActiveItem * @see QCanvasItem#setActive */ - virtual void slotActiveItemPressed(QMouseEvent*, QCanvasItem*); + virtual void slotActiveItemPressed(TQMouseEvent*, TQCanvasItem*); virtual void slotSetInsertCursorPosition(timeT position) = 0; @@ -205,22 +205,22 @@ public slots: // add control ruler void slotAddControlRuler(int); - void slotRemoveControlRuler(QWidget*); + void slotRemoveControlRuler(TQWidget*); protected: virtual RulerScale* getHLayout() = 0; - QVBox* getBottomWidget() { return m_bottomBox; } + TQVBox* getBottomWidget() { return m_bottomBox; } virtual void updateBottomWidgetGeometry(); - virtual void paintEvent(QPaintEvent* e); + virtual void paintEvent(TQPaintEvent* e); /** * Locate the given widgets in the top bar-buttons position and * connect up its scrolling signals. */ - void setTopStandardRuler(StandardRuler*, QWidget *leftBox = NULL); + void setTopStandardRuler(StandardRuler*, TQWidget *leftBox = NULL); /** * Locate the given widget in the bottom bar-buttons position and @@ -239,12 +239,12 @@ protected: * connect up its scrolling signals. * The widget has to have a slotScrollHoriz(int) slot */ - void addRuler(QWidget*); + void addRuler(TQWidget*); /** * Add a ruler control box */ - void addPropertyBox(QWidget*); + void addPropertyBox(TQWidget*); /** * Make a control ruler for the given property, @@ -269,7 +269,7 @@ protected: /** * Set zoom factor of control rulers */ - void setControlRulersZoom(QWMatrix); + void setControlRulersZoom(TQWMatrix); /** * Set current segment for control rulers @@ -331,7 +331,7 @@ protected: * Exception to mean that the action is not an insert one. Also * returns any specified accidental through the reference arg. */ - int getPitchFromNoteInsertAction(QString actionName, + int getPitchFromNoteInsertAction(TQString actionName, Accidental &acc, const Clef &clef, const ::Rosegarden::Key &key); @@ -340,13 +340,13 @@ protected: * Abstract method to get the view size * Typically implemented as canvas()->size(). */ - virtual QSize getViewSize() = 0; + virtual TQSize getViewSize() = 0; /** * Abstract method to set the view size * Typically implemented as canvas()->resize(). */ - virtual void setViewSize(QSize) = 0; + virtual void setViewSize(TQSize) = 0; /** * Abstract method to get current insert-pointer time @@ -382,15 +382,15 @@ protected: RosegardenCanvasView *m_canvasView; - QVBoxLayout *m_rulerBox; - QLabel *m_rulerBoxFiller; - QVBoxLayout *m_controlBox; - QVBox *m_bottomBox; + TQVBoxLayout *m_rulerBox; + TQLabel *m_rulerBoxFiller; + TQVBoxLayout *m_controlBox; + TQVBox *m_bottomBox; StandardRuler *m_topStandardRuler; StandardRuler *m_bottomStandardRuler; ControlRuler *m_controlRuler; KTabWidget *m_controlRulers; - QWMatrix m_currentRulerZoomMatrix; + TQWMatrix m_currentRulerZoomMatrix; static const unsigned int RULERS_ROW; static const unsigned int CONTROLS_ROW; |