diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-26 21:04:57 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-26 21:04:57 +0000 |
commit | bf7f88413be3831a9372d323d02fc0335b9f9188 (patch) | |
tree | 516fdef9206245b40a14f99b4e3d9ef9289196e0 /src/gvcore/printdialog.h | |
parent | e238aa77b1fb3c2f55aef2ef2c91ce52166d2cc8 (diff) | |
download | gwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.tar.gz gwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.zip |
TQt4 port Gwenview
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1233720 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; |