diff options
Diffstat (limited to 'kopete/protocols/sms/services/gsmlib.cpp')
-rw-r--r-- | kopete/protocols/sms/services/gsmlib.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kopete/protocols/sms/services/gsmlib.cpp b/kopete/protocols/sms/services/gsmlib.cpp index 7f129473..35d7c274 100644 --- a/kopete/protocols/sms/services/gsmlib.cpp +++ b/kopete/protocols/sms/services/gsmlib.cpp @@ -67,10 +67,10 @@ void GSMLibEvent::setSubType(GSMLibEvent::SubType t) } ///////////////////////////////////////////////////////////////////// -GSMLibThread::GSMLibThread(TQString dev, GSMLib* parent) +GSMLibThread::GSMLibThread(TQString dev, GSMLib* tqparent) { m_device = dev; - m_parent = parent; + m_parent = tqparent; m_run = true; m_MeTa = NULL; } @@ -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,8 +320,8 @@ void GSMLib::loadConfig() TQString temp; KConfigGroup* c = m_account->configGroup(); - temp = c->readEntry(TQString("%1:%2").arg("GSMLib").arg("Device"), TQString::null); - if( temp != TQString::null ) + 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* tqparent, TQGridLayout* tqlayout) { - m_parent = parent; - m_layout = layout; - TQWidget *configWidget = configureWidget(parent); - layout->addMultiCellWidget(configWidget, 0, 1, 0, 1); + m_parent = tqparent; + m_layout = tqlayout; + TQWidget *configWidget = configureWidget(tqparent); + tqlayout->addMultiCellWidget(configWidget, 0, 1, 0, 1); configWidget->show(); } @@ -362,11 +362,11 @@ void GSMLib::send(const Kopete::Message& msg) m_thread->send(msg); } -TQWidget* GSMLib::configureWidget(TQWidget* parent) +TQWidget* GSMLib::configureWidget(TQWidget* tqparent) { if (prefWidget == 0L) - prefWidget = new GSMLibPrefsUI(parent); + prefWidget = new GSMLibPrefsUI(tqparent); loadConfig(); prefWidget->device->setURL(m_device); @@ -419,7 +419,7 @@ void GSMLib::customEvent(TQCustomEvent* e) TQString text = ge->Text; // Locate a contact - SMSContact* contact = static_cast<SMSContact*>( m_account->contacts().find( nr )); + SMSContact* contact = static_cast<SMSContact*>( m_account->contacts().tqfind( nr )); if ( contact==NULL ) { // No contact found, make a new one @@ -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; } |