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/setup | |
| 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/setup')
| -rw-r--r-- | src/modules/setup/libkvisetup.cpp | 4 | ||||
| -rw-r--r-- | src/modules/setup/setupwizard.cpp | 18 | ||||
| -rw-r--r-- | src/modules/setup/setupwizard.h | 4 |
3 files changed, 13 insertions, 13 deletions
diff --git a/src/modules/setup/libkvisetup.cpp b/src/modules/setup/libkvisetup.cpp index ec01aba18..19df1bc3f 100644 --- a/src/modules/setup/libkvisetup.cpp +++ b/src/modules/setup/libkvisetup.cpp @@ -4,7 +4,7 @@ // Creation date : Sat Oct 6 02:08:24 2001 GMT by Szymon Stefanek // // This file is part of the KVirc irc client distribution -// Copyright (C) 2001-2008 Szymon Stefanek (pragma at kvirc dot net) +// Copyright (C) 2001-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 @@ -32,7 +32,7 @@ #include "kvi_kvs_variantlist.h" #include "kvi_window.h" #include "kvi_theme.h" -#include "kvi_ircserverdb.h" +#include "KviIrcServerDataBase.h" #include <QString> #include <QFile> diff --git a/src/modules/setup/setupwizard.cpp b/src/modules/setup/setupwizard.cpp index 68d9f5f2d..2a14b5291 100644 --- a/src/modules/setup/setupwizard.cpp +++ b/src/modules/setup/setupwizard.cpp @@ -4,7 +4,7 @@ // Creation date : Sat Oct 6 02:06:53 2001 GMT by Szymon Stefanek // // This file is part of the KVirc irc client distribution -// Copyright (C) 2001-2008 Szymon Stefanek (pragma at kvirc dot net) +// Copyright (C) 2001-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 @@ -27,15 +27,15 @@ bool g_bFoundMirc; #include "setupwizard.h" #include "kvi_app.h" -#include "kvi_locale.h" -#include "kvi_fileutils.h" +#include "KviLocale.h" +#include "KviFileUtils.h" #include "kvi_defaults.h" #include "kvi_msgbox.h" #include "kvi_tal_filedialog.h" -#include "kvi_qstring.h" -#include "kvi_env.h" +#include "KviQString.h" +#include "KviEnvironment.h" #include "kvi_options.h" -#include "kvi_config.h" +#include "KviConfigurationFile.h" #include "kvi_tal_hbox.h" #include <QTextEdit> @@ -324,7 +324,7 @@ KviSetupWizard::KviSetupWizard() "You will be able to change it later in the Identity properties, or with the /NICK command.")); QString nick; - char * nnn = kvi_getenv("USER"); + char * nnn = KviEnvironment::getVariable("USER"); if(nnn)nick = nnn; else nick = "newbie"; if(nick.isEmpty())nick = "newbie"; @@ -562,7 +562,7 @@ KviSetupWizard::KviSetupWizard() g_pApp->getGlobalKvircDirectory(szTmp,KviApp::Config,"preinstalled.kvc"); if(KviFileUtils::fileExists(szTmp)) { - KviConfig cfg(szTmp,KviConfig::Read); + KviConfigurationFile cfg(szTmp,KviConfigurationFile::Read); cfg.setGroup("Setup"); if(cfg.readBoolEntry("hideServerList",FALSE)) { @@ -616,7 +616,7 @@ KviSetupWizard::KviSetupWizard() szMircIni = szMircDir + "/pirc.ini"; if(KviFileUtils::fileExists(szMircIni)){ - KviConfig cfg(szMircIni,KviConfig::Read,true); + KviConfigurationFile cfg(szMircIni,KviConfigurationFile::Read,true); if(cfg.hasGroup("mirc")) { g_bFoundMirc = true; diff --git a/src/modules/setup/setupwizard.h b/src/modules/setup/setupwizard.h index b98a7be63..f2d0fdd71 100644 --- a/src/modules/setup/setupwizard.h +++ b/src/modules/setup/setupwizard.h @@ -6,7 +6,7 @@ // Creation date : Sat Oct 6 02:06:51 2001 GMT by Szymon Stefanek // // This file is part of the KVirc irc client distribution -// Copyright (C) 2001-2008 Szymon Stefanek (pragma at kvirc dot net) +// Copyright (C) 2001-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 "kvi_settings.h" -#include "kvi_string.h" +#include "KviCString.h" #include "kvi_selectors.h" #include "kvi_tal_wizard.h" #include "kvi_tal_vbox.h" |
