diff options
author | Michele Calgaro <[email protected]> | 2023-11-05 11:54:26 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-16 23:40:13 +0900 |
commit | c8c5e11f05f023849896d09cf06917e9a2c016ca (patch) | |
tree | a62f00b0249b967528e115e2123b56d40633c17a /lib/kofficeui/KoRuler.h | |
parent | c9973bfbf1091ef91f30b5ab456015676123aa47 (diff) | |
download | koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.tar.gz koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
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 9bf6c8c6..4c8031ec 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; |