API REVIEW: requestFocus() dies

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801637
This commit is contained in:
Davide Bettio 2008-04-27 09:18:44 +00:00
parent 7e5915f398
commit 55881aa054
2 changed files with 0 additions and 17 deletions

View File

@ -1201,8 +1201,6 @@ void Applet::needsFocus(bool focus)
if (focus == QGraphicsItem::hasFocus()) {
return;
}
emit requestFocus(focus);
}
bool Applet::hasConfigurationInterface() const

View File

@ -494,21 +494,6 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
*/
void launchActivated();
/**
* Emitted when the applet needs to take (or lose) keyboard focus.
*
* An applet should emit this signal to ensure that autohiding
* elements stay unhidden and other bits of bookkeeping are
* performed to ensure proper function.
*
* If you call watchForFocus on your applet, then this is handled for
* the applet and it is not necessary to emit the signal directly.
*
* @param focus true if the applet is taking keyboard focus, false if
* it is giving it up
**/
void requestFocus( bool focus );
/**
* Emitted whenever the applet makes a geometry change, so that views
* can coordinate themselves with these changes if they desire.