3 * KEduca - Interactive Tests and Exams for KDE
7 * 2004: Henrique Pinto <henrique.pinto@kdemail.net>
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 #include <kparts/part.h>
33 * KPart component for KEduca
34 * @author Henrique Pinto <henrique.pinto@kdemail.net>
36 class KEducaPart
: public KParts::ReadOnlyPart
43 KEducaPart( QWidget
*parentWidget
, const char *widgetName
, QObject
*parent
,
44 const char *name
, const QStringList
&args
);
49 virtual ~KEducaPart();
52 * Returns information about this part.
54 static KAboutData
* createAboutData();
58 * Opens the file indicated in the m_file member variable.
59 * Returns true on success, false if errors occured.
61 virtual bool openFile();
65 * Shows the configuration dialog.
70 * Updates the configuration in case the user has changed it in
73 void updateConfiguration();
77 * Sets the KActions for this part.
82 * The widget for this part.
87 #endif // KEDUCA_PART_H