Rename old tq methods that no longer need a unique name

pull/2/head
Timothy Pearson 13 years ago
parent c29685c8ee
commit f2d20e882b

@ -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;

Loading…
Cancel
Save