diff options
author | Timothy Pearson <[email protected]> | 2011-11-06 15:56:40 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-06 15:56:40 -0600 |
commit | e16866e072f94410321d70daedbcb855ea878cac (patch) | |
tree | ee3f52eabde7da1a0e6ca845fb9c2813cf1558cf /tdeprint/tests/drawdemo.h | |
parent | a58c20c1a7593631a1b50213c805507ebc16adaf (diff) | |
download | tdelibs-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.h | 30 |
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 |