diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-05-14 20:09:41 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-05-14 20:09:41 -0500 |
commit | 07b3d083b49b4cbb248b5ba0aeba2bbdd3cc487d (patch) | |
tree | 5f80a6862e44b938c4e7f62f457d1b48f5a0195b /shell/inc | |
parent | SwTableAutoFmtTbl: try to fix MSVC tinderbox: (diff) | |
download | core-07b3d083b49b4cbb248b5ba0aeba2bbdd3cc487d.tar.gz core-07b3d083b49b4cbb248b5ba0aeba2bbdd3cc487d.zip |
TDE integration
Change-Id: I6f468005c8d8d99d9251a9c4fe4629b98bc4aa5e
Diffstat (limited to 'shell/inc')
-rw-r--r-- | shell/inc/shell/kde_headers.h (renamed from shell/inc/kde_headers.h) | 8 | ||||
-rw-r--r-- | shell/inc/shell/tde_defines.h | 93 | ||||
-rw-r--r-- | shell/inc/shell/tde_headers.h | 97 |
3 files changed, 198 insertions, 0 deletions
diff --git a/shell/inc/kde_headers.h b/shell/inc/shell/kde_headers.h index 7ec45fdc383d..d92fceb34122 100644 --- a/shell/inc/kde_headers.h +++ b/shell/inc/shell/kde_headers.h @@ -29,6 +29,12 @@ #ifndef INCLUDED_VCL_KDE_HEADERS_H #define INCLUDED_VCL_KDE_HEADERS_H +#ifdef ENABLE_TDE + +#include "shell/tde_headers.h" + +#else // ENABLE_TDE + /* ********* Suppress warnings if needed */ #include "sal/config.h" @@ -93,6 +99,8 @@ #include <kabc/field.h> #include <kabc/stdaddressbook.h> +#endif // ENABLE_TDE + #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/shell/inc/shell/tde_defines.h b/shell/inc/shell/tde_defines.h new file mode 100644 index 000000000000..52e610c72020 --- /dev/null +++ b/shell/inc/shell/tde_defines.h @@ -0,0 +1,93 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * Version: MPL 1.1 / GPLv3+ / LGPLv3+ + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Initial Developer of the Original Code is + * Timothy Pearson <kb9vqf@pearsoncomputing.net> (C) 2012, All Rights Reserved. + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 3 or later (the "GPLv3+"), or + * the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), + * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable + * instead of those above. + * + ************************************************************************/ + +#ifndef INCLUDED_VCL_TDE_DEFINE_HEADERS_H +#define INCLUDED_VCL_TDE_DEFINE_HEADERS_H + +#define QObject TQObject +#define QWidget TQWidget +#define QVBox TQVBox +#define QHBox TQHBox +#define QGrid TQGrid +#define QString TQString +#define QStringList TQStringList +#define QCustomEvent TQCustomEvent +#define QMutex TQMutex +#define QEvent TQEvent +#define QFont TQFont +#define QDateTime TQDateTime +#define QThread TQThread +#define QStyle TQStyle +#define QApplication TQApplication +#define QRect TQRect +#define QProgressBar TQProgressBar +#define QPopupMenu TQPopupMenu +#define QMenuBar TQMenuBar +#define QToolButton TQToolButton +#define QToolBar TQToolBar +#define QScrollBar TQScrollBar +#define QListView TQListView +#define QSpinWidget TQSpinWidget +#define QScrollBar TQScrollBar +#define QLineEdit TQLineEdit +#define QComboBox TQComboBox +#define QCheckBox TQCheckBox +#define QRadioButton TQRadioButton +#define QPushButton TQPushButton +#define QPainter TQPainter +#define QResizeEvent TQResizeEvent +#define QShowEvent TQShowEvent +#define QPoint TQPoint +#define QDialog TQDialog +#define QFile TQFile +#define QLabel TQLabel +#define QObjectList TQObjectList +#define QCString TQCString +#define QRegExp TQRegExp +#define QSessionManager TQSessionManager +#define QPaintDevice TQPaintDevice +#define QTextIStream TQTextIStream +#define QTextStream TQTextStream +#define QMutexLocker TQMutexLocker +#define QValueList TQValueList +#define QTab TQTab +#define QTabBar TQTabBar +#define QTabWidget TQTabWidget +#define QMainWindow TQMainWindow +#define QPixmap TQPixmap +#define QColorGroup TQColorGroup +#define QStyleOption TQStyleOption +#define QSize TQSize +#define QMenuItem TQMenuItem +#define QFontInfo TQFontInfo + +#define qSwap tqSwap +#define qt_cast tqt_cast +#define qt_xdisplay tqt_xdisplay +#define qVersion tqVersion + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/shell/inc/shell/tde_headers.h b/shell/inc/shell/tde_headers.h new file mode 100644 index 000000000000..d0f14447dd7b --- /dev/null +++ b/shell/inc/shell/tde_headers.h @@ -0,0 +1,97 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * Version: MPL 1.1 / GPLv3+ / LGPLv3+ + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Initial Developer of the Original Code is + * Timothy Pearson <kb9vqf@pearsoncomputing.net> (C) 2012, All Rights Reserved. + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 3 or later (the "GPLv3+"), or + * the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), + * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable + * instead of those above. + * + ************************************************************************/ + +#ifndef INCLUDED_VCL_TDE_HEADERS_H +#define INCLUDED_VCL_TDE_HEADERS_H + +/* ********* Suppress warnings if needed */ +#include "sal/config.h" + +#include <cstddef> + +#if defined __GNUC__ +#pragma GCC system_header +#endif + + +/* ********* Hack, but needed because of conflicting types... */ +#define Region TQtXRegion + + +/* ********* TQt headers */ +#include <tqaccessible.h> +#include <tqcheckbox.h> +#include <tqcombobox.h> +#include <tqfont.h> +#include <tqframe.h> +#include <tqlineedit.h> +#include <tqlistview.h> +#include <tqmainwindow.h> +#include <tqmenudata.h> +#include <tqpaintdevice.h> +#include <tqpainter.h> +#include <tqpushbutton.h> +#include <tqradiobutton.h> +#include <tqrangecontrol.h> +#include <tqstring.h> +#include <tqtabbar.h> +#include <tqtabwidget.h> +#include <tqtoolbar.h> +#include <tqtoolbutton.h> +#include <tqwidget.h> +#include <tqprogressbar.h> + +/* ********* See hack on top of this file */ +#undef Region + + +/* ********* TDE base headers */ +#include <kaboutdata.h> +#include <kapplication.h> +#include <kcmdlineargs.h> +#include <kconfig.h> +#include <tdeversion.h> +#include <kemailsettings.h> +#include <kglobal.h> +#include <kglobalsettings.h> +#include <klocale.h> +#include <kmainwindow.h> +#include <kmenubar.h> +#include <kprotocolmanager.h> +#include <kstartupinfo.h> +#include <kstyle.h> + + +/* ********* TDE address book connectivity headers */ +#include <kabc/addressbook.h> +#include <kabc/addressee.h> +#include <kabc/field.h> +#include <kabc/stdaddressbook.h> + +#include "tde_defines.h" + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |