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

List:       kde-commits
Subject:    KDE/kdevelop/languages/cpp/debugger
From:       Hamish Rodda <rodda () kde ! org>
Date:       2008-06-27 8:48:20
Message-ID: 1214556500.834782.7812.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 825047 by rodda:

Suppress signal/slot connection warnings

 M  +5 -3      debuggerplugin.cpp  


--- trunk/KDE/kdevelop/languages/cpp/debugger/debuggerplugin.cpp #825046:825047
@@ -114,7 +114,8 @@
 
   virtual void viewCreated(Sublime::View* view)
   {
-      QObject::connect(view->widget(), SIGNAL(requestRaise()), view, \
SLOT(requestRaise())); +      if \
(view->widget()->metaObject()->indexOfSignal(SIGNAL(requestRaise())) != -1) +         \
QObject::connect(view->widget(), SIGNAL(requestRaise()), view, SLOT(requestRaise())); \
}  
 private:
@@ -499,8 +500,9 @@
 //     connect(statusBarIndicator, SIGNAL(doubleClicked()),
 //             controller, SLOT(explainDebuggerStatus()));
 
-    connect(this, SIGNAL(addWatchVariable(const QString&)), controller->variables(), \
                SLOT(slotAddWatchVariable(const QString&)));
-    connect(this, SIGNAL(evaluateExpression(const QString&)), \
controller->variables(), SLOT(slotEvaluateExpression(const QString&))); +    // TODO: \
reimplement / re-enable +    //connect(this, SIGNAL(addWatchVariable(const \
QString&)), controller->variables(), SLOT(slotAddWatchVariable(const QString&))); +   \
//connect(this, SIGNAL(evaluateExpression(const QString&)), controller->variables(), \
SLOT(slotEvaluateExpression(const QString&)));  }
 
 bool CppDebuggerPlugin::execute(const KDevelop::IRun & run, KJob* job)


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

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