forward the link activated signal; common one
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866468
This commit is contained in:
parent
53c1c1cdbe
commit
835035a94d
@ -87,6 +87,7 @@ Label::Label(QGraphicsWidget *parent)
|
|||||||
d(new LabelPrivate(this))
|
d(new LabelPrivate(this))
|
||||||
{
|
{
|
||||||
QLabel* native = new QLabel;
|
QLabel* native = new QLabel;
|
||||||
|
connect(native, SIGNAL(linkActivated(QString)), this, SIGNAL(linkActivated(QString)));
|
||||||
|
|
||||||
connect(Theme::defaultTheme(), SIGNAL(themeChanged()), this, SLOT(setPalette()));
|
connect(Theme::defaultTheme(), SIGNAL(themeChanged()), this, SLOT(setPalette()));
|
||||||
native->setAttribute(Qt::WA_NoSystemBackground);
|
native->setAttribute(Qt::WA_NoSystemBackground);
|
||||||
|
@ -93,6 +93,9 @@ public:
|
|||||||
*/
|
*/
|
||||||
QLabel* nativeWidget() const;
|
QLabel* nativeWidget() const;
|
||||||
|
|
||||||
|
Q_SIGNALS:
|
||||||
|
void linkActivated(const QString &link);
|
||||||
|
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
void dataUpdated(const QString &sourceName, const Plasma::DataEngine::Data &data);
|
void dataUpdated(const QString &sourceName, const Plasma::DataEngine::Data &data);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user