KIO
kwalletwizard.h
Go to the documentation of this file.00001 /* This file is part of the KDE libraries 00002 Copyright (C) 2004 George Staikos <staikos@kde.org> 00003 00004 This program is free software; you can redistribute it and/or modify 00005 it under the terms of the GNU General Public License as published by 00006 the Free Software Foundation; either version 2 of the License, or 00007 (at your option) any later version. 00008 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with this program; if not, write to the Free Software 00016 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00017 */ 00018 00019 #ifndef KWALLETWIZARD_H 00020 #define KWALLETWIZARD_H 00021 00022 #include <QtGui/QWizard> 00023 00024 class PageIntro; 00025 class PagePassword; 00026 00027 class KWalletWizard : public QWizard 00028 { 00029 Q_OBJECT 00030 public: 00031 00032 enum WizardType 00033 { 00034 Basic, 00035 Advanced 00036 }; 00037 00038 static const int PageIntroId = 0; 00039 static const int PagePasswordId = 1; 00040 static const int PageOptionsId = 2; 00041 static const int PageExplanationId = 3; 00042 00043 KWalletWizard( QWidget *parent = 0 ); 00044 00045 WizardType wizardType() const; 00046 00047 protected: 00048 virtual void initializePage(int id); 00049 00050 protected Q_SLOTS: 00051 void passwordPageUpdate(); 00052 00053 private: 00054 PageIntro *m_pageIntro; 00055 PagePassword *m_pagePasswd; 00056 }; 00057 00058 #endif