File indexing completed on 2024-06-23 05:28:18

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 #ifndef GREETER_WINDOW_H
0020 #define GREETER_WINDOW_H
0021 
0022 #include <QDeclarativeView>
0023 
0024 class GreeterWrapper;
0025 
0026 class GreeterWindow: public QDeclarativeView
0027 {
0028     Q_OBJECT
0029 
0030 public:
0031     GreeterWindow(QWidget *parent = 0);
0032     ~GreeterWindow();
0033 
0034 private Q_SLOTS:
0035     void setRootImage();
0036     void screenshot();
0037 
0038 private:
0039     GreeterWrapper *m_greeter;
0040 };
0041 
0042 #endif  //  GREETER_WINDOW_H
0043