aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/toolbareditor/libkvitoolbareditor.cpp
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2010-12-25 05:28:46 +0000
committerGravatar Szymon Tomasz Stefanek2010-12-25 05:28:46 +0000
commitf2f47c5eaa7d284abad1f693d7c75c85c42565df (patch)
tree2dd141a4ae4911ef3a1abf4d1910d3f7ba071c27 /src/modules/toolbareditor/libkvitoolbareditor.cpp
parentMore work on the window popup (diff)
downloadKVIrc-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/toolbareditor/libkvitoolbareditor.cpp')
-rw-r--r--src/modules/toolbareditor/libkvitoolbareditor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/toolbareditor/libkvitoolbareditor.cpp b/src/modules/toolbareditor/libkvitoolbareditor.cpp
index 4462175ce..edec5a67a 100644
--- a/src/modules/toolbareditor/libkvitoolbareditor.cpp
+++ b/src/modules/toolbareditor/libkvitoolbareditor.cpp
@@ -4,7 +4,7 @@
// Creation date : Sun 10 Nov 2002 23:25: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,10 +25,10 @@
#include "toolbareditor.h"
#include "kvi_module.h"
-#include "kvi_locale.h"
+#include "KviLocale.h"
#include "kvi_frame.h"
#include "kvi_actionmanager.h"
-#include "kvi_config.h"
+#include "KviConfigurationFile.h"
#include "kvi_app.h"
QRect g_rectToolBarEditorDialogGeometry(0,0,0,0);
@@ -61,7 +61,7 @@ static bool toolbareditor_module_init(KviModule * m)
KVSM_REGISTER_SIMPLE_COMMAND(m,"open",toolbareditor_kvs_cmd_open);
QString szBuf;
m->getDefaultConfigFileName(szBuf);
- KviConfig cfg(szBuf,KviConfig::Read);
+ KviConfigurationFile cfg(szBuf,KviConfigurationFile::Read);
g_rectToolBarEditorDialogGeometry = cfg.readRectEntry("EditorGeometry",QRect(10,10,390,440));
return true;
@@ -78,7 +78,7 @@ static bool toolbareditor_module_cleanup(KviModule *m)
QString szBuf;
m->getDefaultConfigFileName(szBuf);
- KviConfig cfg(szBuf,KviConfig::Write);
+ KviConfigurationFile cfg(szBuf,KviConfigurationFile::Write);
cfg.writeEntry("EditorGeometry",g_rectToolBarEditorDialogGeometry);
return true;