* *
***************************************************************************/
+#include "keduvoccsvreader.h"
+
#include <QIODevice>
#include <QTextStream>
#include "keduvocdocument.h"
#include "keduvocexpression.h"
-#include "keduvoccsvreader.h"
KEduVocCsvReader::KEduVocCsvReader(QIODevice *file)
{
#ifndef KEDUVOCCSVREADER_H
#define KEDUVOCCSVREADER_H
+#include <QString>
+
class QIODevice;
+
class KEduVocDocument;
-class KEduVocCsvReader : public QObject
+class KEduVocCsvReader
{
public:
KEduVocCsvReader(QIODevice *file);
/***************************************************************************
export a KEduVocDocument to a delimited text file
-----------------------------------------------------------------------
- copyright : (C) 1999-2001 Ewald Arnold
- (C) 2001 The KDE-EDU team
- (C) 2007 Peter Hedlund <peter.hedlund@kdemail.net>
+ copyright : (C) 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
+ (C) 2001 The KDE-EDU team
+ (C) 2007 Peter Hedlund <peter.hedlund@kdemail.net>
***************************************************************************/
/***************************************************************************
* *
***************************************************************************/
+#include "keduvoccsvwriter.h"
+
#include <QFile>
#include <QTextStream>
#include <KLocale>
-#include "keduvoccsvwriter.h"
#include "keduvocdocument.h"
#include "keduvocexpression.h"
/***************************************************************************
export a KEduVocDocument to a delimited text file
-----------------------------------------------------------------------
- copyright : (C) 1999-2001 Ewald Arnold
+ copyright : (C) 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
(C) 2001 The KDE-EDU team
(C) 2007 Peter Hedlund <peter.hedlund@kdemail.net>
***************************************************************************/
#define KEDUVOCCSVWRITER_H
class QFile;
+class QString;
class KEduVocDocument;
class KEduVocCsvWriter
/***************************************************************************
Vocabulary Document for KDE Edu
-----------------------------------------------------------------------
- copyright : (C) 1999-2001 Ewald Arnold
+ copyright : (C) 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
(C) 2001 The KDE-EDU team
(C) 2005-2007 Peter Hedlund <peter.hedlund@kdemail.net>
***************************************************************************/
/***************************************************************************
Vocabulary Document for KDE Edu
-----------------------------------------------------------------------
- copyright : (C) 1999-2001 Ewald Arnold
+ copyright : (C) 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
(C) 2001 The KDE-EDU team
(C) 2005, 2007 Peter Hedlund <peter.hedlund@kdemail.net>
***************************************************************************/
* Delete a lesson.
* @param lessonIndex which lesson
* @param deleteMode either KVocDocument::DeleteEmptyLesson (delete only if empty) or KVocDocument::DeleteEntriesAndLesson (delete including vocabulary in that lesson)
- * @returns if the deletion was successfull. If there are vocabularies in the lesson, but DeleteEmptyLesson, this will return false and not delete the lesson.
+ * @returns if the deletion was successful. If there are vocabularies in the lesson, but DeleteEmptyLesson, this will return false and not delete the lesson.
*/
bool deleteLesson(int lessonIndex, int deleteMode);
/***************************************************************************
Vocabulary Expression for KDE Edu
-----------------------------------------------------------------------
- copyright : (C) 1999-2001 Ewald Arnold
- (C) 2001 The KDE-EDU team
- (C) 2005-2007 Peter Hedlund
- email : peter.hedlund@kdemail.net
+ copyright : (C) 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
+ (C) 2001 The KDE-EDU team
+ (C) 2005-2007 Peter Hedlund <peter.hedlund@kdemail.net>
***************************************************************************/
/***************************************************************************
/***************************************************************************
Vocabulary Expression for KDE Edu
-----------------------------------------------------------------------
- copyright : (C) 1999-2001 Ewald Arnold
+ copyright : (C) 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
(C) 2001 The KDE-EDU team
- (C) 2005-2007 Peter Hedlund
- email : peter.hedlund@kdemail.net
+ (C) 2005-2007 Peter Hedlund <peter.hedlund@kdemail.net>
***************************************************************************/
/***************************************************************************
/***************************************************************************
read a KEduVocDocument from a KVTML file
-----------------------------------------------------------------------
- copyright : (C) 1999-2001 Ewald Arnold
+ copyright : (C) 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
(C) 2001 The KDE-EDU team
(C) 2005 Eric Pignet <eric at erixpage.com>
(C) 2007 Peter Hedlund <peter.hedlund@kdemail.net>
* *
***************************************************************************/
+#include "keduvockvtmlreader.h"
+
#include <QTextStream>
#include <QList>
#include <QStringList>
#include <kdebug.h>
#include <klocale.h>
-#include "keduvockvtmlreader.h"
#include "keduvocdocument.h"
#include "kvtmldefs.h"
/***************************************************************************
read a KEduVocDocument from a KVTML file
-----------------------------------------------------------------------
- copyright : (C) 1999-2001 Ewald Arnold
- (C) 2001 The KDE-EDU team
- (C) 2005 Eric Pignet <eric at erixpage.com>
- (C) 2007 Peter Hedlund <peter.hedlund@kdemail.net>
+ copyright : (C) 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
+ (C) 2001 The KDE-EDU team
+ (C) 2005 Eric Pignet <eric at erixpage.com>
+ (C) 2007 Peter Hedlund <peter.hedlund@kdemail.net>
***************************************************************************/
/***************************************************************************
/***************************************************************************
export a KEduVocDocument to a KVTML file
-----------------------------------------------------------------------
- copyright : (C) 1999-2001 Ewald Arnold
+ copyright : (C) 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
(C) 2001 The KDE-EDU team
(C) 2005 Eric Pignet <eric at erixpage.com>
(C) 2007 Peter Hedlund <peter.hedlund@kdemail.net>
* *
***************************************************************************/
-#include <kdebug.h>
+#include "keduvockvtmlwriter.h"
+
#include <QTextStream>
#include <QFile>
-#include "keduvockvtmlwriter.h"
+#include <kdebug.h>
+
#include "keduvocdocument.h"
#include "keduvocexpression.h"
#include "kvtmldefs.h"
/***************************************************************************
export a KEduVocDocument to a KVTML file
-----------------------------------------------------------------------
- copyright : (C) 1999-2001 Ewald Arnold
- (C) 2001 The KDE-EDU team
- (C) 2005 Eric Pignet <eric at erixpage.com>
- (C) 2007 Peter Hedlund <peter.hedlund@kdemail.net>
+ copyright : (C) 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
+ (C) 2001 The KDE-EDU team
+ (C) 2005 Eric Pignet <eric at erixpage.com>
+ (C) 2007 Peter Hedlund <peter.hedlund@kdemail.net>
***************************************************************************/
/***************************************************************************
#include <QtXml/QDomDocument>
#include <QList>
+#include <QFile>
#include "keduvocgrammar.h"
#include "keduvocmultiplechoice.h"
* *
***************************************************************************/
+#include "keduvocvokabelnreader.h"
+
#include <QIODevice>
#include <klocale.h>
#include "keduvocdocument.h"
#include "keduvocexpression.h"
-#include "keduvocvokabelnreader.h"
KEduVocVokabelnReader::KEduVocVokabelnReader(QIODevice *file)
{
#ifndef KEDUVOCVOKABELNREADER_H
#define KEDUVOCVOKABELNREADER_H
+#include <QString>
+
class QIODevice;
class KEduVocDocument;
-class KEduVocVokabelnReader : public QObject
+class KEduVocVokabelnReader
{
public:
KEduVocVokabelnReader(QIODevice *file);
* *
***************************************************************************/
+#include "keduvocwqlreader.h"
+
#include <QTextStream>
#include <QIODevice>
#include <klocale.h>
-#include "keduvocwqlreader.h"
#include "keduvocdocument.h"
#include "keduvocexpression.h"
#ifndef KEDUVOCWQLREADER_H
#define KEDUVOCWQLREADER_H
+#include <QString>
+
class QIODevice;
class KEduVocDocument;
-class KEduVocWqlReader : public QObject
+class KEduVocWqlReader
{
public:
KEduVocWqlReader(QIODevice *file);
/***************************************************************************
Vocabulary Document for KDE Edu
-----------------------------------------------------------------------
- copyright : (C) 1999-2001 Ewald Arnold
+ copyright : (C) 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
(C) 2001 The KDE-EDU team
(C) 2005, 2007 Peter Hedlund <peter.hedlund@kdemail.net>
***************************************************************************/
-//
-// C++ Implementation: leitnerbox
-//
-// Description:
-//
-//
-// Author: Martin Pfeiffer <martin-pfeiffer-bensheim@web.de>, (C) 2005
-//
-// Copyright: See COPYING file that comes with this distribution
-//
-//
+/***************************************************************************
+ * Copyright (C) 2005 by Martin Pfeiffer <hubipete@gmx.net> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the *
+ * Free Software Foundation, Inc., *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
+ ***************************************************************************/
+
#include "leitnerbox.h"
LeitnerBox::LeitnerBox()
-#ifndef LEITNERBOX_H
-#define LEITNERBOX_H
-
/***************************************************************************
* Copyright (C) 2005 by Martin Pfeiffer <hubipete@gmx.net> *
* *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
+#ifndef LEITNERBOX_H
+#define LEITNERBOX_H
+
#include <libkdeedu_core_export.h>
#include <QString>
-//
-// C++ Implementation: leitnersystem
-//
-// Description:
-//
-//
-// Author: Martin Pfeiffer <martin-pfeiffer-bensheim@web.de>, (C) 2005
-//
-// Copyright: See COPYING file that comes with this distribution
-//
-//
+/***************************************************************************
+ * Copyright (C) 2005 by Martin Pfeiffer <hubipete@gmx.net> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the *
+ * Free Software Foundation, Inc., *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
+ ***************************************************************************/
+
#include "leitnersystem.h"
#include <kdebug.h>
+/***************************************************************************
+ * Copyright (C) 2005 by Martin Pfeiffer <hubipete@gmx.net> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the *
+ * Free Software Foundation, Inc., *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
+ ***************************************************************************/
+
#ifndef LEITNERSYSTEM_H
#define LEITNERSYSTEM_H
-//
-// C++ Interface: leitnersystem
-//
-// Description:
-//
-//
-// Author: Martin Pfeiffer <martin-pfeiffer-bensheim@web.de>, (C) 2005
-//
-// Copyright: See COPYING file that comes with this distribution
-//
-//
-
#include <libkdeedu_core_export.h>
-
#include <QStringList>
#include "leitnerbox.h"
-//
-// C++ Implementation: leitnersystemview
-//
-// Description:
-//
-//
-// Author: Martin Pfeiffer <martin-pfeiffer-bensheim@web.de>, (C) 2005
-//
-// Copyright: See COPYING file that comes with this distribution
-//
-//
+/***************************************************************************
+ * Copyright (C) 2005 by Martin Pfeiffer <hubipete@gmx.net> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the *
+ * Free Software Foundation, Inc., *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
+ ***************************************************************************/
#include "leitnersystemview.h"
-//
-// C++ Interface: leitnersystemview
-//
-// Description:
-//
-//
-// Author: Martin Pfeiffer <martin-pfeiffer-bensheim@web.de>, (C) 2005
-//
-// Copyright: See COPYING file that comes with this distribution
-//
-//
+/***************************************************************************
+ * Copyright (C) 2005 by Martin Pfeiffer <hubipete@gmx.net> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the *
+ * Free Software Foundation, Inc., *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
+ ***************************************************************************/
+
#ifndef LEITNERSYSTEMVIEW_H
#define LEITNERSYSTEMVIEW_H
void highlightBox( int box );
Q_SIGNALS:
- void boxClicked(int box); //is emited if the user clicks on a box
+ void boxClicked(int box); //is emitted if the user clicks on a box
protected:
virtual void paintEvent( QPaintEvent* );