parley
kvtnewdocumentwizard.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 00003 kvtnewdocumentwizard 00004 00005 ----------------------------------------------------------------------- 00006 00007 copyright : (C) 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net> 00008 00009 ----------------------------------------------------------------------- 00010 00011 ***************************************************************************/ 00012 00013 /*************************************************************************** 00014 * * 00015 * This program is free software; you can redistribute it and/or modify * 00016 * it under the terms of the GNU General Public License as published by * 00017 * the Free Software Foundation; either version 2 of the License, or * 00018 * (at your option) any later version. * 00019 * * 00020 ***************************************************************************/ 00021 00022 #ifndef KVTNEWDOCUMENTWIZARD_H 00023 #define KVTNEWDOCUMENTWIZARD_H 00024 00025 00026 #include "kvtnewdocumentwizardintropage.h" 00027 #include "authortitlepage.h" 00028 #include "firstidentifierlanguagepage.h" 00029 #include "secondidentifierlanguagepage.h" 00030 00031 #include <keduvocdocument.h> 00032 00038 class KVTNewDocumentWizard : public QWizard 00039 { 00040 Q_OBJECT 00041 public: 00043 enum NewDocumentWizardPages{ 00044 Intro, 00045 AuthorTitle, 00046 FirstIdentifierLanguage, 00047 SecondIdentifierLanguage 00048 }; 00049 00050 KVTNewDocumentWizard(KEduVocDocument* doc, QWidget *parent); 00051 00052 int nextId() const; 00053 void accept(); 00054 00055 signals: 00056 void setLanguage(int column, int languageIndex); 00057 00058 private: 00059 00060 KEduVocDocument* m_doc; 00061 }; 00062 00063 #endif
KDE 4.0 API Reference