00001 /* 00002 * $Id$ 00003 * Kockpit - an Qt application for user/group management on unix based systems. 00004 * 00005 * Copyright (C) 2010 Julian Thome 00006 * 00007 * This program is free software; you can redistribute it and/or modify it under the terms of 00008 * the GNU General Public License as published by the Free Software Foundation; 00009 * either version 3 of the License, or (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 00012 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00013 * See the GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License along with this program; 00016 * if not, see <http://www.gnu.org/licenses/>. 00017 */ 00018 00019 #ifndef KOCKPITLOGIN_H 00020 #define KOCKPITLOGIN_H 00021 00022 #include <QDialog> 00023 #include "kockpitunit.h" 00024 #include "ui_kockpitlogin.h" 00025 00027 00030 class KockpitLogin : public QDialog, public Ui::KockpitLogin { 00031 00032 Q_OBJECT 00033 00034 public: 00035 00037 00042 KockpitLogin(KockpitAuthObj &authobj, bool &result, QWidget *parent = 0); 00043 00045 virtual ~KockpitLogin(){ } 00046 00047 private slots: 00048 00050 00054 void setCredentials(); 00055 00056 private: 00058 KockpitAuthObj* pAuthobj; 00060 bool *result; 00061 }; 00062 #endif // KOCKPITLOGIN_H
1.6.3