diff options
Diffstat (limited to 'src/gvcore/printdialog.h')
-rw-r--r-- | src/gvcore/printdialog.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/gvcore/printdialog.h b/src/gvcore/printdialog.h index 63ff4d7..2dc9f24 100644 --- a/src/gvcore/printdialog.h +++ b/src/gvcore/printdialog.h @@ -21,9 +21,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #ifndef PRINTDIALOG_H #define PRINTDIALOG_H -//Qt -#include <qfontmetrics.h> -#include <qstring.h> +//TQt +#include <tqfontmetrics.h> +#include <tqstring.h> // KDE #include <kdockwidget.h> @@ -48,17 +48,18 @@ enum ScaleId { class LIBGWENVIEW_EXPORT PrintDialogPage : public KPrintDialogPage { Q_OBJECT + TQ_OBJECT public: - PrintDialogPage( Document* document, QWidget *parent = 0L, const char *name = 0 ); + PrintDialogPage( Document* document, TQWidget *tqparent = 0L, const char *name = 0 ); ~PrintDialogPage(); - virtual void getOptions(QMap<QString,QString>& opts, bool incldef = false); - virtual void setOptions(const QMap<QString,QString>& opts); + virtual void getOptions(TQMap<TQString,TQString>& opts, bool incldef = false); + virtual void setOptions(const TQMap<TQString,TQString>& opts); private slots: void toggleRatio(bool enable); - void slotUnitChanged(const QString& string); + void slotUnitChanged(const TQString& string); void slotHeightChanged(double value); void slotWidthChanged(double value); @@ -67,8 +68,8 @@ private: double scaleHeight() const; void setScaleWidth(double pixels); void setScaleHeight(double pixels); - int getPosition(const QString& align); - QString setPosition(int align); + int getPosition(const TQString& align); + TQString setPosition(int align); Document *mDocument; PrintDialogPageBase* mContent; |