summaryrefslogtreecommitdiffstats
path: root/kuickshow/src/printing.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kuickshow/src/printing.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kuickshow/src/printing.h')
-rw-r--r--kuickshow/src/printing.h30
1 files changed, 15 insertions, 15 deletions
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 <qfontmetrics.h>
-#include <qstring.h>
+#include <tqfontmetrics.h>
+#include <tqstring.h>
#include <kdeprint/kprintdialogpage.h>
-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<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 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;
};