• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kanagram

  • sources
  • kde-4.12
  • kdeedu
  • kanagram
  • src
  • desktop
vocabsettings.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2005 by Joshua Keel <joshuakeel@gmail.com> *
3  * (C) 2007 by Jeremy Whiting <jpwhiting@kde.org> *
4  * *
5  * *
6  * This program is free software; you can redistribute it and/or modify *
7  * it under the terms of the GNU General Public License as published by *
8  * the Free Software Foundation; either version 2 of the License, or *
9  * (at your option) any later version. *
10  * *
11  * This program is distributed in the hope that it will be useful, *
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14  * GNU General Public License for more details. *
15  * *
16  * You should have received a copy of the GNU General Public License *
17  * along with this program; if not, write to the *
18  * Free Software Foundation, Inc., *
19  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
20  ***************************************************************************/
21 
22 #ifndef VOCABSETTINGS_H
23 #define VOCABSETTINGS_H
24 
25 #include "ui_vocabsettingswidget.h"
26 
27 class KConfigDialog;
28 
34 class VocabSettings : public QWidget, public Ui::VocabSettingsWidget
35 {
36 Q_OBJECT
37  public:
39  explicit VocabSettings(QWidget *parent);
40 
42  virtual ~VocabSettings();
43 
44  public slots:
45 
47  void refreshView();
48 
49  private:
50 
52  QStringList m_fileList;
53 
55  QStringList m_titleList;
56 
58  QStringList m_commentList;
59 
60  QMap<const QTreeWidgetItem*, int> m_itemMap;
61 
63  KConfigDialog *m_parent;
64 
65  private slots:
66 
70  void on_btnCreateNew_clicked();
71  void on_btnDownloadNew_clicked();
72  void on_btnEdit_clicked();
73  void slotSelectionChanged(QTreeWidgetItem *item);
74 };
75 
76 #endif
77 
VocabSettings::VocabSettings
VocabSettings(QWidget *parent)
default constructor
Definition: vocabsettings.cpp:37
QWidget
VocabSettings::refreshView
void refreshView()
reload the list of vocabularies from what's on disk
Definition: vocabsettings.cpp:53
VocabSettings::~VocabSettings
virtual ~VocabSettings()
default destructor
Definition: vocabsettings.cpp:49
VocabSettings
Vocabulary Settings class.
Definition: vocabsettings.h:34
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:35 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kanagram

Skip menu "kanagram"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal