diff options
Diffstat (limited to 'lib/kofficeui/KoRuler.h')
-rw-r--r-- | lib/kofficeui/KoRuler.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kofficeui/KoRuler.h b/lib/kofficeui/KoRuler.h index 9bf6c8c6f..4c8031ecf 100644 --- a/lib/kofficeui/KoRuler.h +++ b/lib/kofficeui/KoRuler.h @@ -113,7 +113,7 @@ public: * Create a ruler * TODO document params */ - KoRuler( TQWidget *_parent, TQWidget *_canvas, Qt::Orientation _orientation, + KoRuler( TQWidget *_parent, TQWidget *_canvas, TQt::Orientation _orientation, const KoPageLayout& _layout, int _flags, KoUnit::Unit _unit, KoTabChooser *_tabChooser = 0L ); ~KoRuler(); @@ -279,7 +279,7 @@ protected: A_HELPLINES }; void drawContents( TQPainter *_painter ) - { orientation == Qt::Horizontal ? drawHorizontal( _painter ) : drawVertical( _painter ); } + { orientation == TQt::Horizontal ? drawHorizontal( _painter ) : drawVertical( _painter ); } void drawHorizontal( TQPainter *_painter ); void drawVertical( TQPainter *_painter ); @@ -312,7 +312,7 @@ private: KoRulerPrivate *d; - Qt::Orientation orientation; + TQt::Orientation orientation; int diffx, diffy; double i_left, i_first; TQPixmap buffer; |