diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-11 22:31:42 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-11 22:31:42 -0600 |
commit | 80f7740fa8f2d5637c8cef6221285d3d81e57267 (patch) | |
tree | 66e9eddb135d84fee39d4a4c2310eb790ca6c173 /clients/tde/src/app/main.cpp | |
parent | 1936e344437d5d212705892fa9c82cdc4bf81304 (diff) | |
download | ulab-80f7740fa8f2d5637c8cef6221285d3d81e57267.tar.gz ulab-80f7740fa8f2d5637c8cef6221285d3d81e57267.zip |
Update for latest version of TDE
Diffstat (limited to 'clients/tde/src/app/main.cpp')
-rw-r--r-- | clients/tde/src/app/main.cpp | 43 |
1 files changed, 31 insertions, 12 deletions
diff --git a/clients/tde/src/app/main.cpp b/clients/tde/src/app/main.cpp index b2d2988..6334312 100644 --- a/clients/tde/src/app/main.cpp +++ b/clients/tde/src/app/main.cpp @@ -1,5 +1,24 @@ -//Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>, (C) 2012 -//Copyright: See COPYING file that comes with this distribution +/* + * Remote Laboratory Workspaces Client + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * (c) 2012-2013 Timothy Pearson + * Raptor Engineering + * http://www.raptorengineeringinc.com + */ #include "define.h" #include <kaboutdata.h> @@ -8,19 +27,19 @@ #include <kcmdlineargs.h> #include <klocale.h> #include <kurl.h> -#include <kconfig.h> +#include <tdeconfig.h> #include "remotemdi.h" -static const KCmdLineOptions options[] = +static const TDECmdLineOptions options[] = { { "+[server]", I18N_NOOP( "Connect to remote server 'server'" ), 0 }, { 0, 0, 0 } }; -static KAboutData about( +static TDEAboutData about( APP_NAME, I18N_NOOP( APP_PRETTYNAME ), APP_VERSION, - I18N_NOOP("Graphical remote laboratory client"), KAboutData::License_GPL_V2, - I18N_NOOP("(C) 2012 Timothy Pearson"), 0, + I18N_NOOP("Graphical Remote Laboratory Workspaces Client"), TDEAboutData::License_GPL_V2, + I18N_NOOP("(C) 2012-2013 Timothy Pearson"), 0, "http://remotefpga.pearsoncomputing.net/", "kb9vqf@pearsoncomputing.net" ); @@ -28,20 +47,20 @@ int main(int argc, char *argv[]) { about.addAuthor("Timothy Pearson", I18N_NOOP("Author, maintainer"), "kb9vqf@pearsoncomputing.net", "http://remotefpga.pearsoncomputing.net/"); - KCmdLineArgs::init(argc, argv, &about); - KCmdLineArgs::addCmdLineOptions(options); + TDECmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::addCmdLineOptions(options); - KApplication app; + TDEApplication app; // Read MDI settings (window positions, etc) // FIXME - KConfig *c = app.config(); + TDEConfig *c = app.config(); // Create main window RemoteMDI *mainWin = new RemoteMDI(); app.setMainWidget(mainWin); - KCmdLineArgs* const args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs* const args = TDECmdLineArgs::parsedArgs(); if (args->count() > 0) { mainWin->setServerHost(args->arg(0)); } |