moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kvoctrain / kvoctrain / common-dialogs / pasteoptions.h
blob00f595b832d90ac37759ba93680ed3054e5a7d4d
1 /***************************************************************************
3 paste options for kvoctrain
5 -----------------------------------------------------------------------
7 begin : Thu Mar 31 2005
9 copyright :(C) 2005 Peter Hedlund
11 email : 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 PASTEOPTIONS_H
27 #define PASTEOPTIONS_H
29 #include "pasteoptionsbase.h"
30 #include "langset.h"
32 class kvoctrainDoc;
34 class PasteOptions : public PasteOptionsBase
36 Q_OBJECT
38 public:
39 PasteOptions(LangSet & langset, kvoctrainDoc * doc, QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
41 void updateWidgets();
42 bool hasChanged();
43 bool isDefault();
44 void updateSettings();
46 signals:
47 void widgetModified();
48 void syncPasteOrderList();
50 private slots:
51 void fillWidgets();
52 void syncButtons();
53 void slotUpButtonClicked();
54 void slotSkipButtonClicked();
55 void slotDownButtonClicked();
56 void slotSeparatorComboActivated(int);
57 void slotUseCurrentDocToggled(bool);
59 private:
60 void slotSyncPasteOrderList();
61 QStringList preparePasteOrderList();
62 kvoctrainDoc * m_doc;
63 LangSet m_langSet;
67 #endif