diff options
Diffstat (limited to 'examples/richtext/richtext.h')
-rw-r--r-- | examples/richtext/richtext.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/examples/richtext/richtext.h b/examples/richtext/richtext.h new file mode 100644 index 000000000..4c0baf75e --- /dev/null +++ b/examples/richtext/richtext.h @@ -0,0 +1,36 @@ +/**************************************************************************** +** +** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. +** +** This file is part of an example program for TQt. This example +** program may be used, distributed and modified without limitation. +** +*****************************************************************************/ + +#ifndef RICHTEXT_H +#define RICHTEXT_H + +#include <qvbox.h> + +class TQTextView; +class TQPushButton; + +class MyRichText : public TQVBox +{ + Q_OBJECT + +public: + MyRichText( TQWidget *parent = 0, const char *name = 0 ); + +protected: + TQTextView *view; + TQPushButton *bClose, *bNext, *bPrev; + int num; + +protected slots: + void prev(); + void next(); + +}; + +#endif |