File indexing completed on 2024-05-12 09:53:09
0001 /***************************************************************************** 0002 * Copyright 2007 - 2010 Craig Drummond <craig.p.drummond@gmail.com> * 0003 * Copyright 2013 - 2015 Yichao Yu <yyc1992@gmail.com> * 0004 * * 0005 * This program is free software; you can redistribute it and/or modify * 0006 * it under the terms of the GNU Lesser General Public License as * 0007 * published by the Free Software Foundation; either version 2.1 of the * 0008 * License, or (at your option) version 3, or any later version accepted * 0009 * by the membership of KDE e.V. (or its successor approved by the * 0010 * membership of KDE e.V.), which shall act as a proxy defined in * 0011 * Section 6 of version 3 of the license. * 0012 * * 0013 * This program is distributed in the hope that it will be useful, * 0014 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 0015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 0016 * Lesser General Public License for more details. * 0017 * * 0018 * You should have received a copy of the GNU Lesser General Public * 0019 * License along with this library. If not, * 0020 * see <http://www.gnu.org/licenses/>. * 0021 *****************************************************************************/ 0022 0023 #ifndef __QTCURVE_P_H__ 0024 #define __QTCURVE_P_H__ 0025 0026 #include "qtcurve.h" 0027 0028 namespace QtCurve { 0029 0030 typedef enum { 0031 APP_PLASMA, 0032 APP_KRUNNER, 0033 APP_KWIN, 0034 APP_SYSTEMSETTINGS, 0035 APP_KONTACT, 0036 APP_ARORA, 0037 APP_REKONQ, 0038 APP_QTDESIGNER, 0039 APP_QTCREATOR, 0040 APP_KDEVELOP, 0041 APP_K3B, 0042 APP_OPENOFFICE, 0043 APP_OTHER 0044 } QtcThemedApp; 0045 extern QtcThemedApp theThemedApp; 0046 0047 class QtCurveDockWidgetTitleBar : public QWidget { 0048 Q_OBJECT 0049 public: 0050 QtCurveDockWidgetTitleBar(QWidget* parent) : QWidget(parent) { } 0051 QSize sizeHint() const override 0052 { 0053 return QSize(0, 0); 0054 } 0055 }; 0056 0057 } 0058 0059 #endif