remove unused methods in AppletPrivate
This commit is contained in:
parent
fb0da15576
commit
edf1250dce
@ -435,15 +435,6 @@ QString AppletPrivate::globalName() const
|
||||
return appletDescription.service()->library();
|
||||
}
|
||||
|
||||
QString AppletPrivate::instanceName()
|
||||
{
|
||||
if (!appletDescription.isValid()) {
|
||||
return QString();
|
||||
}
|
||||
|
||||
return appletDescription.service()->library() + QString::number(appletId);
|
||||
}
|
||||
|
||||
void AppletPrivate::scheduleConstraintsUpdate(Plasma::Constraints c)
|
||||
{
|
||||
// Don't start up a timer if we're just starting up
|
||||
@ -515,19 +506,6 @@ KConfigGroup *AppletPrivate::mainConfigGroup()
|
||||
return mainConfig;
|
||||
}
|
||||
|
||||
QString AppletPrivate::visibleFailureText(const QString &reason)
|
||||
{
|
||||
QString text;
|
||||
|
||||
if (reason.isEmpty()) {
|
||||
text = i18n("This object could not be created.");
|
||||
} else {
|
||||
text = i18n("This object could not be created for the following reason:<p><b>%1</b></p>", reason);
|
||||
}
|
||||
|
||||
return text;
|
||||
}
|
||||
|
||||
void AppletPrivate::resetConfigurationObject()
|
||||
{
|
||||
// make sure mainConfigGroup exists in all cases
|
||||
|
@ -90,21 +90,17 @@ public:
|
||||
void setIsContainment(bool isContainment, bool forceUpdate = false);
|
||||
|
||||
QString globalName() const;
|
||||
QString instanceName();
|
||||
void scheduleConstraintsUpdate(Plasma::Constraints c);
|
||||
void scheduleModificationNotification();
|
||||
KConfigGroup *mainConfigGroup();
|
||||
QString visibleFailureText(const QString &reason);
|
||||
void resetConfigurationObject();
|
||||
void addGlobalShortcutsPage(KConfigDialog *dialog);
|
||||
void addPublishPage(KConfigDialog *dialog);
|
||||
void configDialogFinished();
|
||||
KConfigDialog *generateGenericConfigDialog();
|
||||
void addStandardConfigurationPages(KConfigDialog *dialog);
|
||||
QString configDialogId() const;
|
||||
QString configWindowTitle() const;
|
||||
void updateShortcuts();
|
||||
void publishCheckboxStateChanged(int state);
|
||||
void globalShortcutChanged();
|
||||
void propagateConfigChanged();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user