diff options
| author | 2016-01-01 17:24:05 +0100 | |
|---|---|---|
| committer | 2016-01-01 17:24:05 +0100 | |
| commit | 0dab52d5c1f52db9a8dd3a140d5d43716aa7ca9a (patch) | |
| tree | da34889e25ec4658452722fb3c946acc305421f4 /src/modules | |
| parent | Show the name of the current Qt theme in the About dialog. (diff) | |
| download | KVIrc-0dab52d5c1f52db9a8dd3a140d5d43716aa7ca9a.tar.gz KVIrc-0dab52d5c1f52db9a8dd3a140d5d43716aa7ca9a.tar.bz2 KVIrc-0dab52d5c1f52db9a8dd3a140d5d43716aa7ca9a.zip | |
Rename KviOsInfo to KviRuntimeInfo, which makes more sense.
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/about/AboutDialog.cpp | 14 | ||||
| -rw-r--r-- | src/modules/system/libkvisystem.cpp | 16 |
2 files changed, 15 insertions, 15 deletions
diff --git a/src/modules/about/AboutDialog.cpp b/src/modules/about/AboutDialog.cpp index 525e7795c..312e03436 100644 --- a/src/modules/about/AboutDialog.cpp +++ b/src/modules/about/AboutDialog.cpp @@ -31,7 +31,7 @@ #include "KviFileUtils.h" #include "kvi_sourcesdate.h" #include "KviBuildInfo.h" -#include "KviOsInfo.h" +#include "KviRuntimeInfo.h" #include <QTextEdit> #include <QWidget> @@ -123,27 +123,27 @@ AboutDialog::AboutDialog() infoString += ":</b><br>"; infoString += __tr2qs_ctx("System name","about"); infoString += ": "; - infoString += KviOsInfo::name(); + infoString += KviRuntimeInfo::name(); #ifndef COMPILE_ON_MAC infoString += " "; - infoString += KviOsInfo::release(); + infoString += KviRuntimeInfo::release(); #endif infoString += "<br>"; infoString += __tr2qs_ctx("System version","about"); infoString += ": "; - infoString += KviOsInfo::version(); + infoString += KviRuntimeInfo::version(); infoString += "<br>"; infoString += __tr2qs_ctx("Architecture","about"); infoString += ": "; - infoString += KviOsInfo::machine(); + infoString += KviRuntimeInfo::machine(); infoString += "<br>"; infoString += __tr2qs_ctx("Qt version","about"); infoString += ": "; - infoString += KviOsInfo::qtVersion(); + infoString += KviRuntimeInfo::qtVersion(); infoString += "<br>"; infoString += __tr2qs_ctx("Qt theme","about"); infoString += ": "; - infoString += KviOsInfo::qtTheme(); + infoString += KviRuntimeInfo::qtTheme(); infoString += "<br><br>"; infoString += "<b>"; infoString += __tr2qs_ctx("Build Info","about"); diff --git a/src/modules/system/libkvisystem.cpp b/src/modules/system/libkvisystem.cpp index 09541a148..b162b6820 100644 --- a/src/modules/system/libkvisystem.cpp +++ b/src/modules/system/libkvisystem.cpp @@ -32,7 +32,7 @@ #include "KviLocale.h" #include "KviApplication.h" #include "KviEnvironment.h" -#include "KviOsInfo.h" +#include "KviRuntimeInfo.h" #include "KviModuleManager.h" #include "KviByteOrder.h" @@ -75,7 +75,7 @@ PluginManager * g_pPluginManager; static bool system_kvs_fnc_ostype(KviKvsModuleFunctionCall * c) { - c->returnValue()->setString(KviOsInfo::type()); + c->returnValue()->setString(KviRuntimeInfo::type()); return true; } /* @@ -96,7 +96,7 @@ static bool system_kvs_fnc_ostype(KviKvsModuleFunctionCall * c) static bool system_kvs_fnc_osname(KviKvsModuleFunctionCall *c) { - c->returnValue()->setString(KviOsInfo::name()); + c->returnValue()->setString(KviRuntimeInfo::name()); return true; } @@ -118,7 +118,7 @@ static bool system_kvs_fnc_osname(KviKvsModuleFunctionCall *c) static bool system_kvs_fnc_osversion(KviKvsModuleFunctionCall *c) { // no params to process - c->returnValue()->setString(KviOsInfo::version()); + c->returnValue()->setString(KviRuntimeInfo::version()); return true; } @@ -139,7 +139,7 @@ static bool system_kvs_fnc_osversion(KviKvsModuleFunctionCall *c) static bool system_kvs_fnc_osrelease(KviKvsModuleFunctionCall *c) { // no params to process - c->returnValue()->setString(KviOsInfo::release()); + c->returnValue()->setString(KviRuntimeInfo::release()); return true; } @@ -160,7 +160,7 @@ static bool system_kvs_fnc_osrelease(KviKvsModuleFunctionCall *c) static bool system_kvs_fnc_osmachine(KviKvsModuleFunctionCall *c) { // no params to process - c->returnValue()->setString(KviOsInfo::machine()); + c->returnValue()->setString(KviRuntimeInfo::machine()); return true; } @@ -181,7 +181,7 @@ static bool system_kvs_fnc_osmachine(KviKvsModuleFunctionCall *c) static bool system_kvs_fnc_osnodename(KviKvsModuleFunctionCall *c) { // no params to process - c->returnValue()->setString(KviOsInfo::nodename()); + c->returnValue()->setString(KviRuntimeInfo::nodename()); return true; } @@ -401,7 +401,7 @@ static bool system_kvs_fnc_checkModule(KviKvsModuleFunctionCall *c) static bool system_kvs_fnc_hostname(KviKvsModuleFunctionCall *c) { // no params to process - c->returnValue()->setString(KviOsInfo::hostname()); + c->returnValue()->setString(KviRuntimeInfo::hostname()); return true; } |
