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();
|
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)
|
void AppletPrivate::scheduleConstraintsUpdate(Plasma::Constraints c)
|
||||||
{
|
{
|
||||||
// Don't start up a timer if we're just starting up
|
// Don't start up a timer if we're just starting up
|
||||||
@ -515,19 +506,6 @@ KConfigGroup *AppletPrivate::mainConfigGroup()
|
|||||||
return mainConfig;
|
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()
|
void AppletPrivate::resetConfigurationObject()
|
||||||
{
|
{
|
||||||
// make sure mainConfigGroup exists in all cases
|
// make sure mainConfigGroup exists in all cases
|
||||||
|
@ -90,21 +90,17 @@ public:
|
|||||||
void setIsContainment(bool isContainment, bool forceUpdate = false);
|
void setIsContainment(bool isContainment, bool forceUpdate = false);
|
||||||
|
|
||||||
QString globalName() const;
|
QString globalName() const;
|
||||||
QString instanceName();
|
|
||||||
void scheduleConstraintsUpdate(Plasma::Constraints c);
|
void scheduleConstraintsUpdate(Plasma::Constraints c);
|
||||||
void scheduleModificationNotification();
|
void scheduleModificationNotification();
|
||||||
KConfigGroup *mainConfigGroup();
|
KConfigGroup *mainConfigGroup();
|
||||||
QString visibleFailureText(const QString &reason);
|
|
||||||
void resetConfigurationObject();
|
void resetConfigurationObject();
|
||||||
void addGlobalShortcutsPage(KConfigDialog *dialog);
|
void addGlobalShortcutsPage(KConfigDialog *dialog);
|
||||||
void addPublishPage(KConfigDialog *dialog);
|
|
||||||
void configDialogFinished();
|
void configDialogFinished();
|
||||||
KConfigDialog *generateGenericConfigDialog();
|
KConfigDialog *generateGenericConfigDialog();
|
||||||
void addStandardConfigurationPages(KConfigDialog *dialog);
|
void addStandardConfigurationPages(KConfigDialog *dialog);
|
||||||
QString configDialogId() const;
|
QString configDialogId() const;
|
||||||
QString configWindowTitle() const;
|
QString configWindowTitle() const;
|
||||||
void updateShortcuts();
|
void updateShortcuts();
|
||||||
void publishCheckboxStateChanged(int state);
|
|
||||||
void globalShortcutChanged();
|
void globalShortcutChanged();
|
||||||
void propagateConfigChanged();
|
void propagateConfigChanged();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user