File indexing completed on 2024-09-22 04:58:53

0001 /*
0002 This file is part of LightDM-KDE.
0003 
0004 Copyright 2011, 2012 David Edmundson <kde@davidedmundson.co.uk>
0005 
0006 LightDM-KDE is free software: you can redistribute it and/or modify
0007 it under the terms of the GNU General Public License as published by
0008 the Free Software Foundation, either version 3 of the License, or
0009 (at your option) any later version.
0010 
0011 LightDM-KDE is distributed in the hope that it will be useful,
0012 but WITHOUT ANY WARRANTY; without even the implied warranty of
0013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0014 GNU General Public License for more details.
0015 
0016 You should have received a copy of the GNU General Public License
0017 along with LightDM-KDE.  If not, see <http://www.gnu.org/licenses/>.
0018 */
0019 
0020 #include "selectimagebuttondesignerfactory.h"
0021 
0022 #include <QtCore/QtPlugin>
0023 
0024 #include "selectimagebutton.h"
0025 
0026 SelectImageButtonDesignerFactory::SelectImageButtonDesignerFactory(QObject *parent)
0027 : QObject(parent)
0028 {
0029 }
0030 
0031 bool SelectImageButtonDesignerFactory::isContainer() const
0032 {
0033     return false;
0034 }
0035 
0036 QIcon SelectImageButtonDesignerFactory::icon() const
0037 {
0038     return QIcon();
0039 }
0040 
0041 QString SelectImageButtonDesignerFactory::group() const
0042 {
0043     return QString();
0044 }
0045 
0046 QString SelectImageButtonDesignerFactory::includeFile() const
0047 {
0048     return "selectimagebutton.h";
0049 }
0050 
0051 QString SelectImageButtonDesignerFactory::name() const
0052 {
0053     return "SelectImageButton";
0054 }
0055 
0056 QString SelectImageButtonDesignerFactory::toolTip() const
0057 {
0058     return QString();
0059 }
0060 
0061 QString SelectImageButtonDesignerFactory::whatsThis() const
0062 {
0063     return QString();
0064 }
0065 
0066 QWidget * SelectImageButtonDesignerFactory::createWidget(QWidget *parent)
0067 {
0068     return new SelectImageButton(parent);
0069 }
0070 
0071 Q_EXPORT_PLUGIN2(lightdm_config_widgets, SelectImageButtonDesignerFactory)
0072 
0073 
0074 
0075 
0076