summaryrefslogtreecommitdiffstats
path: root/kuickshow/src/printing.h
diff options
context:
space:
mode:
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;
};