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

libkdeedu/keduvocdocument

  • sources
  • kde-4.12
  • kdeedu
  • libkdeedu
  • keduvocdocument
keduvocmultiplechoice.h
Go to the documentation of this file.
1 /***************************************************************************
2 
3  manage multiple choice suggestions for queries
4 
5  -----------------------------------------------------------------------
6 
7  begin : Mon Oct 29 18:09:29 1999
8 
9  copyright : (C) 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
10 
11  (C) 2005 Peter Hedlund <peter.hedlund@kdemail.net>
12 
13  -----------------------------------------------------------------------
14 
15  ***************************************************************************/
16 
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  ***************************************************************************/
25 
26 
27 #ifndef KEDUVOCMULTIPLECHOICE_H
28 #define KEDUVOCMULTIPLECHOICE_H
29 
30 #include "libkeduvocdocument_export.h"
31 
32 #include <QtCore/QStringList>
33 
34 class KEDUVOCDOCUMENT_EXPORT KEduVocMultipleChoice
35 {
36 public:
37  KEduVocMultipleChoice();
38  KEduVocMultipleChoice( const KEduVocMultipleChoice &other );
39  KEduVocMultipleChoice( const QStringList &choices );
40 
41  ~KEduVocMultipleChoice();
42 
43  QStringList choices() const;
44  void appendChoice( const QString &s );
45 
46  QString choice( int index ) const;
47 
48  bool isEmpty() const;
49  void clear();
50  unsigned size() const;
51 
52  bool operator== ( const KEduVocMultipleChoice &choice ) const;
53 
54  KEduVocMultipleChoice &operator= ( const KEduVocMultipleChoice &other );
55 
56 private:
57  class KEduVocMultipleChoicePrivate;
58  KEduVocMultipleChoicePrivate * const d;
59 };
60 
61 
62 #endif // MultipleChoice_included
libkeduvocdocument_export.h
KEDUVOCDOCUMENT_EXPORT
#define KEDUVOCDOCUMENT_EXPORT
Definition: libkeduvocdocument_export.h:32
KEduVocMultipleChoice
Definition: keduvocmultiplechoice.h:34
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:37:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkdeedu/keduvocdocument

Skip menu "libkdeedu/keduvocdocument"
  • Main Page
  • Namespace List
  • Namespace Members
  • 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