source: trunk/examples/richtext/richtext.h@ 20

Last change on this file since 20 was 2, checked in by dmik, 20 years ago

Imported xplatform parts of the official release 3.3.1 from Trolltech

  • Property svn:keywords set to Id
File size: 773 bytes
Line 
1/****************************************************************************
2** $Id: richtext.h 2 2005-11-16 15:49:26Z dmik $
3**
4** Copyright (C) 1992-2000 Trolltech AS. All rights reserved.
5**
6** This file is part of an example program for Qt. This example
7** program may be used, distributed and modified without limitation.
8**
9*****************************************************************************/
10
11#ifndef RICHTEXT_H
12#define RICHTEXT_H
13
14#include <qvbox.h>
15
16class QTextView;
17class QPushButton;
18
19class MyRichText : public QVBox
20{
21 Q_OBJECT
22
23public:
24 MyRichText( QWidget *parent = 0, const char *name = 0 );
25
26protected:
27 QTextView *view;
28 QPushButton *bClose, *bNext, *bPrev;
29 int num;
30
31protected slots:
32 void prev();
33 void next();
34
35};
36
37#endif
Note: See TracBrowser for help on using the repository browser.