summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-11-09 22:18:43 +0900
committerMichele Calgaro <[email protected]>2024-11-20 14:18:41 +0900
commit2f347d60ebe6eb1ad5294c9a1cfbaae96af8eaf6 (patch)
tree41a79e44fa2b40c95511588e533aa45a80e7d80b
parent0434003c501e2023d23f6a9a936241829e012454 (diff)
downloadtdebluez-2f347d60ebe6eb1ad5294c9a1cfbaae96af8eaf6.tar.gz
tdebluez-2f347d60ebe6eb1ad5294c9a1cfbaae96af8eaf6.zip
Rename KUniqueApplication to TDEUniqueApplication
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--src/tdebluez/application.cpp2
-rw-r--r--src/tdebluez/application.h4
-rw-r--r--src/tdebluez/main.cpp6
-rw-r--r--src/tdebluezauth/application.cpp2
-rw-r--r--src/tdebluezauth/application.h4
-rw-r--r--src/tdebluezauth/main.cpp8
6 files changed, 13 insertions, 13 deletions
diff --git a/src/tdebluez/application.cpp b/src/tdebluez/application.cpp
index 6ddeb85..6eb24e4 100644
--- a/src/tdebluez/application.cpp
+++ b/src/tdebluez/application.cpp
@@ -43,7 +43,7 @@
#define DOWNLOAD_DIRECTORY "Downloads"
TDEBluetoothApp::TDEBluetoothApp() :
- KUniqueApplication()
+ TDEUniqueApplication()
{
// set default config file
m_config = new TDEConfig(CONFIGURATION_FILE);
diff --git a/src/tdebluez/application.h b/src/tdebluez/application.h
index ff12551..c21cbfd 100644
--- a/src/tdebluez/application.h
+++ b/src/tdebluez/application.h
@@ -26,7 +26,7 @@
#ifndef APPLICATION_H_
#define APPLICATION_H_
-#include <kuniqueapplication.h>
+#include <tdeuniqueapplication.h>
#include <tdemessagebox.h>
#include <tqprocess.h>
@@ -40,7 +40,7 @@ class DeviceWizard;
using namespace TDEBluetooth;
-class TDEBluetoothApp: public KUniqueApplication
+class TDEBluetoothApp: public TDEUniqueApplication
{
TQ_OBJECT
diff --git a/src/tdebluez/main.cpp b/src/tdebluez/main.cpp
index 437d9d5..e2cea55 100644
--- a/src/tdebluez/main.cpp
+++ b/src/tdebluez/main.cpp
@@ -55,9 +55,9 @@ extern "C" TDE_EXPORT int kdemain(int argc, char **argv)
TDECmdLineArgs::init(argc, argv, &aboutData);
TDECmdLineArgs::addCmdLineOptions(options);
- KUniqueApplication::addCmdLineOptions();
+ TDEUniqueApplication::addCmdLineOptions();
- if (!KUniqueApplication::start())
+ if (!TDEUniqueApplication::start())
{
std::cerr << i18n("TDEBluetooth is already running.\n").local8Bit();
return 0;
@@ -71,7 +71,7 @@ extern "C" TDE_EXPORT int kdemain(int argc, char **argv)
"Restart dbus and the bluetooth service"));
// debug message for testing
std::cerr << i18n("Can't connect to DBus!\n").local8Bit();
- KUniqueApplication::kApplication()->quit();
+ TDEUniqueApplication::kApplication()->quit();
return 0;
}
else
diff --git a/src/tdebluezauth/application.cpp b/src/tdebluezauth/application.cpp
index b419e43..a2d2796 100644
--- a/src/tdebluezauth/application.cpp
+++ b/src/tdebluezauth/application.cpp
@@ -34,7 +34,7 @@
#define DBUS_AUTH_SERVICE_NAME "org.trinitydesktop.tdebluez"
TDEBluezAuth::TDEBluezAuth() :
- KUniqueApplication()
+ TDEUniqueApplication()
{
m_connection = TQT_DBusConnection::addConnection(TQT_DBusConnection::SystemBus, DBUS_AUTH_SERVICE);
diff --git a/src/tdebluezauth/application.h b/src/tdebluezauth/application.h
index b416f50..213d9a9 100644
--- a/src/tdebluezauth/application.h
+++ b/src/tdebluezauth/application.h
@@ -25,12 +25,12 @@
#ifndef TDEAUTHAPP_H_
#define TDEAUTHAPP_H_
-#include <kuniqueapplication.h>
+#include <tdeuniqueapplication.h>
#include <objectmanagerImpl.h>
#include "authservice.h"
-class TDEBluezAuth: public KUniqueApplication
+class TDEBluezAuth: public TDEUniqueApplication
{
TQ_OBJECT
diff --git a/src/tdebluezauth/main.cpp b/src/tdebluezauth/main.cpp
index f8adeca..086aaa9 100644
--- a/src/tdebluezauth/main.cpp
+++ b/src/tdebluezauth/main.cpp
@@ -27,7 +27,7 @@
#include <tdecmdlineargs.h>
#include <tdeaboutdata.h>
#include <tdemessagebox.h>
-#include <kuniqueapplication.h>
+#include <tdeuniqueapplication.h>
#include <iostream>
#include "application.h"
@@ -52,9 +52,9 @@ int main(int argc, char *argv[])
aboutData.addAuthor("Emanoil Kotsev", I18N_NOOP("Bluez5 and port to TDE"), "[email protected]");
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
- KUniqueApplication::addCmdLineOptions();
+ TDEUniqueApplication::addCmdLineOptions();
- if (!KUniqueApplication::start())
+ if (!TDEUniqueApplication::start())
{
std::cerr << i18n("TDEBluezAuth is already running.\n").local8Bit();
return 0;
@@ -66,7 +66,7 @@ int main(int argc, char *argv[])
{
KMessageBox::error(NULL,i18n("Can't connect to DBus!\nUnable to start tdebluezauth.\n\n"
"Restart dbus and the bluetooth service"));
- KUniqueApplication::kApplication()->quit();
+ TDEUniqueApplication::kApplication()->quit();
return -1;
}
else