[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/libs/plasma/widgets
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2008-09-30 23:21:24
Message-ID: 1222816884.216448.9544.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 866468 by aseigo:

forward the link activated signal; common one


 M  +1 -0      label.cpp  
 M  +3 -0      label.h  


--- trunk/KDE/kdebase/workspace/libs/plasma/widgets/label.cpp #866467:866468
@@ -87,6 +87,7 @@
       d(new LabelPrivate(this))
 {
     QLabel* native = new QLabel;
+    connect(native, SIGNAL(linkActivated(QString)), this, SIGNAL(linkActivated(QString)));
 
     connect(Theme::defaultTheme(), SIGNAL(themeChanged()), this, SLOT(setPalette()));
     native->setAttribute(Qt::WA_NoSystemBackground);
--- trunk/KDE/kdebase/workspace/libs/plasma/widgets/label.h #866467:866468
@@ -93,6 +93,9 @@
      */
     QLabel* nativeWidget() const;
 
+Q_SIGNALS:
+    void linkActivated(const QString &link);
+
 public Q_SLOTS:
     void dataUpdated(const QString &sourceName, const Plasma::DataEngine::Data &data);
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic