diff options
Diffstat (limited to 'kugar/lib/mpagedisplay.h')
-rw-r--r-- | kugar/lib/mpagedisplay.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/kugar/lib/mpagedisplay.h b/kugar/lib/mpagedisplay.h index ffaa4921..db4f7f74 100644 --- a/kugar/lib/mpagedisplay.h +++ b/kugar/lib/mpagedisplay.h @@ -9,11 +9,11 @@ #ifndef MPAGEDISPLAY_H #define MPAGEDISPLAY_H -#include <qwidget.h> -#include <qpainter.h> -#include <qpixmap.h> -#include <qpicture.h> -#include <qsize.h> +#include <tqwidget.h> +#include <tqpainter.h> +#include <tqpixmap.h> +#include <tqpicture.h> +#include <tqsize.h> /**Kugar page display widget *@author Mutiny Bay Software @@ -22,31 +22,32 @@ namespace Kugar { -class MPageDisplay : public QWidget +class MPageDisplay : public TQWidget { Q_OBJECT + TQ_OBJECT public: /** Constructor */ - MPageDisplay( QWidget *parent = 0, const char *name = 0 ); + MPageDisplay( TQWidget *tqparent = 0, const char *name = 0 ); /** Destructor */ virtual ~MPageDisplay(); private: /** Page Widget's image buffer */ - QPixmap buffer; + TQPixmap buffer; public: /** Sets the page image */ - void setPage( QPicture* image ); + void setPage( TQPicture* image ); /** Sets the page display dimensions */ - void setPageDimensions( QSize size ); + void setPageDimensions( TQSize size ); - QSize sizeHint() const; - QSizePolicy sizePolicy() const; + TQSize tqsizeHint() const; + TQSizePolicy sizePolicy() const; protected: /** Page widget's's paint event */ - void paintEvent( QPaintEvent* event ); + void paintEvent( TQPaintEvent* event ); }; |