moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kvoctrain / kvoctrain / entry-dialogs / AuxInfoEntryPage.h
blobc1869bc9a765882981fd5d5ef96bbe9d76866968
1 /***************************************************************************
3 edit "additional" properties
5 -----------------------------------------------------------------------
7 begin : Thu Nov 25 17:29:44 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 AuxInfoEntryPage_included
27 #define AuxInfoEntryPage_included
29 #include "AuxInfoEntryPageForm.h"
31 class EntryDlg;
33 class AuxInfoEntryPage : public AuxInfoEntryPageForm
35 Q_OBJECT
37 public:
38 AuxInfoEntryPage
40 EntryDlg *dlgbook,
41 bool multi_sel,
42 QString syno,
43 QString anto,
44 QString example,
45 QString remark,
46 QString para,
47 QWidget *parent = 0,
48 const char *name = 0
51 void setData(bool multi_sel, QString syno, QString anto, QString example, QString remark, QString para);
53 QString getSynonym ();
54 QString getAntonym ();
55 QString getExample ();
56 QString getRemark ();
57 QString getParaphrase();
59 bool isModified();
60 void setModified(bool mod = true);
61 void setEnabled(int enable_type);
63 signals:
64 void sigModified();
66 protected:
67 void normalize(QString &str);
69 protected slots:
70 void slotAntonymSelected();
71 void slotSynonymSelected();
72 void slotExampSelected();
73 void slotRemarkSelected();
74 void slotParaSelected();
76 protected:
77 QString synonym;
78 QString antonym;
79 QString example;
80 QString remark;
81 QString paraphrase;
82 bool modified;
83 EntryDlg *dlgbook;
86 #endif // AuxInfoEntryPage_included