summaryrefslogtreecommitdiffstats
path: root/kexi/main/printing/kexisimpleprintpreviewwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/main/printing/kexisimpleprintpreviewwindow.h')
-rw-r--r--kexi/main/printing/kexisimpleprintpreviewwindow.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/kexi/main/printing/kexisimpleprintpreviewwindow.h b/kexi/main/printing/kexisimpleprintpreviewwindow.h
index c91fa2f2..d3119339 100644
--- a/kexi/main/printing/kexisimpleprintpreviewwindow.h
+++ b/kexi/main/printing/kexisimpleprintpreviewwindow.h
@@ -20,8 +20,8 @@
#ifndef KEXISIMPLEPRINTPREVIEWWINDOW_H
#define KEXISIMPLEPRINTPREVIEWWINDOW_H
-#include <qpainter.h>
-#include <qscrollview.h>
+#include <tqpainter.h>
+#include <tqscrollview.h>
#include <ktoolbar.h>
#include <KoPageLayoutDia.h>
@@ -31,13 +31,14 @@ class KexiSimplePrintingSettings;
class KexiSimplePrintingEngine;
//! @short A window for displaying print preview for simple printing.
-class KexiSimplePrintPreviewWindow : public QWidget
+class KexiSimplePrintPreviewWindow : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
KexiSimplePrintPreviewWindow(KexiSimplePrintingEngine &engine,
- const QString& previewName, QWidget *parent, WFlags f = 0);
+ const TQString& previewName, TQWidget *tqparent, WFlags f = 0);
~KexiSimplePrintPreviewWindow();
int currentPage() const { return m_pageNumber; }
@@ -66,7 +67,7 @@ class KexiSimplePrintPreviewWindow : public QWidget
void initLater();
protected:
- virtual bool event( QEvent * e );
+ virtual bool event( TQEvent * e );
KexiSimplePrintingEngine &m_engine;
const KexiSimplePrintingSettings& m_settings;