Fix crash if key bindings specified in profile cannot be found. Improve
[personal-kdebase.git] / apps / konqueror / src / konqextensionmanager.h
blob209ddd461e4b485be385904473594fa586a55f07
1 /*
3 konq_extensionmanager.h - Extension Manager for Konqueror
5 Copyright (c) 2003 by Martijn Klingens <klingens@kde.org>
6 Copyright (c) 2004 by Arend van Beelen jr. <arend@auton.nl>
8 *************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 *************************************************************************
18 #ifndef KONQEXTENSIONMANAGER_H
19 #define KONQEXTENSIONMANAGER_H
21 #include <kdialog.h>
23 class KonqExtensionManagerPrivate;
24 class KonqMainWindow;
25 namespace KParts { class ReadOnlyPart; }
27 /**
28 * Extension Manager for Konqueror. See KPluginSelector in kdelibs for
29 * documentation.
31 * @author Martijn Klingens <klingens@kde.org>
32 * @author Arend van Beelen jr. <arend@auton.nl>
34 class KonqExtensionManager
35 : public KDialog
37 Q_OBJECT
39 public:
40 KonqExtensionManager(QWidget *parent, KonqMainWindow *mainWindow, KParts::ReadOnlyPart* activePart);
41 ~KonqExtensionManager();
43 void apply();
45 public Q_SLOTS:
46 void setChanged(bool c);
47 void reparseConfiguration(const QByteArray &);
48 void slotOk();
49 void slotApply();
50 void slotDefault();
51 void slotUser1();
53 protected:
54 virtual void showEvent(QShowEvent *event);
56 private:
57 KonqExtensionManagerPrivate *d;
60 #endif // KONQEXTENSIONMANAGER_H