1 /***************************************************************************** 2 * Copyright 2007 - 2010 Craig Drummond <craig.p.drummond@gmail.com> * 3 * Copyright 2013 - 2015 Yichao Yu <yyc1992@gmail.com> * 4 * * 5 * This program is free software; you can redistribute it and/or modify * 6 * it under the terms of the GNU Lesser General Public License as * 7 * published by the Free Software Foundation; either version 2.1 of the * 8 * License, or (at your option) version 3, or any later version accepted * 9 * by the membership of KDE e.V. (or its successor approved by the * 10 * membership of KDE e.V.), which shall act as a proxy defined in * 11 * Section 6 of version 3 of the license. * 12 * * 13 * This program is distributed in the hope that it will be useful, * 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 16 * Lesser General Public License for more details. * 17 * * 18 * You should have received a copy of the GNU Lesser General Public * 19 * License along with this library. If not, * 20 * see <http://www.gnu.org/licenses/>. * 21 *****************************************************************************/ 22 23 #ifndef __QTCURVE_P_H__ 24 #define __QTCURVE_P_H__ 25 26 #include "qtcurve.h" 27 28 namespace QtCurve { 29 30 typedef enum { 31 APP_PLASMA, 32 APP_KRUNNER, 33 APP_KWIN, 34 APP_SYSTEMSETTINGS, 35 APP_KONTACT, 36 APP_ARORA, 37 APP_REKONQ, 38 APP_QTDESIGNER, 39 APP_QTCREATOR, 40 APP_KDEVELOP, 41 APP_K3B, 42 APP_OPENOFFICE, 43 APP_OTHER 44 } QtcThemedApp; 45 extern QtcThemedApp theThemedApp; 46 47 class QtCurveDockWidgetTitleBar : public QWidget { 48 Q_OBJECT 49 public: QtCurveDockWidgetTitleBar(QWidget * parent)50 QtCurveDockWidgetTitleBar(QWidget* parent) : QWidget(parent) { } sizeHint()51 QSize sizeHint() const override 52 { 53 return QSize(0, 0); 54 } 55 }; 56 57 } 58 59 #endif 60