diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-13 19:34:09 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-13 19:34:09 +0200 |
commit | 4c04a441814c7d1dda08f6075ab4e09dc05541df (patch) | |
tree | cf8a3dbd77114c416255d3995cd1b047072ef26a /src/main.cpp | |
parent | 357ddeb8afd82d69ef871c146f4fc8f2c67fb17e (diff) | |
download | klamav-4c04a441814c7d1dda08f6075ab4e09dc05541df.tar.gz klamav-4c04a441814c7d1dda08f6075ab4e09dc05541df.zip |
Conversion KDE3->TDE
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/main.cpp b/src/main.cpp index 00c39dc..f7f0191 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5,8 +5,8 @@ #include "klamav.h" #include "version.h" #include "klamavconfig.h" -#include <kaboutdata.h> -#include <kcmdlineargs.h> +#include <tdeaboutdata.h> +#include <tdecmdlineargs.h> #include <kuniqueapplication.h> static const char *description = @@ -15,7 +15,7 @@ static const char *description = static const char *version = KLAMAV_VERSION; //static const char title[] = "KlamAV"; -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "+[URL]", I18N_NOOP( "Document to open." ), 0 }, { "scanthis", I18N_NOOP("Scan this..."), 0 }, @@ -24,11 +24,11 @@ static KCmdLineOptions options[] = int main(int argc, char **argv) { - KAboutData about("klamav", I18N_NOOP(""), version, description, - KAboutData::License_GPL, "(C) 2004 Robert Hogan", 0, 0, "robert at roberthogan dot net"); + TDEAboutData about("klamav", I18N_NOOP(""), version, description, + TDEAboutData::License_GPL, "(C) 2004 Robert Hogan", 0, 0, "robert at roberthogan dot net"); about.addAuthor( "Robert Hogan", 0, "robert at roberthogan dot net" ); - KCmdLineArgs::init(argc, argv, &about); - KCmdLineArgs::addCmdLineOptions(options); + TDECmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::addCmdLineOptions(options); KUniqueApplication app; @@ -42,7 +42,7 @@ int main(int argc, char **argv) //else //{ // no session.. just start up normally - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if (args->count() == 0) { new Klamav; |