From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kuickshow/src/printing.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kuickshow/src/printing.h') diff --git a/kuickshow/src/printing.h b/kuickshow/src/printing.h index eb679f7e..43365bf4 100644 --- a/kuickshow/src/printing.h +++ b/kuickshow/src/printing.h @@ -19,13 +19,13 @@ #ifndef PRINTING_H #define PRINTING_H -#include -#include +#include +#include #include -class QCheckBox; -class QRadioButton; +class TQCheckBox; +class TQRadioButton; class KComboBox; class KPrinter; class KIntNumInput; @@ -36,13 +36,13 @@ class ImageWindow; class Printing { public: - static bool printImage( ImageWindow& imageWin, QWidget *parent = 0L); - static bool printImageWithQt( const QString& filename, KPrinter& printer, - const QString& originalFileName ); + static bool printImage( ImageWindow& imageWin, TQWidget *parent = 0L); + static bool printImageWithQt( const TQString& filename, KPrinter& printer, + const TQString& originalFileName ); private: static void addConfigPages(); - static QString minimizeString( QString text, const QFontMetrics& metrics, + static TQString minimizeString( TQString text, const TQFontMetrics& metrics, int maxWidth ); }; @@ -52,11 +52,11 @@ class KuickPrintDialogPage : public KPrintDialogPage Q_OBJECT public: - KuickPrintDialogPage( QWidget *parent = 0L, const char *name = 0 ); + KuickPrintDialogPage( TQWidget *parent = 0L, const char *name = 0 ); ~KuickPrintDialogPage(); - virtual void getOptions(QMap& opts, bool incldef = false); - virtual void setOptions(const QMap& opts); + virtual void getOptions(TQMap& opts, bool incldef = false); + virtual void setOptions(const TQMap& opts); private slots: void toggleScaling( bool enable ); @@ -72,13 +72,13 @@ private: int fromUnitToPixels( float val ) const; float pixelsToUnit( int pixels ) const; - QCheckBox *m_shrinkToFit; - QRadioButton *m_scale; + TQCheckBox *m_shrinkToFit; + TQRadioButton *m_scale; KIntNumInput *m_width; KIntNumInput *m_height; KComboBox *m_units; - QCheckBox *m_addFileName; - QCheckBox *m_blackwhite; + TQCheckBox *m_addFileName; + TQCheckBox *m_blackwhite; }; -- cgit v1.2.1