parley
documentproperties.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 00003 enter document title and author 00004 00005 ----------------------------------------------------------------------- 00006 00007 begin : Thu Mar 11 20:50:53 MET 1999 00008 00009 copyright : (C) 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de> 00010 (C) 2005 Peter Hedlund <peter.hedlund@kdemail.net> 00011 (C) 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net> 00012 00013 ----------------------------------------------------------------------- 00014 00015 *************************************************************************** 00016 00017 *************************************************************************** 00018 * * 00019 * This program is free software; you can redistribute it and/or modify * 00020 * it under the terms of the GNU General Public License as published by * 00021 * the Free Software Foundation; either version 2 of the License, or * 00022 * (at your option) any later version. * 00023 * * 00024 ***************************************************************************/ 00025 00026 #ifndef DOCUMENTPROPERTIES_H 00027 #define DOCUMENTPROPERTIES_H 00028 00029 #include "ui_documentproperties.h" 00030 00031 class KEduVocDocument; 00032 00033 class DocumentProperties : public QWidget, public Ui::DocumentProperties 00034 { 00035 Q_OBJECT 00036 00037 public: 00038 DocumentProperties(KEduVocDocument * doc, bool languageSetup, QWidget *parent); 00039 00040 00041 public slots: 00043 void accept(); 00044 00045 private: 00046 void prepareLanguageSelection(); 00047 void acceptLanguageConfiguration(); 00048 00049 KEduVocDocument* m_doc; 00050 // also allow the user to setup two languages - used when first creating a document 00051 bool m_showLanguages; 00052 }; 00053 00054 #endif 00055
KDE 4.4 API Reference