KDE/kdevelop/lib/interfaces

Andras Mantia amantia at kde.org
Sat Apr 29 09:05:07 UTC 2006


SVN commit 535291 by amantia:

If you want it: compile with trunk. ;-)

CCMAIL: kdevelop-devel at kdevelop.org

 M  +3 -3      kdevcodemodel.cpp  


--- trunk/KDE/kdevelop/lib/interfaces/kdevcodemodel.cpp #535290:535291
@@ -134,7 +134,7 @@
 void KDevCodeItem::addReference( KTextEditor::SmartRange * range )
 {
     m_references.append(range);
-    range->setWatcher(this);
+    range->addWatcher(this);
 }
 
 void KDevCodeItem::deleted( KTextEditor::SmartRange * range )
@@ -150,7 +150,7 @@
 void KDevCodeItem::setDeclaration( KTextEditor::SmartRange * range )
 {
     m_declaration = range;
-    range->setWatcher(this);
+    range->addWatcher(this);
 }
 
 KTextEditor::SmartRange * KDevCodeItem::definition( ) const
@@ -161,7 +161,7 @@
 void KDevCodeItem::setDefinition( KTextEditor::SmartRange * range )
 {
     m_definition = range;
-    range->setWatcher(this);
+    range->addWatcher(this);
 }
 
 #include "kdevcodemodel.moc"




More information about the KDevelop-devel mailing list