diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2013-04-18 18:26:28 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2013-04-23 22:20:31 +0200 |
commit | b9337e22ce1dbf2eba0e8c8db294ae99f4111f91 (patch) | |
tree | 53ee1bd3dfd213815a21579151983cb997922b05 /include/shell | |
parent | f4e1642a1761d5eab6ccdd89928869c2b2f1528a (diff) |
execute move of global headers
see https://gerrit.libreoffice.org/#/c/3367/
and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details
Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
Diffstat (limited to 'include/shell')
-rw-r--r-- | include/shell/kde_headers.h | 99 | ||||
-rw-r--r-- | include/shell/tde_defines.h | 109 | ||||
-rw-r--r-- | include/shell/tde_headers.h | 97 |
3 files changed, 305 insertions, 0 deletions
diff --git a/include/shell/kde_headers.h b/include/shell/kde_headers.h new file mode 100644 index 000000000000..3ca3fa69ef26 --- /dev/null +++ b/include/shell/kde_headers.h @@ -0,0 +1,99 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 . + */ + +#ifndef INCLUDED_VCL_KDE_HEADERS_H +#define INCLUDED_VCL_KDE_HEADERS_H + +#include <config_vclplug.h> + +#if ENABLE_TDE + +#include "shell/tde_headers.h" + +#else // ENABLE_TDE + +/* ********* 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 QtXRegion + + +/* ********* Qt headers */ +#include <qaccessible.h> +#include <qcheckbox.h> +#include <qcombobox.h> +#include <qfont.h> +#include <qframe.h> +#include <qlineedit.h> +#include <qlistview.h> +#include <qmainwindow.h> +#include <qmenudata.h> +#include <qpaintdevice.h> +#include <qpainter.h> +#include <qpushbutton.h> +#include <qradiobutton.h> +#include <qrangecontrol.h> +#include <qstring.h> +#include <qtabbar.h> +#include <qtabwidget.h> +#include <qtoolbar.h> +#include <qtoolbutton.h> +#include <qwidget.h> +#include <qprogressbar.h> + +/* ********* See hack on top of this file */ +#undef Region + + +/* ********* KDE base headers */ +#include <kaboutdata.h> +#include <kapplication.h> +#include <kcmdlineargs.h> +#include <kconfig.h> +#include <kdeversion.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> + + +/* ********* KDE address book connectivity headers */ +#include <kabc/addressbook.h> +#include <kabc/addressee.h> +#include <kabc/field.h> +#include <kabc/stdaddressbook.h> + +#endif // ENABLE_TDE + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/shell/tde_defines.h b/include/shell/tde_defines.h new file mode 100644 index 000000000000..0dc91e931cee --- /dev/null +++ b/include/shell/tde_defines.h @@ -0,0 +1,109 @@ +/* -*- 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 + +#define KAboutData TDEAboutData +#define KApplication TDEApplication +#define KCmdLineArgs TDECmdLineArgs +#define KConfig TDEConfig +#define KGlobal TDEGlobal +#define KGlobalSettings TDEGlobalSettings +#define KMainWindow TDEMainWindow +#define KStartupInfo TDEStartupInfo +#define KStyle TDEStyle +#define KToolBar TDEToolBar + +#define drawKStylePrimitive drawTDEStylePrimitive + +#define KIO TDEIO +#define KABC TDEABC + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/shell/tde_headers.h b/include/shell/tde_headers.h new file mode 100644 index 000000000000..ed3739eb2e43 --- /dev/null +++ b/include/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 <tdeaboutdata.h> +#include <tdeapplication.h> +#include <tdecmdlineargs.h> +#include <tdeconfig.h> +#include <tdeversion.h> +#include <tdeemailsettings.h> +#include <tdeglobal.h> +#include <tdeglobalsettings.h> +#include <tdelocale.h> +#include <tdemainwindow.h> +#include <tdemenubar.h> +#include <tdeprotocolmanager.h> +#include <tdestartupinfo.h> +#include <tdestyle.h> + + +/* ********* TDE address book connectivity headers */ +#include <tdeabc/addressbook.h> +#include <tdeabc/addressee.h> +#include <tdeabc/field.h> +#include <tdeabc/stdaddressbook.h> + +#include "tde_defines.h" + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |