diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-05 12:24:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-19 22:26:14 +0900 |
commit | 1711870a073597c2282f32ad39a9b8ad5e1cf6bb (patch) | |
tree | 1fb9f1d9ad4ec650960add05c3dd287cd42c7d61 /tdecore/tests/kuniqueapptest.cpp | |
parent | 87ad1e6c4d56fb52faa0d1af4afe5c33f05e6dca (diff) | |
download | tdelibs-1711870a073597c2282f32ad39a9b8ad5e1cf6bb.tar.gz tdelibs-1711870a073597c2282f32ad39a9b8ad5e1cf6bb.zip |
Rename KUniqueApplication to TDEUniqueApplication and remove obsolete kapp.h and kuniqueapp.h headers
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore/tests/kuniqueapptest.cpp')
-rw-r--r-- | tdecore/tests/kuniqueapptest.cpp | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/tdecore/tests/kuniqueapptest.cpp b/tdecore/tests/kuniqueapptest.cpp deleted file mode 100644 index 13b8ca534..000000000 --- a/tdecore/tests/kuniqueapptest.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (c) 1999 Waldo Bastian <bastian@kde.org> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#include "kuniqueapplication.h" -#include "tdeglobalsettings.h" - -#include <unistd.h> -#include <stdlib.h> -#include <stdio.h> -#include <tdecmdlineargs.h> -#include <tdeaboutdata.h> - -class TestApp : public KUniqueApplication -{ -public: - TestApp() : KUniqueApplication("TestApp") { } - virtual int newInstance( ); -}; - - -int -TestApp::newInstance( ) -{ - tqWarning("NewInstance"); - return 0; -} - -int -main(int argc, char *argv[]) -{ - TDEAboutData about("kuniqueapptest", "kuniqueapptest", "version"); - TDECmdLineArgs::init(argc, argv, &about); - KUniqueApplication::addCmdLineOptions(); - - if (!TestApp::start()) - { - exit(0); - } - TestApp a; - - printf("Running.\n"); - kapp->exec(); - printf("Terminating.\n"); -} |