[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdevelop/lib/interfaces
From: Roberto Raggi <roberto () kdevelop ! org>
Date: 2003-08-12 10:23:00
[Download RAW message or body]
CVS commit by raggi:
changed the signature of addAttribute()/addMethod()
M +8 -3 kdevlanguagesupport.cpp 1.14
M +4 -4 kdevlanguagesupport.h 1.19
--- kdevelop/lib/interfaces/kdevlanguagesupport.cpp #1.13:1.14
@@ -24,4 +24,5 @@ KMimeType::List KDevLanguageSupport::mim
QString KDevLanguageSupport::formatTag( const Tag& tag )
{
+ Q_UNUSED( tag );
return QString::null;
}
@@ -41,14 +42,17 @@ void KDevLanguageSupport::addClass()
}
-void KDevLanguageSupport::addMethod(const QString &/*className*/)
+void KDevLanguageSupport::addMethod( ClassDom klass )
{
+ Q_UNUSED( klass );
}
-void KDevLanguageSupport::implementVirtualMethods(const QString& /*className*/ )
+void KDevLanguageSupport::implementVirtualMethods( ClassDom klass )
{
+ Q_UNUSED( klass );
}
-void KDevLanguageSupport::addAttribute(const QString &/*className*/)
+void KDevLanguageSupport::addAttribute( ClassDom klass )
{
+ Q_UNUSED( klass );
}
@@ -65,4 +69,5 @@ QStringList KDevLanguageSupport::updateW
QString KDevLanguageSupport::formatModelItem( const CodeModelItem *item, bool shortDescription )
{
+ Q_UNUSED( shortDescription );
return item->name();
}
--- kdevelop/lib/interfaces/kdevlanguagesupport.h #1.18:1.19
@@ -10,7 +10,7 @@
#include <kmimetype.h>
#include "kdevplugin.h"
+#include "codemodel.h"
class Tag;
-class CodeModelItem;
class KDevLanguageSupport : public KDevPlugin
@@ -72,15 +72,15 @@ public:
* method to the sources.
*/
- virtual void addMethod(const QString &className);
+ virtual void addMethod( ClassDom klass );
/**
* Opens an "Implement Virtual Methods" dialog and adds the
* configured methods to the sources.
*/
- virtual void implementVirtualMethods(const QString &className);
+ virtual void implementVirtualMethods( ClassDom klass );
/**
* Opens an "Add attribute" dialog and adds the configured
* method to the sources.
*/
- virtual void addAttribute(const QString &className);
+ virtual void addAttribute( ClassDom klass );
/**
* Opens an "Subclass Widget" dialog for given Qt .ui file (formName)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic