[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: make_it_cool: kdevelop/lib/interfaces
From: Roberto Raggi <roberto () kdevelop ! org>
Date: 2003-07-31 12:29:10
[Download RAW message or body]
CVS commit by raggi:
added ::hasFunction(const QString&)
M +5 -0 codemodel.cpp 1.1.2.2
M +1 -0 codemodel.h 1.1.2.2
--- kdevelop/lib/interfaces/codemodel.cpp #1.1.2.1:1.1.2.2
@@ -331,4 +331,9 @@ const FunctionList ClassModel::functionL
}
+bool ClassModel::hasFunction( const QString & name ) const
+{
+ return m_functions.contains( name );
+}
+
FunctionList ClassModel::functionByName( const QString & name )
{
--- kdevelop/lib/interfaces/codemodel.h #1.1.2.1:1.1.2.2
@@ -216,4 +216,5 @@ public:
FunctionList functionList();
const FunctionList functionList() const;
+ bool hasFunction( const QString& name ) const;
FunctionList functionByName( const QString& name );
const FunctionList functionByName( const QString& name ) const;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic