-rw-r--r-- | microkde/kdeui/kseparator.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/microkde/kdeui/kseparator.h b/microkde/kdeui/kseparator.h index 6d2712a..c673475 100644 --- a/microkde/kdeui/kseparator.h +++ b/microkde/kdeui/kseparator.h | |||
@@ -1,77 +1,77 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 1997 Michael Roth <mroth@wirlweb.de> | 2 | * Copyright (C) 1997 Michael Roth <mroth@wirlweb.de> |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify | 4 | * This program is free software; you can redistribute it and/or modify |
5 | * it under the terms of the GNU Library General Public License as published by | 5 | * it under the terms of the GNU Library General Public License as published by |
6 | * the Free Software Foundation; either version 2 of the License, or | 6 | * the Free Software Foundation; either version 2 of the License, or |
7 | * (at your option) any later version. | 7 | * (at your option) any later version. |
8 | * | 8 | * |
9 | * This program is distributed in the hope that it will be useful, | 9 | * This program is distributed in the hope that it will be useful, |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 | * GNU Library General Public License for more details. | 12 | * GNU Library General Public License for more details. |
13 | * | 13 | * |
14 | * You should have received a copy of the GNU Library General Public License | 14 | * You should have received a copy of the GNU Library General Public License |
15 | * along with this program; if not, write to the Free Software | 15 | * along with this program; if not, write to the Free Software |
16 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 16 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
17 | * | 17 | * |
18 | */ | 18 | */ |
19 | 19 | ||
20 | #ifndef __KSEPARATOR_H__ | 20 | #ifndef __KSEPARATOR_H__ |
21 | #define __KSEPARATOR_H__ | 21 | #define __KSEPARATOR_H__ |
22 | 22 | ||
23 | #include <qframe.h> | 23 | #include <q3frame.h> |
24 | 24 | ||
25 | /** | 25 | /** |
26 | * Standard horizontal or vertical separator. | 26 | * Standard horizontal or vertical separator. |
27 | * | 27 | * |
28 | * @author Michael Roth <mroth@wirlweb.de> | 28 | * @author Michael Roth <mroth@wirlweb.de> |
29 | * @version $Id$ | 29 | * @version $Id$ |
30 | */ | 30 | */ |
31 | class KSeparator : public QFrame | 31 | class KSeparator : public Q3Frame |
32 | { | 32 | { |
33 | Q_OBJECT | 33 | Q_OBJECT |
34 | Q_PROPERTY( int orientation READ orientation WRITE setOrientation ) | 34 | Q_PROPERTY( int orientation READ orientation WRITE setOrientation ) |
35 | public: | 35 | public: |
36 | /** | 36 | /** |
37 | * Constructor. | 37 | * Constructor. |
38 | **/ | 38 | **/ |
39 | KSeparator(QWidget* parent=0, const char* name=0, WFlags f=0); | 39 | KSeparator(QWidget* parent=0, const char* name=0, Qt::WFlags f=0); |
40 | /** | 40 | /** |
41 | * Constructor. | 41 | * Constructor. |
42 | * | 42 | * |
43 | * @param orientation Set the orientation of the separator. | 43 | * @param orientation Set the orientation of the separator. |
44 | * Possible values are HLine or Horizontal and VLine or Vertical. | 44 | * Possible values are HLine or Horizontal and VLine or Vertical. |
45 | **/ | 45 | **/ |
46 | KSeparator(int orientation, QWidget* parent=0, const char* name=0, | 46 | KSeparator(int orientation, QWidget* parent=0, const char* name=0, |
47 | WFlags f=0); | 47 | Qt::WFlags f=0); |
48 | 48 | ||
49 | /** | 49 | /** |
50 | * Returns the orientation of the separator. | 50 | * Returns the orientation of the separator. |
51 | * | 51 | * |
52 | * Possible values are VLine and HLine. | 52 | * Possible values are VLine and HLine. |
53 | **/ | 53 | **/ |
54 | int orientation() const; | 54 | int orientation() const; |
55 | 55 | ||
56 | /** | 56 | /** |
57 | * Set the orientation of the separator to @p orient | 57 | * Set the orientation of the separator to @p orient |
58 | * | 58 | * |
59 | * Possible values are VLine and HLine. | 59 | * Possible values are VLine and HLine. |
60 | */ | 60 | */ |
61 | void setOrientation(int orient); | 61 | void setOrientation(int orient); |
62 | 62 | ||
63 | /** | 63 | /** |
64 | * The recommended height (width) for a horizontal (vertical) separator. | 64 | * The recommended height (width) for a horizontal (vertical) separator. |
65 | **/ | 65 | **/ |
66 | virtual QSize sizeHint() const; | 66 | virtual QSize sizeHint() const; |
67 | 67 | ||
68 | protected: | 68 | protected: |
69 | virtual void drawFrame( QPainter * ); | 69 | virtual void drawFrame( QPainter * ); |
70 | protected: | 70 | protected: |
71 | virtual void virtual_hook( int id, void* data ); | 71 | virtual void virtual_hook( int id, void* data ); |
72 | private: | 72 | private: |
73 | class KSeparatorPrivate* d; | 73 | class KSeparatorPrivate* d; |
74 | }; | 74 | }; |
75 | 75 | ||
76 | 76 | ||
77 | #endif // __KSEPARATOR_H__ | 77 | #endif // __KSEPARATOR_H__ |