summaryrefslogtreecommitdiffstats
path: root/src/kernel/ntqstyle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/ntqstyle.h')
-rw-r--r--src/kernel/ntqstyle.h36
1 files changed, 15 insertions, 21 deletions
diff --git a/src/kernel/ntqstyle.h b/src/kernel/ntqstyle.h
index 9121b1431..d15f52952 100644
--- a/src/kernel/ntqstyle.h
+++ b/src/kernel/ntqstyle.h
@@ -59,30 +59,24 @@ class TQTab;
class TQListViewItem;
class TQCheckListItem;
-class TQStyleOption {
+class Q_EXPORT TQStyleOption {
public:
enum StyleOptionDefault { Default };
- TQStyleOption(StyleOptionDefault=Default) : def(TRUE), tb(NULL), cli(NULL), tbh(NULL) {}
-
- // Note: we don't use default arguments since that is unnecessary
- // initialization.
- TQStyleOption(int in1) :
- def(FALSE), tb(NULL), i1(in1), cli(NULL), tbh(NULL) {}
- TQStyleOption(int in1, int in2) :
- def(FALSE), tb(NULL), i1(in1), i2(in2), cli(NULL), tbh(NULL) {}
- TQStyleOption(int in1, int in2, int in3, int in4) :
- def(FALSE), tb(NULL), i1(in1), i2(in2), i3(in3), i4(in4), cli(NULL), tbh(NULL) {}
- TQStyleOption(TQMenuItem* m) : def(FALSE), mi(m), tb(NULL), cli(NULL), tbh(NULL) {}
- TQStyleOption(TQMenuItem* m, int in1) : def(FALSE), mi(m), tb(NULL), i1(in1), cli(NULL), tbh(NULL) {}
- TQStyleOption(TQMenuItem* m, int in1, int in2) : def(FALSE), mi(m), tb(NULL), i1(in1), i2(in2), cli(NULL), tbh(NULL) {}
- TQStyleOption(const TQColor& c) : def(FALSE), tb(NULL), cl(&c), cli(NULL), tbh(NULL) {}
- TQStyleOption(TQTab* t) : def(FALSE), tb(t), cli(NULL), tbh(NULL) {}
- TQStyleOption(TQListViewItem* i) : def(FALSE), tb(NULL), li(i), cli(NULL), tbh(NULL) {}
- TQStyleOption(TQCheckListItem* i) : def(FALSE), tb(NULL), cli(i), tbh(NULL) {}
- TQStyleOption(TQt::ArrowType a) : def(FALSE), tb(NULL), i1((int)a), cli(NULL), tbh(NULL) {}
- TQStyleOption(const TQRect& r) : def(FALSE), tb(NULL), i1(r.x()), i2(r.y()), i3(r.width()), i4(r.height()), cli(NULL), tbh(NULL) {}
- TQStyleOption(TQWidget *w) : def(FALSE), tb(NULL), cli(NULL), p1((void*)w), tbh(NULL) {}
+ TQStyleOption(StyleOptionDefault=Default);
+ TQStyleOption(int in1);
+ TQStyleOption(int in1, int in2);
+ TQStyleOption(int in1, int in2, int in3, int in4);
+ TQStyleOption(TQMenuItem* m);
+ TQStyleOption(TQMenuItem* m, int in1);
+ TQStyleOption(TQMenuItem* m, int in1, int in2);
+ TQStyleOption(const TQColor& c);
+ TQStyleOption(TQTab* t);
+ TQStyleOption(TQListViewItem* i);
+ TQStyleOption(TQCheckListItem* i);
+ TQStyleOption(TQt::ArrowType a);
+ TQStyleOption(const TQRect& r);
+ TQStyleOption(TQWidget *w);
bool isDefault() const { return def; }