summaryrefslogtreecommitdiffabout
path: root/qtcompat/qksplitter.h
Unidiff
Diffstat (limited to 'qtcompat/qksplitter.h') (more/less context) (ignore whitespace changes)
-rw-r--r--qtcompat/qksplitter.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/qtcompat/qksplitter.h b/qtcompat/qksplitter.h
new file mode 100644
index 0000000..b62c65e
--- a/dev/null
+++ b/qtcompat/qksplitter.h
@@ -0,0 +1,23 @@
1#ifndef QTCOMPAT_QSPLITTER_H
2#define QTCOMPAT_QSPLITTER_H
3
4#include <qwidget.h>
5
6class QKSplitter : public QWidget
7{
8 public:
9 enum { KeepSize };
10
11 QKSplitter (int, QWidget *parent=0, const char *name=0) :
12 QWidget( parent, name ) {}
13 QKSplitter( QWidget *parent=0, const char *name=0 ) :
14 QWidget( parent, name ) {}
15
16 void setResizeMode( QWidget *, int ) {}
17 void setOpaqueResize() {}
18
19 void setSizes (const QValueList<int> &) {}
20 QValueList<int> sizes() { QValueList<int> ret; return ret; }
21};
22
23#endif