summaryrefslogtreecommitdiffstats
path: root/tdeprint/tests/drawdemo.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:56:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:56:40 -0600
commite16866e072f94410321d70daedbcb855ea878cac (patch)
treeee3f52eabde7da1a0e6ca845fb9c2813cf1558cf /tdeprint/tests/drawdemo.h
parenta58c20c1a7593631a1b50213c805507ebc16adaf (diff)
downloadtdelibs-e16866e072f94410321d70daedbcb855ea878cac.tar.gz
tdelibs-e16866e072f94410321d70daedbcb855ea878cac.zip
Actually move the kde files that were renamed in the last commit
Diffstat (limited to 'tdeprint/tests/drawdemo.h')
-rw-r--r--tdeprint/tests/drawdemo.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/tdeprint/tests/drawdemo.h b/tdeprint/tests/drawdemo.h
new file mode 100644
index 000000000..963da64db
--- /dev/null
+++ b/tdeprint/tests/drawdemo.h
@@ -0,0 +1,30 @@
+#ifndef DRAWDEMO_H
+#define DRAWDEMO_H
+
+//
+// DrawView has installable draw routines, just add a function pointer
+// and a text in the table above.
+//
+
+class DrawView : public TQWidget
+{
+ Q_OBJECT
+public:
+ DrawView();
+ ~DrawView();
+public slots:
+ void updateIt( int );
+ void printIt();
+protected:
+ void drawIt( TQPainter * );
+ void paintEvent( TQPaintEvent * );
+ void resizeEvent( TQResizeEvent * );
+private:
+ KPrinter *printer;
+ TQButtonGroup *bgroup;
+ QPushButton *print;
+ int drawindex;
+ int maxindex;
+};
+
+#endif