summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/sms/services/gsmlib.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:59:34 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:59:34 -0600
commit83677e35509b4dafac63b76995652bdf3b49f209 (patch)
tree591f1dc22278addb439726c42896376b17bb42bd /kopete/protocols/sms/services/gsmlib.cpp
parent808e453c56036211f57482ed847d54aca01bba68 (diff)
downloadtdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz
tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
Diffstat (limited to 'kopete/protocols/sms/services/gsmlib.cpp')
-rw-r--r--kopete/protocols/sms/services/gsmlib.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/protocols/sms/services/gsmlib.cpp b/kopete/protocols/sms/services/gsmlib.cpp
index d4acc515..1d4836a1 100644
--- a/kopete/protocols/sms/services/gsmlib.cpp
+++ b/kopete/protocols/sms/services/gsmlib.cpp
@@ -16,7 +16,7 @@
#ifdef INCLUDE_SMSGSM
#include <tqcombobox.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqapplication.h>
#include <tqevent.h>
#include <tqmutex.h>
@@ -308,7 +308,7 @@ void GSMLib::saveConfig()
{
KConfigGroup* c = m_account->configGroup();
- c->writeEntry(TQString("%1:%2").arg("GSMLib").arg("Device"), m_device);
+ c->writeEntry(TQString("%1:%2").tqarg("GSMLib").tqarg("Device"), m_device);
}
}
@@ -320,7 +320,7 @@ void GSMLib::loadConfig()
TQString temp;
KConfigGroup* c = m_account->configGroup();
- temp = c->readEntry(TQString("%1:%2").arg("GSMLib").arg("Device"), TQString());
+ temp = c->readEntry(TQString("%1:%2").tqarg("GSMLib").tqarg("Device"), TQString());
if( temp != TQString() )
m_device = temp;
}
@@ -348,12 +348,12 @@ void GSMLib::disconnect()
}
-void GSMLib::setWidgetContainer(TQWidget* parent, TQGridLayout* layout)
+void GSMLib::setWidgetContainer(TQWidget* parent, TQGridLayout* tqlayout)
{
m_parent = parent;
- m_layout = layout;
+ m_layout = tqlayout;
TQWidget *configWidget = configureWidget(parent);
- layout->addMultiCellWidget(configWidget, 0, 1, 0, 1);
+ tqlayout->addMultiCellWidget(configWidget, 0, 1, 0, 1);
configWidget->show();
}
@@ -444,7 +444,7 @@ void GSMLib::customEvent(TQCustomEvent* e)
const TQString& GSMLib::description()
{
TQString url = "http://www.pxh.de/fs/gsmlib/";
- m_description = i18n("<qt>GSMLib is a library (and utilities) for sending SMS via a GSM device. The program can be found on <a href=\"%1\">%1</a></qt>").arg(url).arg(url);
+ m_description = i18n("<qt>GSMLib is a library (and utilities) for sending SMS via a GSM device. The program can be found on <a href=\"%1\">%1</a></qt>").tqarg(url).tqarg(url);
return m_description;
}