From f2f47c5eaa7d284abad1f693d7c75c85c42565df Mon Sep 17 00:00:00 2001 From: Szymon Tomasz Stefanek Date: Sat, 25 Dec 2010 05:28:46 +0000 Subject: 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 --- src/modules/toolbareditor/libkvitoolbareditor.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules/toolbareditor/libkvitoolbareditor.cpp') 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; -- cgit v1.3.1-10-gc9f91