aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/classeditor/classeditor.cpp
diff options
context:
space:
mode:
authorGravatar Noldor2010-03-01 22:17:29 +0000
committerGravatar Noldor2010-03-01 22:17:29 +0000
commit4451c7205f56a3c3b3c2a8c0b358752a639c5c1a (patch)
treed0574d460ee83479b966bd9559d9372d8d90d4a1 /src/modules/classeditor/classeditor.cpp
parentactualizar (diff)
downloadKVIrc-4451c7205f56a3c3b3c2a8c0b358752a639c5c1a.tar.gz
KVIrc-4451c7205f56a3c3b3c2a8c0b358752a639c5c1a.tar.bz2
KVIrc-4451c7205f56a3c3b3c2a8c0b358752a639c5c1a.zip
Fixed compilation under win
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4076 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/classeditor/classeditor.cpp')
-rw-r--r--src/modules/classeditor/classeditor.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/classeditor/classeditor.cpp b/src/modules/classeditor/classeditor.cpp
index 564145f0a..e6189fd18 100644
--- a/src/modules/classeditor/classeditor.cpp
+++ b/src/modules/classeditor/classeditor.cpp
@@ -1249,20 +1249,20 @@ void KviClassEditor::newNamespace()
void KviClassEditor::newMemberFunction()
{
- QString szFunctionName,szClassName;
- if(m_pLastClickedItem->isMethod()) m_pLastClickedItem=m_pLastClickedItem->parentItem();
- szClassName=buildFullClassName(m_pLastClickedItem);
- bool bInternal;
- askForFunction(szFunctionName, &bInternal,szClassName);
- if(szFunctionName.isEmpty())return;
- KviClassEditorTreeWidgetItem *it=newItem(szFunctionName,KviClassEditorTreeWidgetItem::Method);
- it->setInternalFunction(bInternal);
+ QString szFunctionName,szClassName;
+ if(m_pLastClickedItem->isMethod()) m_pLastClickedItem=m_pLastClickedItem->parentItem();
+ szClassName=buildFullClassName(m_pLastClickedItem);
+ bool bInternal;
+ askForFunction(szFunctionName, &bInternal,szClassName);
+ if(szFunctionName.isEmpty())return;
+ KviClassEditorTreeWidgetItem *it=newItem(szFunctionName,KviClassEditorTreeWidgetItem::Method);
+ // it->setInternalFunction(bInternal);
}
KviClassEditorTreeWidgetItem * KviClassEditor::newItem(QString &szName,KviClassEditorTreeWidgetItem::Type eType)
{
if(m_pLastClickedItem)
- buildFullItemPath(m_pLastClickedItem,szName);
+ buildFullItemPath(m_pLastClickedItem,szName);
QString szTmp;
if(findItem(szName)) szName.append("1");
int idx=2;