1
/**************************************************************************
2
* Copyright (C) 2009 Ben Cooksley <bcooksley@kde.org> *
4
* This program is free software; you can redistribute it and/or *
5
* modify it under the terms of the GNU General Public License *
6
* as published by the Free Software Foundation; either version 2 *
7
* of the License, or (at your option) any later version. *
9
* This program is distributed in the hope that it will be useful, *
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12
* GNU General Public License for more details. *
14
* You should have received a copy of the GNU General Public License *
15
* along with this program; if not, write to the Free Software *
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA *
18
***************************************************************************/
28
class ClassicMode : public BaseMode
33
ClassicMode(QObject * parent, const QVariantList& );
36
void leaveModuleView();
37
QWidget * mainWidget();
38
KAboutData * aboutData();
39
ModuleView * moduleView() const;
42
QList<QAbstractItemView*> views() const;
46
void searchChanged( const QString& text );
47
void selectModule( const QModelIndex& selectedModule );
48
void changeModule( const QModelIndex& activeModule );
51
void addConfiguration( KConfigDialog * config );
52
void loadConfiguration();
53
void saveConfiguration();
58
void moveUp( MenuItem * item );