diff options
Diffstat (limited to 'kpresenter/KPrUtils.h')
-rw-r--r-- | kpresenter/KPrUtils.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kpresenter/KPrUtils.h b/kpresenter/KPrUtils.h index 560fa75f..2ef52122 100644 --- a/kpresenter/KPrUtils.h +++ b/kpresenter/KPrUtils.h @@ -23,40 +23,40 @@ #include "global.h" #include "KoPointArray.h" -#include <qcursor.h> -class QPoint; -class QColor; -class QPainter; +#include <tqcursor.h> +class TQPoint; +class TQColor; +class TQPainter; class KoZoomHandler; class KoSize; class KoPoint; -class QDomElement; +class TQDomElement; class KPrObject; -void drawFigure( LineEnd figure, QPainter* painter, const KoPoint &coord, const QColor & color, +void drawFigure( LineEnd figure, TQPainter* painter, const KoPoint &coord, const TQColor & color, int _w, float angle, KoZoomHandler*_zoomHandler ); -void drawFigureWithOffset( LineEnd figure, QPainter* painter, const QPoint &coord, const QColor & color, +void drawFigureWithOffset( LineEnd figure, TQPainter* painter, const TQPoint &coord, const TQColor & color, int _w, float angle, KoZoomHandler*_zoomHandler ); -void drawFigureWithOffset( LineEnd figure, QPainter* painter, const KoPoint &coord, const QColor &color, +void drawFigureWithOffset( LineEnd figure, TQPainter* painter, const KoPoint &coord, const TQColor &color, int w, float angle, KoZoomHandler*_zoomHandler, bool begin); KoSize getBoundingSize( LineEnd figure, int _w, const KoZoomHandler*_zoomHandler ); KoSize getOffset( LineEnd figure, int _w, float angle ); -QString lineEndBeginName( LineEnd type ); -LineEnd lineEndBeginFromString( const QString & name ); -QString lineEndBeginSvg( LineEnd element ); -QString saveOasisTimer( int second ); -int loadOasisTimer( const QString & timer ); +TQString lineEndBeginName( LineEnd type ); +LineEnd lineEndBeginFromString( const TQString & name ); +TQString lineEndBeginSvg( LineEnd element ); +TQString saveOasisTimer( int second ); +int loadOasisTimer( const TQString & timer ); class KPrUtils { public: - static QCursor penCursor(); // pen tool cursors - static QCursor rotateCursor(); // rotate tool cursor + static TQCursor penCursor(); // pen tool cursors + static TQCursor rotateCursor(); // rotate tool cursor }; -int readOasisSettingsInt( const QDomElement & element ); -double readOasisSettingsDouble( const QDomElement & element ); -bool readOasisSettingsBool( const QDomElement & element ); -QString readOasisSettingsString( const QDomElement & element ); +int readOasisSettingsInt( const TQDomElement & element ); +double readOasisSettingsDouble( const TQDomElement & element ); +bool readOasisSettingsBool( const TQDomElement & element ); +TQString readOasisSettingsString( const TQDomElement & element ); #endif |