diff options
| author | 2010-12-25 05:28:46 +0000 | |
|---|---|---|
| committer | 2010-12-25 05:28:46 +0000 | |
| commit | f2f47c5eaa7d284abad1f693d7c75c85c42565df (patch) | |
| tree | 2dd141a4ae4911ef3a1abf4d1910d3f7ba071c27 /src/modules/raweditor | |
| parent | More work on the window popup (diff) | |
| download | KVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.tar.gz KVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.tar.bz2 KVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.zip | |
Beginning of 'the big rename & cleanup'. File names should match class names, when possible. Move classes to one per file. Move C functions to namespaces, if possible. Kill some abbreviations...
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5229 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/raweditor')
| -rw-r--r-- | src/modules/raweditor/libkviraweditor.cpp | 4 | ||||
| -rw-r--r-- | src/modules/raweditor/raweditor.cpp | 16 | ||||
| -rw-r--r-- | src/modules/raweditor/raweditor.h | 8 |
3 files changed, 14 insertions, 14 deletions
diff --git a/src/modules/raweditor/libkviraweditor.cpp b/src/modules/raweditor/libkviraweditor.cpp index 9b3ecccff..4f7f0f88b 100644 --- a/src/modules/raweditor/libkviraweditor.cpp +++ b/src/modules/raweditor/libkviraweditor.cpp @@ -4,7 +4,7 @@ // Creation date : Mon 23 Dec 2002 20:23:59 2002 GMT by Szymon Stefanek // // This toolbar is part of the KVirc irc client distribution -// Copyright (C) 2002-2008 Szymon Stefanek (pragma at kvirc dot net) +// Copyright (C) 2002-2010 Szymon Stefanek (pragma at kvirc dot net) // // This program is FREE software. You can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -25,7 +25,7 @@ #include "raweditor.h" #include "kvi_module.h" -#include "kvi_locale.h" +#include "KviLocale.h" #include "kvi_frame.h" diff --git a/src/modules/raweditor/raweditor.cpp b/src/modules/raweditor/raweditor.cpp index f5044bc1f..e6c3cc1c7 100644 --- a/src/modules/raweditor/raweditor.cpp +++ b/src/modules/raweditor/raweditor.cpp @@ -4,7 +4,7 @@ // Creation date : Mon Dec 23 2002 20:28:18 by Szymon Stefanek // // This file is part of the KVirc irc client distribution -// Copyright (C) 2002-2008 Szymon Stefanek (pragma at kvirc dot net) +// Copyright (C) 2002-2010 Szymon Stefanek (pragma at kvirc dot net) // // This program is FREE software. You can redistribute it and/or // modify it under the linkss of the GNU General Public License @@ -27,16 +27,16 @@ #include "kvi_iconmanager.h" #include "kvi_iconmanager.h" #include "kvi_options.h" -#include "kvi_locale.h" +#include "KviLocale.h" #include "kvi_imagedialog.h" -#include "kvi_config.h" +#include "KviConfigurationFile.h" #include "kvi_filedialog.h" -#include "kvi_fileutils.h" +#include "KviFileUtils.h" #include "kvi_scripteditor.h" #include "kvi_debug.h" #include "kvi_fileextensions.h" #include "kvi_app.h" -#include "kvi_cmdformatter.h" +#include "KviCommandFormatter.h" #include "kvi_kvs_eventmanager.h" #include "kvi_kvs_eventhandler.h" #include "kvi_tal_vbox.h" @@ -531,7 +531,7 @@ void KviRawEditorWindow::getConfigGroupName(QString &szName) szName = "raweditor"; } -void KviRawEditorWindow::saveProperties(KviConfig *) +void KviRawEditorWindow::saveProperties(KviConfigurationFile *) { /* #ifdef COMPILE_SCRIPTTOOLBAR @@ -542,7 +542,7 @@ void KviRawEditorWindow::saveProperties(KviConfig *) */ } -void KviRawEditorWindow::loadProperties(KviConfig *) +void KviRawEditorWindow::loadProperties(KviConfigurationFile *) { /* #ifdef COMPILE_SCRIPTTOOLBAR @@ -550,7 +550,7 @@ void KviRawEditorWindow::loadProperties(KviConfig *) def.append(20); def.append(80); m_pEditor->setSizes(cfg->readIntListEntry("Sizes",def)); - KviStr tmp = cfg->readEntry("LastRaw",""); + KviCString tmp = cfg->readEntry("LastRaw",""); m_pEditor->editRaw(tmp); //qDebug("LAST EDITED WAS %s",tmp.ptr()); #endif // COMPILE_SCRIPTTOOLBAR diff --git a/src/modules/raweditor/raweditor.h b/src/modules/raweditor/raweditor.h index f2bc47ccd..646e22811 100644 --- a/src/modules/raweditor/raweditor.h +++ b/src/modules/raweditor/raweditor.h @@ -6,7 +6,7 @@ // Creation date : Mon Dec 23 2002 20:24:55 CEST by Szymon Stefanek // // This file is part of the KVirc irc client distribution -// Copyright (C) 2002-2008 Szymon Stefanek (pragma at kvirc dot net) +// Copyright (C) 2002-2010 Szymon Stefanek (pragma at kvirc dot net) // // This program is FREE software. You can redistribute it and/or // modify it under the linkss of the GNU General Public License @@ -25,7 +25,7 @@ //============================================================================= #include "kvi_window.h" -#include "kvi_qstring.h" +#include "KviQString.h" #include <QTreeWidget> #include "kvi_iconmanager.h" @@ -130,8 +130,8 @@ protected: virtual QPixmap * myIconPtr(); virtual void fillCaptionBuffers(); virtual void getConfigGroupName(QString &szName); - virtual void saveProperties(KviConfig *); - virtual void loadProperties(KviConfig *); + virtual void saveProperties(KviConfigurationFile *); + virtual void loadProperties(KviConfigurationFile *); protected slots: void cancelClicked(); void okClicked(); |
