diff options
Diffstat (limited to 'src/kvilib/tal/kvi_tal_toolbardocktype.h')
-rw-r--r-- | src/kvilib/tal/kvi_tal_toolbardocktype.h | 40 |
1 files changed, 8 insertions, 32 deletions
diff --git a/src/kvilib/tal/kvi_tal_toolbardocktype.h b/src/kvilib/tal/kvi_tal_toolbardocktype.h index 0295f7d4..b4e5f4df 100644 --- a/src/kvilib/tal/kvi_tal_toolbardocktype.h +++ b/src/kvilib/tal/kvi_tal_toolbardocktype.h @@ -23,38 +23,14 @@ // #include "kvi_settings.h" -//#define COMPILE_USE_QT4 -#ifdef COMPILE_USE_QT4 -/* - #define TQT_TOOLBARDOCK_TYPE TQt::Dock - #define TQT_DOCK_TOP TQt::DockTop - #define TQT_DOCK_LEFT TQt::DockLeft - #define TQT_DOCK_RIGHT TQt::DockRight - #define TQT_DOCK_BOTTOM TQt::DockBottom - #define TQT_DOCK_MINIMIZED TQt::DockMinimized - #define TQT_DOCK_TORNOFF TQt::DockTornOff - #define TQT_DOCK_UNMANAGED TQt::DockUnmanaged -*/ - // We will need these when we'll use the real TQToolBar in TQt 4.x - #define TQT_TOOLBARDOCK_TYPE TQt::ToolBarArea - #define TQT_DOCK_TOP TQt::TopToolBarArea - #define TQT_DOCK_LEFT TQt::LeftToolBarArea - #define TQT_DOCK_RIGHT TQt::RightToolBarArea - #define TQT_DOCK_BOTTOM TQt::BottomToolBarArea - // THESE ARE UNSUPPORTED UNDER QT4! - #define TQT_DOCK_MINIMIZED TQt::TopToolBarArea - #define TQT_DOCK_TORNOFF TQt::TopToolBarArea - #define TQT_DOCK_UNMANAGED TQt::TopToolBarArea -#else - #define TQT_TOOLBARDOCK_TYPE TQt::Dock - #define TQT_DOCK_TOP TQt::DockTop - #define TQT_DOCK_LEFT TQt::DockLeft - #define TQT_DOCK_RIGHT TQt::DockRight - #define TQT_DOCK_BOTTOM TQt::DockBottom - #define TQT_DOCK_MINIMIZED TQt::DockMinimized - #define TQT_DOCK_TORNOFF TQt::DockTornOff - #define TQT_DOCK_UNMANAGED TQt::DockUnmanaged -#endif +#define TQT_TOOLBARDOCK_TYPE TQt::Dock +#define TQT_DOCK_TOP TQt::DockTop +#define TQT_DOCK_LEFT TQt::DockLeft +#define TQT_DOCK_RIGHT TQt::DockRight +#define TQT_DOCK_BOTTOM TQt::DockBottom +#define TQT_DOCK_MINIMIZED TQt::DockMinimized +#define TQT_DOCK_TORNOFF TQt::DockTornOff +#define TQT_DOCK_UNMANAGED TQt::DockUnmanaged #endif //_KVI_TAL_TOOLBARDOCKTYPE_H_ |