moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kvoctrain / kvoctrain / docprop-dialogs / DocPropLangDlg.h
blob2022850d37b1a036d430de3f573a6d61a0a209fb
1 /***************************************************************************
3 document language dialog class
5 -----------------------------------------------------------------------
7 begin : Sat Jun 2 20:50:53 MET 1999
9 copyright : (C) 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
10 (C) 2001 The KDE-EDU team
11 (C) 2005 Peter Hedlund <peter@peterandlinda.com>
13 -----------------------------------------------------------------------
15 ***************************************************************************
17 ***************************************************************************
18 * *
19 * This program is free software; you can redistribute it and/or modify *
20 * it under the terms of the GNU General Public License as published by *
21 * the Free Software Foundation; either version 2 of the License, or *
22 * (at your option) any later version. *
23 * *
24 ***************************************************************************/
26 #ifndef DocPropsLangDlg_included
27 #define DocPropsLangDlg_included
29 #include <qvaluelist.h>
31 #include <kdialogbase.h>
33 #include <GrammerManager.h>
35 //#include <vector>
36 //using namespace std;
38 class kvoctrainDoc;
39 class LangPropPage;
40 class LangSet;
42 class DocPropsLangDlg : public KDialogBase
44 Q_OBJECT
46 public:
48 DocPropsLangDlg(kvoctrainDoc *doc, LangSet *langset, QWidget *parent = NULL, const char *name = NULL, bool modal = true);
50 Conjugation getConjugation(int idx) const;
51 Article getArticle(int idx) const;
53 protected:
54 typedef QValueList<LangPropPage*> LangPagesList;
55 LangPagesList langPages;
58 #endif // DocPropsLangDlg_included