summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqdockwindow.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-08 00:35:13 -0600
committerTimothy Pearson <[email protected]>2011-11-08 00:35:13 -0600
commit4d7f7455811dee0e15dc1b33ae507a16ca807cc8 (patch)
treebf51f631df474b0c2d46e8b171edb1907123b0cf /qtinterface/tqdockwindow.h
parenteb6050567df32d7b4894175cc2e78cf33487d53e (diff)
downloadtqtinterface-4d7f7455811dee0e15dc1b33ae507a16ca807cc8.tar.gz
tqtinterface-4d7f7455811dee0e15dc1b33ae507a16ca807cc8.zip
Fix accidental conversion of dockwin (part 2 of 2)
Diffstat (limited to 'qtinterface/tqdockwindow.h')
-rw-r--r--qtinterface/tqdockwindow.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/qtinterface/tqdockwindow.h b/qtinterface/tqdockwindow.h
new file mode 100644
index 0000000..569d3bd
--- /dev/null
+++ b/qtinterface/tqdockwindow.h
@@ -0,0 +1,45 @@
+/*
+
+Copyright (C) 2010 Timothy Pearson <[email protected]>
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public
+License as published by the Free Software Foundation; either
+version 2 of the License, or (at your option) any later version.
+
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Library General Public License for more details.
+
+You should have received a copy of the GNU Library General Public License
+along with this library; see the file COPYING.LIB. If not, write to
+the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+Boston, MA 02110-1301, USA.
+
+*/
+
+#ifndef TQDOCKWINDOW_H
+#define TQDOCKWINDOW_H
+
+#include <tqt.h>
+
+#ifdef USE_QT3
+
+// Reimplement the QDockWindow class
+// For Qt3, no changes are needed
+
+#include <qdockwindow.h>
+
+#endif // USE_QT3
+
+#ifdef USE_QT4
+
+// Reimplement the QDockWindow class
+// For Qt4, some changes are needed
+
+#include <Qt/q3dockwindow.h>
+
+#endif // USE_QT4
+
+#endif /* TQDOCKWINDOW_H */ \ No newline at end of file