diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:15:41 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-02 16:44:22 +0200 |
commit | 6d66f801dc680a1532e85e242e57ec42106968ef (patch) | |
tree | 8bfa686e9d76365674857ddda0283c6b1fdf1acf | |
parent | ab249eacfb60b0fcbedbc9bdc57c1187da52ffbc (diff) | |
download | dbus-1-tqt-6d66f801dc680a1532e85e242e57ec42106968ef.tar.gz dbus-1-tqt-6d66f801dc680a1532e85e242e57ec42106968ef.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit f2d20e882b86b554edb6653eeeb524a38d1caa9a)
-rw-r--r-- | tqdbusconnection.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tqdbusconnection.cpp b/tqdbusconnection.cpp index b191f53..d4449d7 100644 --- a/tqdbusconnection.cpp +++ b/tqdbusconnection.cpp @@ -63,7 +63,7 @@ TQT_DBusConnectionManager* manager() { TQT_DBusConnectionPrivate *TQT_DBusConnectionManager::connection(const TQString &name) const { - if (name == TQString::tqfromLatin1(TQT_DBusConnection::default_connection_name)) + if (name == TQString::fromLatin1(TQT_DBusConnection::default_connection_name)) return default_connection; ConnectionHash::const_iterator it = connectionHash.find(name); @@ -74,7 +74,7 @@ TQT_DBusConnectionPrivate *TQT_DBusConnectionManager::connection(const TQString void TQT_DBusConnectionManager::removeConnection(const TQString &name) { TQT_DBusConnectionPrivate *d = 0; - if (name == TQString::tqfromLatin1(TQT_DBusConnection::default_connection_name)) { + if (name == TQString::fromLatin1(TQT_DBusConnection::default_connection_name)) { d = default_connection; default_connection = 0; } else { @@ -132,7 +132,7 @@ void qDBusBindToApplication() void TQT_DBusConnectionManager::setConnection(const TQString &name, TQT_DBusConnectionPrivate *c) { - if (name == TQString::tqfromLatin1(TQT_DBusConnection::default_connection_name)) + if (name == TQString::fromLatin1(TQT_DBusConnection::default_connection_name)) default_connection = c; else connectionHash[name] = c; |