mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
plasma: remove deprecated and unused signal
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
d42ae03927
commit
beb932f7af
4 changed files with 1 additions and 33 deletions
|
@ -408,12 +408,6 @@ Q_SIGNALS:
|
||||||
*/
|
*/
|
||||||
void appletRemoved(Plasma::Applet *applet);
|
void appletRemoved(Plasma::Applet *applet);
|
||||||
|
|
||||||
/**
|
|
||||||
* Emitted when the containment requests zooming in or out one step.
|
|
||||||
* @deprecated
|
|
||||||
*/
|
|
||||||
void zoomRequested(Plasma::Containment *containment, Plasma::ZoomDirection direction);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Emitted when the user clicks on the toolbox
|
* Emitted when the user clicks on the toolbox
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -287,17 +287,6 @@ public:
|
||||||
*/
|
*/
|
||||||
AbstractDialogManager *dialogManager();
|
AbstractDialogManager *dialogManager();
|
||||||
|
|
||||||
/**
|
|
||||||
* Imports an applet layout from a config file. The results will be added to the
|
|
||||||
* current set of Containments.
|
|
||||||
* @deprecated Use the 4.6 version that takes a KConfigGroup
|
|
||||||
*
|
|
||||||
* @param config the name of the config file to load from,
|
|
||||||
* or the default config file if QString()
|
|
||||||
* @return the list of containments that were loaded
|
|
||||||
* @since 4.5
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the name of the preferred plugin to be used as containment toolboxes.
|
* Returns the name of the preferred plugin to be used as containment toolboxes.
|
||||||
* CustomContainments and CustomPanelContainments can still override it as their liking. It's also not guaranteed that the plugin will actually exist.
|
* CustomContainments and CustomPanelContainments can still override it as their liking. It's also not guaranteed that the plugin will actually exist.
|
||||||
|
|
|
@ -353,14 +353,7 @@ void PackageStructure::removeDefinition(const char *key)
|
||||||
|
|
||||||
QString PackageStructure::path(const char *key) const
|
QString PackageStructure::path(const char *key) const
|
||||||
{
|
{
|
||||||
//kDebug() << "looking for" << key;
|
return searchPath(key).first();
|
||||||
QMap<QByteArray, ContentStructure>::const_iterator it = d->contents.constFind(key);
|
|
||||||
if (it == d->contents.constEnd()) {
|
|
||||||
return QString();
|
|
||||||
}
|
|
||||||
|
|
||||||
//kDebug() << "found" << key << "and the value is" << it.value().paths.first();
|
|
||||||
return it.value().paths.first();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QStringList PackageStructure::searchPath(const char *key) const
|
QStringList PackageStructure::searchPath(const char *key) const
|
||||||
|
|
|
@ -94,14 +94,6 @@ enum Direction {
|
||||||
Right /**< Display to the right */
|
Right /**< Display to the right */
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* The direction of a zoom action.
|
|
||||||
*/
|
|
||||||
enum ZoomDirection {
|
|
||||||
ZoomIn = 0, /**< Zoom in one step */
|
|
||||||
ZoomOut = 1 /**< Zoom out one step */
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Location enumeration describes where on screen an element, such as an
|
* The Location enumeration describes where on screen an element, such as an
|
||||||
* Applet or its managing container, is positioned on the screen.
|
* Applet or its managing container, is positioned on the screen.
|
||||||
|
|
Loading…
Add table
Reference in a new issue