00001 00008 /* 00009 =. This file is part of the Opie Project 00010 .=l. Copyright (C) 2004 Opie Developer Team <opie-devel@handhelds.org> 00011 .>+-= 00012 _;:, .> :=|. This library is free software; you can 00013 .> <`_, > . <= redistribute it and/or modify it under 00014 :`=1 )Y*s>-.-- : the terms of the GNU Library General Public 00015 .="- .-=="i, .._ License as published by the Free Software 00016 - . .-<_> .<> Foundation; either version 2 of the License, 00017 ._= =} : or (at your option) any later version. 00018 .%`+i> _;_. 00019 .i_,=:_. -<s. This library is distributed in the hope that 00020 + . -:. = it will be useful, but WITHOUT ANY WARRANTY; 00021 : .. .:, . . . without even the implied warranty of 00022 =_ + =;=|` MERCHANTABILITY or FITNESS FOR A 00023 _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU 00024 ..}^=.= = ; Library General Public License for more 00025 ++= -. .` .: details. 00026 : = ...= . :.=- 00027 -. .:....=;==+<; You should have received a copy of the GNU 00028 -_. . . )=. = Library General Public License along with 00029 -- :-=` this library; see the file COPYING.LIB. 00030 If not, write to the Free Software Foundation, 00031 Inc., 59 Temple Place - Suite 330, 00032 Boston, MA 02111-1307, USA. 00033 00034 */ 00035 00036 #ifndef MULTIAUTHMAINWINDOW_H 00037 #define MULTIAUTHMAINWINDOW_H 00038 00039 #include <qdialog.h> 00040 #include <qlayout.h> 00041 #include <qpushbutton.h> 00042 #include <qlabel.h> 00043 00044 00045 namespace Opie { 00046 namespace Security { 00047 00049 00054 class MultiauthMainWindow : public QDialog { 00055 Q_OBJECT 00056 00057 public: 00058 MultiauthMainWindow(bool allowBypass = false); 00059 ~MultiauthMainWindow(); 00060 bool isAlreadyDone(); 00061 00062 private: 00063 QVBoxLayout * layout; 00064 QLabel * title, * message, * message2; 00065 QPushButton * proceedButton, * quit; 00067 bool explanScreens; 00069 bool allowBypass; 00071 bool alreadyDone; 00072 00073 private slots: 00074 void proceed(); 00075 private: 00076 struct Private; 00077 Private *d; 00078 }; 00079 00080 } 00081 } 00082 00083 #endif // MULTIAUTHMAINWINDOW_H 00084
1.4.2