1 | /*************************************************************************** |
2 | phraselistitem.h - description |
3 | ------------------- |
4 | begin : Fre Sep 6 2002 |
5 | copyright : (C) 2002 by Gunnar Schmi Dt |
6 | email : kmouth@schmi-dt.de |
7 | ***************************************************************************/ |
8 | |
9 | /*************************************************************************** |
10 | * * |
11 | * This program is free software; you can redistribute it and/or modify * |
12 | * it under the terms of the GNU General Public License as published by * |
13 | * the Free Software Foundation; either version 2 of the License, or * |
14 | * (at your option) any later version. * |
15 | * * |
16 | ***************************************************************************/ |
17 | |
18 | #ifndef PHRASELISTITEM_H |
19 | #define PHRASELISTITEM_H |
20 | |
21 | #include <Qt3Support/Q3ListBox> |
22 | |
23 | /** |
24 | * This class represents a phrase in the list of spoken phrases. It extends |
25 | * QListBoxText for providing support for a visible list cursor. |
26 | * @author Gunnar Schmi Dt |
27 | */ |
28 | |
29 | class PhraseListItem : public Q3ListBoxText { |
30 | public: |
31 | PhraseListItem (const QString & text); |
32 | ~PhraseListItem(); |
33 | |
34 | bool drawCursor() const; |
35 | |
36 | int rtti() const; |
37 | static const int RTTI = 982734; |
38 | |
39 | protected: |
40 | void paint( QPainter * ); |
41 | }; |
42 | |
43 | #endif |
44 | |