1 // |
1 // |
2 // OSSP asgui - Accounting system graphical user interface |
2 // OSSP asgui - Accounting system graphical user interface |
3 // Copyright (c) 2002-2004 The OSSP Project (http://www.ossp.org/) |
3 // Copyright (c) 2002-2008 The OSSP Project (http://www.ossp.org/) |
4 // Copyright (c) 2002-2004 Ralf S. Engelschall <rse@engelschall.com> |
4 // Copyright (c) 2002-2008 Ralf S. Engelschall <rse@engelschall.com> |
5 // Copyright (c) 2002-2004 Michael Schloh von Bennewitz <michael@schloh.com> |
5 // Copyright (c) 2002-2008 Michael Schloh von Bennewitz <michael@schloh.com> |
6 // Copyright (c) 2002-2004 Cable & Wireless Telecommunications Services GmbH |
6 // Copyright (c) 2002-2008 Cable & Wireless Telecommunications Services GmbH |
7 // |
7 // |
8 // This file is part of OSSP asgui, an accounting system graphical user |
8 // This file is part of OSSP asgui, an accounting system graphical user |
9 // interface which can be found at http://www.ossp.org/pkg/tool/asgui/. |
9 // interface which can be found at http://asgui.europalab.com/. |
10 // |
10 // |
11 // Permission to use, copy, modify, and distribute this software for |
11 // Permission to use, copy, modify, and distribute this software for |
12 // any purpose with or without fee is hereby granted, provided that |
12 // any purpose with or without fee is hereby granted, provided that |
13 // the above copyright notice and this permission notice appear in all |
13 // the above copyright notice and this permission notice appear in all |
14 // copies. |
14 // copies. |
27 // SUCH DAMAGE. |
27 // SUCH DAMAGE. |
28 // |
28 // |
29 // as_helpanel.h: ISO C++ interface |
29 // as_helpanel.h: ISO C++ interface |
30 // |
30 // |
31 |
31 |
|
32 #define QT3_SUPPORT |
|
33 |
32 #ifndef HELPANEL_H |
34 #ifndef HELPANEL_H |
33 #define HELPANEL_H |
35 #define HELPANEL_H |
34 |
36 |
35 #include <qvariant.h> |
37 #include <qvariant.h> |
36 #include <qdialog.h> |
38 #include <qdialog.h> |
37 |
39 |
|
40 //Added by qt3to4: |
|
41 #include <Q3HBoxLayout> |
|
42 #include <Q3VBoxLayout> |
38 |
43 |
39 class QVBoxLayout; |
44 |
40 class QHBoxLayout; |
45 class Q3VBoxLayout; |
|
46 class Q3HBoxLayout; |
41 class QPushButton; |
47 class QPushButton; |
42 class QTextBrowser; |
48 class Q3TextBrowser; |
43 |
49 |
44 namespace AS { |
50 namespace AS { |
45 |
51 |
46 class Helpanel : public QDialog |
52 class Helpanel : public QDialog |
47 { |
53 { |
48 Q_OBJECT |
54 Q_OBJECT |
49 |
55 |
50 public: |
56 public: |
51 Helpanel(const QString &, QWidget *pParent = 0, const char *kszName = 0, |
57 Helpanel(const QString &, QWidget *pParent = 0, const char *kszName = 0, |
52 bool bModal = true, WFlags Flags = 0); |
58 bool bModal = true, Qt::WFlags Flags = 0); |
53 // ~Helpanel(void); // No need to destroy widgets, because qt does it for us |
59 // ~Helpanel(void); // No need to destroy widgets, because qt does it for us |
54 |
60 |
55 public: |
61 public: |
56 QTextBrowser *m_pBrowser; |
62 Q3TextBrowser *m_pBrowser; |
57 QPushButton *m_pDismissbutt; |
63 QPushButton *m_pDismissbutt; |
58 |
64 |
59 protected: |
65 protected: |
60 QVBoxLayout *m_pFormlay; |
66 Q3VBoxLayout *m_pFormlay; |
61 QHBoxLayout *m_pButtlay; |
67 Q3HBoxLayout *m_pButtlay; |
62 |
68 |
63 protected slots: |
69 protected slots: |
64 virtual void textChange(void); |
70 virtual void textChange(void); |
65 }; |
71 }; |
66 } // namespace AS |
72 } // namespace AS |