don't export AppletPrivate
This commit is contained in:
parent
c3924c75b7
commit
fda16dee08
@ -26,7 +26,6 @@
|
|||||||
#include <config-plasma.h>
|
#include <config-plasma.h>
|
||||||
|
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QVBoxLayout>
|
|
||||||
#include <qstandardpaths.h>
|
#include <qstandardpaths.h>
|
||||||
|
|
||||||
#include <kaction.h>
|
#include <kaction.h>
|
||||||
|
@ -25,7 +25,6 @@
|
|||||||
#include <QBasicTimer>
|
#include <QBasicTimer>
|
||||||
|
|
||||||
#include <kactioncollection.h>
|
#include <kactioncollection.h>
|
||||||
#include <kconfigdialog.h>
|
|
||||||
#include <kconfigskeleton.h>
|
#include <kconfigskeleton.h>
|
||||||
#include <kservice.h>
|
#include <kservice.h>
|
||||||
#include <kplugininfo.h>
|
#include <kplugininfo.h>
|
||||||
@ -40,35 +39,7 @@ namespace Plasma
|
|||||||
class AppletScript;
|
class AppletScript;
|
||||||
class Service;
|
class Service;
|
||||||
|
|
||||||
class AppletConfigDialog : public KConfigDialog
|
class AppletPrivate
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
public:
|
|
||||||
AppletConfigDialog(QWidget* parent, const QString &id, KConfigSkeleton *s)
|
|
||||||
: KConfigDialog(parent, id, s),
|
|
||||||
m_changed(false)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public Q_SLOTS:
|
|
||||||
void settingsModified(bool modified = true)
|
|
||||||
{
|
|
||||||
m_changed = modified;
|
|
||||||
updateButtons();
|
|
||||||
}
|
|
||||||
|
|
||||||
protected:
|
|
||||||
bool hasChanged()
|
|
||||||
{
|
|
||||||
return m_changed || KConfigDialog::hasChanged();
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
|
||||||
bool m_changed;
|
|
||||||
};
|
|
||||||
|
|
||||||
class PLASMA_EXPORT AppletPrivate
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
AppletPrivate(KService::Ptr service, const KPluginInfo *info, int uniqueID, Applet *applet);
|
AppletPrivate(KService::Ptr service, const KPluginInfo *info, int uniqueID, Applet *applet);
|
||||||
@ -103,7 +74,6 @@ public:
|
|||||||
|
|
||||||
static uint s_maxAppletId;
|
static uint s_maxAppletId;
|
||||||
|
|
||||||
// number of members at this point.
|
|
||||||
uint appletId;
|
uint appletId;
|
||||||
Applet *q;
|
Applet *q;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user