plasma: remove unused focus-related signals

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-05-19 10:25:10 +03:00
parent 4621f48a1c
commit 7ce4310781
5 changed files with 0 additions and 22 deletions

View file

@ -1719,8 +1719,6 @@ void Applet::showConfigurationInterface()
KConfigDialog *dialog = d->generateGenericConfigDialog(); KConfigDialog *dialog = d->generateGenericConfigDialog();
d->addStandardConfigurationPages(dialog); d->addStandardConfigurationPages(dialog);
showConfigurationInterface(dialog); showConfigurationInterface(dialog);
emit releaseVisualFocus();
} }
void Applet::showConfigurationInterface(QWidget *widget) void Applet::showConfigurationInterface(QWidget *widget)

View file

@ -611,15 +611,6 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
*/ */
bool hasValidAssociatedApplication() const; bool hasValidAssociatedApplication() const;
Q_SIGNALS:
/**
* This signal indicates that an application launch, window
* creation or window focus event was triggered. This is used, for instance,
* to ensure that the Dashboard view in Plasma Desktop hides when such an event is
* triggered by an item it is displaying.
*/
void releaseVisualFocus();
Q_SIGNALS: Q_SIGNALS:
/** /**
* Emitted when the user completes a transformation of the applet. * Emitted when the user completes a transformation of the applet.

View file

@ -849,7 +849,6 @@ void Containment::addApplet(Applet *applet, const QPointF &pos, bool delayInit)
d->applets << applet; d->applets << applet;
connect(applet, SIGNAL(configNeedsSaving()), this, SIGNAL(configNeedsSaving())); connect(applet, SIGNAL(configNeedsSaving()), this, SIGNAL(configNeedsSaving()));
connect(applet, SIGNAL(releaseVisualFocus()), this, SIGNAL(releaseVisualFocus()));
connect(applet, SIGNAL(appletDestroyed(Plasma::Applet*)), this, SLOT(appletDestroyed(Plasma::Applet*))); connect(applet, SIGNAL(appletDestroyed(Plasma::Applet*)), this, SLOT(appletDestroyed(Plasma::Applet*)));
connect(applet, SIGNAL(newStatus(Plasma::ItemStatus)), this, SLOT(checkStatus(Plasma::ItemStatus))); connect(applet, SIGNAL(newStatus(Plasma::ItemStatus)), this, SLOT(checkStatus(Plasma::ItemStatus)));
connect(applet, SIGNAL(activate()), this, SIGNAL(activate())); connect(applet, SIGNAL(activate()), this, SIGNAL(activate()));

View file

@ -951,8 +951,6 @@ Containment *CoronaPrivate::addContainment(const QString &name, const QVariantLi
q, SLOT(containmentDestroyed(QObject*))); q, SLOT(containmentDestroyed(QObject*)));
QObject::connect(containment, SIGNAL(configNeedsSaving()), QObject::connect(containment, SIGNAL(configNeedsSaving()),
q, SLOT(requestConfigSync())); q, SLOT(requestConfigSync()));
QObject::connect(containment, SIGNAL(releaseVisualFocus()),
q, SIGNAL(releaseVisualFocus()));
QObject::connect(containment, SIGNAL(screenChanged(int,int,Plasma::Containment*)), QObject::connect(containment, SIGNAL(screenChanged(int,int,Plasma::Containment*)),
q, SIGNAL(screenOwnerChanged(int,int,Plasma::Containment*))); q, SIGNAL(screenOwnerChanged(int,int,Plasma::Containment*)));

View file

@ -379,14 +379,6 @@ Q_SIGNALS:
*/ */
void screenOwnerChanged(int wasScreen, int isScreen, Plasma::Containment *containment); void screenOwnerChanged(int wasScreen, int isScreen, Plasma::Containment *containment);
/**
* This signal indicates that an application launch, window
* creation or window focus event was triggered. This is used, for instance,
* to ensure that the Dashboard view in Plasma hides when such an event is
* triggered by an item it is displaying.
*/
void releaseVisualFocus();
/** /**
* This signal indicates that the configuration file was flushed to disc. * This signal indicates that the configuration file was flushed to disc.
*/ */