diff options
| author | 2008-04-13 17:47:27 +0000 | |
|---|---|---|
| committer | 2008-04-13 17:47:27 +0000 | |
| commit | a1a2f81e9e131adc82330d0e20f02e00e3e12a25 (patch) | |
| tree | 3af827abfd7194365637d5a3277a118913d8e3d8 /src/modules/editor | |
| parent | quick fix (diff) | |
| download | KVIrc-a1a2f81e9e131adc82330d0e20f02e00e3e12a25.tar.gz KVIrc-a1a2f81e9e131adc82330d0e20f02e00e3e12a25.tar.bz2 KVIrc-a1a2f81e9e131adc82330d0e20f02e00e3e12a25.zip | |
removed QT3 QString stuff (wip). Need test.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1476 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/editor')
| -rw-r--r-- | src/modules/editor/scripteditor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/editor/scripteditor.cpp b/src/modules/editor/scripteditor.cpp index 44703c79b..b431b731f 100644 --- a/src/modules/editor/scripteditor.cpp +++ b/src/modules/editor/scripteditor.cpp @@ -452,7 +452,7 @@ bool KviScriptEditorWidget::contextSensitiveHelp() const void KviScriptEditorWidget::getWordOnCursor(QString &buffer,int index) const { QRegExp re("[ \t=,\\(\\)\"}{\\[\\]\r\n+-*><;@!]"); - //debug("BUFFER IS %s",buffer.utf8().data()); + //debug("BUFFER IS %s",buffer.toUtf8().data()); int start = buffer.findRev(re,index); int end = buffer.find(re,index); @@ -465,7 +465,7 @@ void KviScriptEditorWidget::getWordOnCursor(QString &buffer,int index) const tmp = buffer.mid(start,end-start); } buffer = tmp; - //debug("BUFFER NOW IS %s",buffer.utf8().data()); + //debug("BUFFER NOW IS %s",buffer.toUtf8().data()); } void KviScriptEditorWidget::completition(bool bCanComplete) @@ -953,7 +953,7 @@ void KviScriptEditorImplementation::saveToFile() QString buffer = m_pEditor->text(); //if(tmp.isEmpty())tmp = ""; - //KviStr buffer = tmp.utf8().data(); + //KviStr buffer = tmp.toUtf8().data(); if(!KviFileUtils::writeFile(fName,buffer)) { QString tmp; |
