You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kvirc/src/kvilib/tal/kvi_tal_toolbardocktype.h

61 lines
2.3 KiB

#ifndef _KVI_TAL_TOOLBARDOCKTYPE_H_
#define _KVI_TAL_TOOLBARDOCKTYPE_H_
//
// File : kvi_tal_toolbardocktype.h
// Creation date : Tue Sep 17 02:11:28 2002 GMT by Szymon Stefanek
//
// This file is part of the KVirc irc client distribution
// Copyright (C) 2002 Szymon Stefanek (pragma at kvirc dot net)
//
// This program 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 opinion) any later version.
//
// This program 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, write to the Free Software Foundation,
// Inc. ,51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
#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
#endif //_KVI_TAL_TOOLBARDOCKTYPE_H_