SVN commit 1196618 by sujithh: Adding tooltip to the frame applet. The file name will be displayed when the mouse pointer is placed in the frame. M +5 -0 frame.cpp --- trunk/KDE/kdeplasma-addons/applets/frame/frame.cpp #1196617:1196618 @@ -45,6 +45,8 @@ #include #include #include +#include +#include #include @@ -273,6 +275,9 @@ } kDebug() << "Rendering picture"; + Plasma::ToolTipContent toolTipData; + toolTipData.setSubText(m_mySlideShow->currentUrl().fileName()); + Plasma::ToolTipManager::self()->setContent(this, toolTipData); // create a QPixmap which can be drawn in paintInterface() QPixmap picture = QPixmap::fromImage(m_scaledImage);