From 4ef0003a262bc9c7fa528956557d4f04e9d63688 Mon Sep 17 00:00:00 2001 From: Reto Zingg Date: Sat, 15 Dec 2012 19:28:48 +0200 Subject: [PATCH] adapt qmvocmultiplechoice.h for querymee --- qmvocmultiplechoice.h | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/qmvocmultiplechoice.h b/qmvocmultiplechoice.h index 6a9d8e6..a9564a4 100644 --- a/qmvocmultiplechoice.h +++ b/qmvocmultiplechoice.h @@ -1,3 +1,7 @@ +/*************************************************************************** +* this file is from kdeedu project. Filename: keduvocmultiplechoice.h +***************************************************************************/ + /*************************************************************************** manage multiple choice suggestions for queries @@ -10,6 +14,8 @@ (C) 2005 Peter Hedlund + (C) 2010, 2012 Reto Zingg + ----------------------------------------------------------------------- ***************************************************************************/ @@ -24,21 +30,21 @@ ***************************************************************************/ -#ifndef KEDUVOCMULTIPLECHOICE_H -#define KEDUVOCMULTIPLECHOICE_H +#ifndef QMVOCMULTIPLECHOICE_H +#define QMVOCMULTIPLECHOICE_H -#include "libkeduvocdocument_export.h" +#include "libqmvocdocument_export.h" #include -class KEDUVOCDOCUMENT_EXPORT KEduVocMultipleChoice +class QMVOCDOCUMENT_EXPORT QmVocMultipleChoice { public: - KEduVocMultipleChoice(); - KEduVocMultipleChoice( const KEduVocMultipleChoice &other ); - KEduVocMultipleChoice( const QStringList &choices ); + QmVocMultipleChoice(); + QmVocMultipleChoice( const QmVocMultipleChoice &other ); + QmVocMultipleChoice( const QStringList &choices ); - ~KEduVocMultipleChoice(); + ~QmVocMultipleChoice(); QStringList choices() const; void appendChoice( const QString &s ); @@ -49,13 +55,13 @@ public: void clear(); unsigned size() const; - bool operator== ( const KEduVocMultipleChoice &choice ) const; + bool operator== ( const QmVocMultipleChoice &choice ) const; - KEduVocMultipleChoice &operator= ( const KEduVocMultipleChoice &other ); + QmVocMultipleChoice &operator= ( const QmVocMultipleChoice &other ); private: - class KEduVocMultipleChoicePrivate; - KEduVocMultipleChoicePrivate * const d; + class QmVocMultipleChoicePrivate; + QmVocMultipleChoicePrivate * const d; }; -- 2.47.3