summaryrefslogtreecommitdiffabout
path: root/qtcompat/qksplitter.h
Side-by-side diff
Diffstat (limited to 'qtcompat/qksplitter.h') (more/less context) (show 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 @@
+#ifndef QTCOMPAT_QSPLITTER_H
+#define QTCOMPAT_QSPLITTER_H
+
+#include <qwidget.h>
+
+class QKSplitter : public QWidget
+{
+ public:
+ enum { KeepSize };
+
+ QKSplitter (int, QWidget *parent=0, const char *name=0) :
+ QWidget( parent, name ) {}
+ QKSplitter( QWidget *parent=0, const char *name=0 ) :
+ QWidget( parent, name ) {}
+
+ void setResizeMode( QWidget *, int ) {}
+ void setOpaqueResize() {}
+
+ void setSizes (const QValueList<int> &) {}
+ QValueList<int> sizes() { QValueList<int> ret; return ret; }
+};
+
+#endif