summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/icq
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
commit83677e35509b4dafac63b76995652bdf3b49f209 (patch)
tree591f1dc22278addb439726c42896376b17bb42bd /kopete/protocols/oscar/icq
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/oscar/icq')
-rw-r--r--kopete/protocols/oscar/icq/icqaccount.cpp30
-rw-r--r--kopete/protocols/oscar/icq/icqaccount.h2
-rw-r--r--kopete/protocols/oscar/icq/icqcontact.cpp42
-rw-r--r--kopete/protocols/oscar/icq/icqpresence.cpp26
-rw-r--r--kopete/protocols/oscar/icq/icqpresence.h14
-rw-r--r--kopete/protocols/oscar/icq/icqprotocol.cpp18
-rw-r--r--kopete/protocols/oscar/icq/icqreadaway.cpp6
-rw-r--r--kopete/protocols/oscar/icq/ui/icqadd.ui8
-rw-r--r--kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp2
-rw-r--r--kopete/protocols/oscar/icq/ui/icqauthreplydialog.cpp4
-rw-r--r--kopete/protocols/oscar/icq/ui/icqauthreplyui.ui10
-rw-r--r--kopete/protocols/oscar/icq/ui/icqeditaccountui.ui12
-rw-r--r--kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp4
-rw-r--r--kopete/protocols/oscar/icq/ui/icqgeneralinfo.ui4
-rw-r--r--kopete/protocols/oscar/icq/ui/icqinterestinfowidget.ui2
-rw-r--r--kopete/protocols/oscar/icq/ui/icqotherinfowidget.ui2
-rw-r--r--kopete/protocols/oscar/icq/ui/icqsearchbase.ui8
-rw-r--r--kopete/protocols/oscar/icq/ui/icqsearchdialog.cpp4
-rw-r--r--kopete/protocols/oscar/icq/ui/icquserinfowidget.cpp12
-rw-r--r--kopete/protocols/oscar/icq/ui/icqworkinfowidget.ui2
20 files changed, 106 insertions, 106 deletions
diff --git a/kopete/protocols/oscar/icq/icqaccount.cpp b/kopete/protocols/oscar/icq/icqaccount.cpp
index f2a9bce9..245e365c 100644
--- a/kopete/protocols/oscar/icq/icqaccount.cpp
+++ b/kopete/protocols/oscar/icq/icqaccount.cpp
@@ -50,9 +50,9 @@ ICQMyselfContact::ICQMyselfContact( ICQAccount *acct ) : OscarMyselfContact( acc
void ICQMyselfContact::userInfoUpdated()
{
- DWORD extendedStatus = details().extendedStatus();
- kdDebug( OSCAR_ICQ_DEBUG ) << k_funcinfo << "extendedStatus is " << TQString::number( extendedStatus, 16 ) << endl;
- ICQ::Presence presence = ICQ::Presence::fromOscarStatus( extendedStatus & 0xffff );
+ DWORD extendedtqStatus = details().extendedtqStatus();
+ kdDebug( OSCAR_ICQ_DEBUG ) << k_funcinfo << "extendedStatus is " << TQString::number( extendedtqStatus, 16 ) << endl;
+ ICQ::Presence presence = ICQ::Presence::fromOscartqStatus( extendedtqStatus & 0xffff );
setOnlineStatus( presence.toOnlineStatus() );
setProperty( Kopete::Global::Properties::self()->awayMessage(), static_cast<ICQAccount*>( account() )->engine()->statusMessage() );
}
@@ -100,7 +100,7 @@ ICQAccount::ICQAccount(Kopete::Protocol *parent, TQString accountID, const char
{
kdDebug(14153) << k_funcinfo <<
"sending status to reflect HideIP and WebAware settings" << endl;
- //setStatus(mStatus, TQString());
+ //settqStatus(mtqStatus, TQString());
}*/
}
@@ -116,7 +116,7 @@ ICQProtocol* ICQAccount::protocol()
ICQ::Presence ICQAccount::presence()
{
- return ICQ::Presence::fromOnlineStatus( myself()->onlineStatus() );
+ return ICQ::Presence::fromOnlineStatus( myself()->onlinetqStatus() );
}
@@ -150,21 +150,21 @@ void ICQAccount::connectWithPassword( const TQString &password )
kdDebug(14153) << k_funcinfo << "accountId='" << accountId() << "'" << endl;
- Kopete::OnlineStatus status = initialStatus();
+ Kopete::OnlineStatus status = initialtqStatus();
if ( status == Kopete::OnlineStatus() &&
status.status() == Kopete::OnlineStatus::Unknown )
//use default online in case of invalid online status for connecting
status = Kopete::OnlineStatus( Kopete::OnlineStatus::Online );
ICQ::Presence pres = ICQ::Presence::fromOnlineStatus( status );
bool accountIsOffline = ( presence().type() == ICQ::Presence::Offline ||
- myself()->onlineStatus() == protocol()->statusManager()->connectingStatus() );
+ myself()->onlinetqStatus() == protocol()->statusManager()->connectingtqStatus() );
if ( accountIsOffline )
{
- myself()->setOnlineStatus( protocol()->statusManager()->connectingStatus() );
+ myself()->setOnlineStatus( protocol()->statusManager()->connectingtqStatus() );
TQString icqNumber = accountId();
kdDebug(14153) << k_funcinfo << "Logging in as " << icqNumber << endl ;
- TQString server = configGroup()->readEntry( "Server", TQString::fromLatin1( "login.oscar.aol.com" ) );
+ TQString server = configGroup()->readEntry( "Server", TQString::tqfromLatin1( "login.oscar.aol.com" ) );
uint port = configGroup()->readNumEntry( "Port", 5190 );
Connection* c = setupConnection( server, port );
@@ -172,15 +172,15 @@ void ICQAccount::connectWithPassword( const TQString &password )
Oscar::Settings* oscarSettings = engine()->clientSettings();
oscarSettings->setWebAware( configGroup()->readBoolEntry( "WebAware", false ) );
oscarSettings->setHideIP( configGroup()->readBoolEntry( "HideIP", true ) );
- //FIXME: also needed for the other call to setStatus (in setPresenceTarget)
- DWORD status = pres.toOscarStatus();
+ //FIXME: also needed for the other call to settqStatus (in setPresenceTarget)
+ DWORD status = pres.toOscartqStatus();
if ( !mHideIP )
status |= ICQ::StatusCode::SHOWIP;
if ( mWebAware )
status |= ICQ::StatusCode::WEBAWARE;
- engine()->setStatus( status, mInitialStatusMessage );
+ engine()->settqStatus( status, mInitialStatusMessage );
updateVersionUpdaterStamp();
engine()->start( server, port, accountId(), password );
engine()->connectToServer( c, server, true /* doAuth */ );
@@ -250,7 +250,7 @@ void ICQAccount::slotSetVisiblility()
if ( oc )
{ //for better orientation in lists use nickName and icq number
TQString screenName( "%1 (%2)" );
- screenName = screenName.arg( oc->nickName(), contactId);
+ screenName = screenName.tqarg( oc->nickName(), contactId);
contactMap.insert( screenName, contactId );
revContactMap.insert( contactId, screenName );
}
@@ -331,7 +331,7 @@ void ICQAccount::setPresenceTarget( const ICQ::Presence &newPres, const TQString
{
bool targetIsOffline = (newPres.type() == ICQ::Presence::Offline);
bool accountIsOffline = ( presence().type() == ICQ::Presence::Offline ||
- myself()->onlineStatus() == protocol()->statusManager()->connectingStatus() );
+ myself()->onlinetqStatus() == protocol()->statusManager()->connectingtqStatus() );
if ( targetIsOffline )
{
@@ -346,7 +346,7 @@ void ICQAccount::setPresenceTarget( const ICQ::Presence &newPres, const TQString
}
else
{
- engine()->setStatus( newPres.toOscarStatus(), message );
+ engine()->settqStatus( newPres.toOscartqStatus(), message );
}
}
diff --git a/kopete/protocols/oscar/icq/icqaccount.h b/kopete/protocols/oscar/icq/icqaccount.h
index f3a62c73..a5335dbc 100644
--- a/kopete/protocols/oscar/icq/icqaccount.h
+++ b/kopete/protocols/oscar/icq/icqaccount.h
@@ -84,7 +84,7 @@ private:
void setPresenceType( ICQ::Presence::Type, const TQString &awayMessage = TQString() );
void setPresenceTarget( const ICQ::Presence &presence, const TQString &message = TQString() );
- //const unsigned long fullStatus( const unsigned long plainStatus );
+ //const unsigned long fulltqStatus( const unsigned long plaintqStatus );
private slots:
void slotToggleInvisible();
diff --git a/kopete/protocols/oscar/icq/icqcontact.cpp b/kopete/protocols/oscar/icq/icqcontact.cpp
index e4943c37..30563ae0 100644
--- a/kopete/protocols/oscar/icq/icqcontact.cpp
+++ b/kopete/protocols/oscar/icq/icqcontact.cpp
@@ -103,7 +103,7 @@ void ICQContact::updateSSIItem()
setOnlineStatus( mProtocol->statusManager()->waitingForAuth() );
if ( m_ssiItem.type() != 0xFFFF && m_ssiItem.waitingAuth() == false &&
- onlineStatus() == Kopete::OnlineStatus::Unknown )
+ onlinetqStatus() == Kopete::OnlineStatus::Unknown )
{
//make sure they're offline
setOnlineStatus( ICQ::Presence( ICQ::Presence::Offline, ICQ::Presence::Visible ).toOnlineStatus() );
@@ -117,12 +117,12 @@ void ICQContact::userInfoUpdated( const TQString& contact, const UserDetails& de
if ( Oscar::normalize( contact ) != Oscar::normalize( contactId() ) )
return;
- // invalidate old away message if user was offline
+ // tqinvalidate old away message if user was offline
if ( !isOnline() )
removeProperty( mProtocol->awayMessage );
- kdDebug( OSCAR_ICQ_DEBUG ) << k_funcinfo << "extendedStatus is " << details.extendedStatus() << endl;
- ICQ::Presence presence = ICQ::Presence::fromOscarStatus( details.extendedStatus() & 0xffff );
+ kdDebug( OSCAR_ICQ_DEBUG ) << k_funcinfo << "extendedStatus is " << details.extendedtqStatus() << endl;
+ ICQ::Presence presence = ICQ::Presence::fromOscartqStatus( details.extendedtqStatus() & 0xffff );
setOnlineStatus( presence.toOnlineStatus() );
// ICQ does not support status messages for state Online
@@ -133,7 +133,7 @@ void ICQContact::userInfoUpdated( const TQString& contact, const UserDetails& de
}
else
{
- if ( ICQ::Presence::fromOnlineStatus( account()->myself()->onlineStatus() ).visibility() == ICQ::Presence::Visible )
+ if ( ICQ::Presence::fromOnlineStatus( account()->myself()->onlinetqStatus() ).visibility() == ICQ::Presence::Visible )
{
switch ( presence.type() )
{
@@ -276,8 +276,8 @@ void ICQContact::slotGotAuthReply( const TQString& contact, const TQString& reas
if( granted )
{
message = i18n( "User %1 has granted your authorization request.\nReason: %2" )
- .arg( property( Kopete::Global::Properties::self()->nickName() ).value().toString() )
- .arg( reason );
+ .tqarg( property( Kopete::Global::Properties::self()->nickName() ).value().toString() )
+ .tqarg( reason );
// remove the unknown status
setOnlineStatus( ICQ::Presence( ICQ::Presence::Offline, ICQ::Presence::Visible ).toOnlineStatus() );
@@ -285,8 +285,8 @@ void ICQContact::slotGotAuthReply( const TQString& contact, const TQString& reas
else
{
message = i18n( "User %1 has rejected the authorization request.\nReason: %2" )
- .arg( property( Kopete::Global::Properties::self()->nickName() ).value().toString() )
- .arg( reason );
+ .tqarg( property( Kopete::Global::Properties::self()->nickName() ).value().toString() )
+ .tqarg( reason );
}
KNotifyClient::event( Kopete::UI::Global::sysTrayWId(), "icq_authorization", message );
}
@@ -539,7 +539,7 @@ void ICQContact::slotContactChanged(const UserInfo &u)
if (!mInfo.clientVersion.isEmpty())
{
capList << i18n("Translators: client-name client-version",
- "%1 %2").arg(mInfo.clientName, mInfo.clientVersion);
+ "%1 %2").tqarg(mInfo.clientName, mInfo.clientVersion);
}
else
{
@@ -561,27 +561,27 @@ void ICQContact::slotContactChanged(const UserInfo &u)
else
removeProperty(mProtocol->clientFeatures);
- unsigned int newStatus = 0;
+ unsigned int newtqStatus = 0;
mInvisible = (mInfo.icqextstatus & ICQ_STATUS_IS_INVIS);
if (mInfo.icqextstatus & ICQ_STATUS_IS_FFC)
- newStatus = OSCAR_FFC;
+ newtqStatus = OSCAR_FFC;
else if (mInfo.icqextstatus & ICQ_STATUS_IS_DND)
- newStatus = OSCAR_DND;
+ newtqStatus = OSCAR_DND;
else if (mInfo.icqextstatus & ICQ_STATUS_IS_OCC)
- newStatus = OSCAR_OCC;
+ newtqStatus = OSCAR_OCC;
else if (mInfo.icqextstatus & ICQ_STATUS_IS_NA)
- newStatus = OSCAR_NA;
+ newtqStatus = OSCAR_NA;
else if (mInfo.icqextstatus & ICQ_STATUS_IS_AWAY)
- newStatus = OSCAR_AWAY;
+ newtqStatus = OSCAR_AWAY;
else
- newStatus = OSCAR_ONLINE;
+ newtqStatus = OSCAR_ONLINE;
if (this != account()->myself())
{
- if(newStatus != onlineStatus().internalStatus())
+ if(newtqStatus != onlinetqStatus().internalStatus())
{
- if(newStatus != OSCAR_ONLINE) // if user changed to some state other than online
+ if(newtqStatus != OSCAR_ONLINE) // if user changed to some state other than online
{
mAccount->engine()->requestAwayMessage(this);
}
@@ -592,7 +592,7 @@ void ICQContact::slotContactChanged(const UserInfo &u)
}
}
- setStatus(newStatus);
+ settqStatus(newtqStatus);
}
void ICQContact::slotOffgoingBuddy(TQString sender)
@@ -655,7 +655,7 @@ TQPtrList<KAction> *ICQContact::customContextMenuActions()
/*
TQString awTxt;
TQString awIcn;
- unsigned int status = onlineStatus().internalStatus();
+ unsigned int status = onlinetqStatus().internalStatus();
if (status >= 15)
status -= 15; // get rid of invis addon
switch(status)
diff --git a/kopete/protocols/oscar/icq/icqpresence.cpp b/kopete/protocols/oscar/icq/icqpresence.cpp
index b0a051d7..520153a6 100644
--- a/kopete/protocols/oscar/icq/icqpresence.cpp
+++ b/kopete/protocols/oscar/icq/icqpresence.cpp
@@ -49,7 +49,7 @@ struct PresenceTypeData
static const PresenceTypeData *all();
static const PresenceTypeData &forType( Presence::Type type );
- static const PresenceTypeData &forStatus( unsigned long status );
+ static const PresenceTypeData &fortqStatus( unsigned long status );
static const PresenceTypeData &forOnlineStatusType( const Kopete::OnlineStatus::StatusType statusType );
};
@@ -89,7 +89,7 @@ const PresenceTypeData &PresenceTypeData::forType( Presence::Type type )
return array[0];
}
-const PresenceTypeData &PresenceTypeData::forStatus( unsigned long status )
+const PresenceTypeData &PresenceTypeData::fortqStatus( unsigned long status )
{
const PresenceTypeData *array = all();
for ( uint n = 0; n < Presence::TypeCount; ++n )
@@ -216,12 +216,12 @@ Kopete::OnlineStatus OnlineStatusManager::onlineStatusOf( const Presence &presen
return d->invisibleStatusList[ presence.type() ];
}
-Kopete::OnlineStatus OnlineStatusManager::connectingStatus()
+Kopete::OnlineStatus OnlineStatusManager::connectingtqStatus()
{
return d->connecting;
}
-Kopete::OnlineStatus OnlineStatusManager::unknownStatus()
+Kopete::OnlineStatus OnlineStatusManager::unknowntqStatus()
{
return d->unknown;
}
@@ -258,31 +258,31 @@ Kopete::OnlineStatus Presence::toOnlineStatus() const
}
-unsigned long Presence::toOscarStatus() const
+unsigned long Presence::toOscartqStatus() const
{
- unsigned long basicStatus = basicOscarStatus();
+ unsigned long basictqStatus = basicOscartqStatus();
if ( _visibility == Invisible )
- basicStatus |= StatusCode::INVISIBLE;
- return basicStatus;
+ basictqStatus |= StatusCode::INVISIBLE;
+ return basictqStatus;
}
-Presence Presence::fromOscarStatus( unsigned long code )
+Presence Presence::fromOscartqStatus( unsigned long code )
{
- Type type = typeFromOscarStatus( code & ~StatusCode::INVISIBLE );
+ Type type = typeFromOscartqStatus( code & ~StatusCode::INVISIBLE );
bool invisible = (code & StatusCode::INVISIBLE) == StatusCode::INVISIBLE;
return Presence( type, invisible ? Invisible : Visible );
}
-unsigned long Presence::basicOscarStatus() const
+unsigned long Presence::basicOscartqStatus() const
{
const PresenceTypeData &data = PresenceTypeData::forType( _type );
return data.setFlag;
}
-Presence::Type Presence::typeFromOscarStatus( unsigned long status )
+Presence::Type Presence::typeFromOscartqStatus( unsigned long status )
{
- const PresenceTypeData &data = PresenceTypeData::forStatus( status );
+ const PresenceTypeData &data = PresenceTypeData::fortqStatus( status );
return data.type;
}
diff --git a/kopete/protocols/oscar/icq/icqpresence.h b/kopete/protocols/oscar/icq/icqpresence.h
index d7ef9ed2..360cadeb 100644
--- a/kopete/protocols/oscar/icq/icqpresence.h
+++ b/kopete/protocols/oscar/icq/icqpresence.h
@@ -78,8 +78,8 @@ public:
~OnlineStatusManager();
ICQ::Presence presenceOf( uint internalStatus );
Kopete::OnlineStatus onlineStatusOf( const ICQ::Presence &presence );
- Kopete::OnlineStatus connectingStatus();
- Kopete::OnlineStatus unknownStatus();
+ Kopete::OnlineStatus connectingtqStatus();
+ Kopete::OnlineStatus unknowntqStatus();
Kopete::OnlineStatus waitingForAuth();
private:
@@ -117,23 +117,23 @@ public:
Kopete::OnlineStatus toOnlineStatus() const;
/**
- * Get the status code to pass to liboscar to set us to this Status.
+ * Get the status code to pass to liboscar to set us to this tqStatus.
* @note This is not the opposite of fromOnlineStatus(). The set and get codes don't match.
*/
- unsigned long toOscarStatus() const;
+ unsigned long toOscartqStatus() const;
/**
* Get the status a contact is at based on liboscar's view of its status.
* @note This is not the opposite of toOnlineStatus().
*/
- static Presence fromOscarStatus( unsigned long code );
+ static Presence fromOscartqStatus( unsigned long code );
bool operator==( const Presence &other ) const { return other._type == _type && other._visibility == _visibility; }
bool operator!=( const Presence &other ) const { return !(*this == other); }
private:
- unsigned long basicOscarStatus() const;
- static Type typeFromOscarStatus( unsigned long status );
+ unsigned long basicOscartqStatus() const;
+ static Type typeFromOscartqStatus( unsigned long status );
private:
Type _type;
Visibility _visibility;
diff --git a/kopete/protocols/oscar/icq/icqprotocol.cpp b/kopete/protocols/oscar/icq/icqprotocol.cpp
index 3e55838e..dad58726 100644
--- a/kopete/protocols/oscar/icq/icqprotocol.cpp
+++ b/kopete/protocols/oscar/icq/icqprotocol.cpp
@@ -28,7 +28,7 @@
#include <tqhostaddress.h>
#include <tqlistbox.h>
#include <tqspinbox.h>
-#include <textedit.h>
+#include <tqtextedit.h>
#include <kdatewidget.h>*/
#include <tqvaluelist.h>
@@ -66,7 +66,7 @@ K_EXPORT_COMPONENT_FACTORY( kopete_icq, ICQProtocolFactory( "kopete_icq" ) )
ICQProtocolHandler::ICQProtocolHandler() : Kopete::MimeTypeHandler(false)
{
- registerAsMimeHandler(TQString::fromLatin1("application/x-icq"));
+ registerAsMimeHandler(TQString::tqfromLatin1("application/x-icq"));
}
void ICQProtocolHandler::handleURL(const TQString &mimeType, const KURL & url) const
@@ -141,11 +141,11 @@ void ICQProtocolHandler::handleURL(const TQString &mimeType, const KURL & url) c
}
TQString nickuin = nick.isEmpty() ?
- i18n("'%1'").arg(uin) :
- i18n("'%1' (%2)").arg(nick, uin);
+ i18n("'%1'").tqarg(uin) :
+ i18n("'%1' (%2)").tqarg(nick, uin);
if (KMessageBox::questionYesNo(Kopete::UI::Global::mainWidget(),
- i18n("Do you want to add %1 to your contact list?").arg(nickuin), TQString(), i18n("Add"), i18n("Do Not Add"))
+ i18n("Do you want to add %1 to your contact list?").tqarg(nickuin), TQString(), i18n("Add"), i18n("Do Not Add"))
!= KMessageBox::Yes)
{
kdDebug(14153) << k_funcinfo << "Cancelled" << endl;
@@ -219,7 +219,7 @@ void ICQProtocol::initGenders()
void ICQProtocol::initCountries()
{
mCountries.insert(0, ""); // unspecified
- KLocale *kl = KGlobal::locale(); //KLocale(TQString::fromLatin1("kopete"));
+ KLocale *kl = KGlobal::locale(); //KLocale(TQString::tqfromLatin1("kopete"));
mCountries.insert(93, kl->twoAlphaToCountryName("af"));
mCountries.insert(355, kl->twoAlphaToCountryName("al"));
@@ -468,7 +468,7 @@ void ICQProtocol::initCountries()
void ICQProtocol::initLang()
{
- KLocale *kl = KGlobal::locale(); //KLocale(TQString::fromLatin1("kopete"));
+ KLocale *kl = KGlobal::locale(); //KLocale(TQString::tqfromLatin1("kopete"));
mLanguages.insert(0 , "");
mLanguages.insert(1 , kl->twoAlphaToLanguageName("ar") /*i18n("Arabic")*/);
@@ -775,8 +775,8 @@ Kopete::Contact *ICQProtocol::deserializeContact( Kopete::MetaContact *metaConta
if ( serializedData.contains( "ssi_waitingAuth" ) )
{
- TQString authStatus = serializedData["ssi_waitingAuth"];
- if ( authStatus == "true" )
+ TQString authtqStatus = serializedData["ssi_waitingAuth"];
+ if ( authtqStatus == "true" )
ssiWaitingAuth = true;
}
diff --git a/kopete/protocols/oscar/icq/icqreadaway.cpp b/kopete/protocols/oscar/icq/icqreadaway.cpp
index 772650fb..94eaa063 100644
--- a/kopete/protocols/oscar/icq/icqreadaway.cpp
+++ b/kopete/protocols/oscar/icq/icqreadaway.cpp
@@ -37,7 +37,7 @@ ICQReadAway::ICQReadAway(ICQContact *c, TQWidget *parent, const char* name)
mAccount = static_cast<ICQAccount*>(c->account());
mContact = c;
- setCaption(i18n("'%2' Message for %1").arg(c->displayName()).arg(c->onlineStatus().description()));
+ setCaption(i18n("'%2' Message for %1").tqarg(c->displayName()).tqarg(c->onlinetqStatus().description()));
TQVBox *mMainWidget = makeVBoxMainWidget();
@@ -74,12 +74,12 @@ void ICQReadAway::slotFetchAwayMessage()
mAccount->engine()->requestAwayMessage(mContact);
- setCaption(i18n("Fetching '%2' Message for %1...").arg(mContact->displayName()).arg(mContact->onlineStatus().description()));
+ setCaption(i18n("Fetching '%2' Message for %1...").tqarg(mContact->displayName()).tqarg(mContact->onlinetqStatus().description()));
} // END slotFetchAwayMessage()
void ICQReadAway::slotAwayMessageChanged()
{
- setCaption(i18n("'%2' Message for %1").arg(mContact->displayName()).arg(mContact->onlineStatus().description()));
+ setCaption(i18n("'%2' Message for %1").tqarg(mContact->displayName()).tqarg(mContact->onlinetqStatus().description()));
awayMessageBrowser->setText(mContact->awayMessage());
awayMessageBrowser->setDisabled(false);
diff --git a/kopete/protocols/oscar/icq/ui/icqadd.ui b/kopete/protocols/oscar/icq/ui/icqadd.ui
index 9ee07372..5ac8d973 100644
--- a/kopete/protocols/oscar/icq/ui/icqadd.ui
+++ b/kopete/protocols/oscar/icq/ui/icqadd.ui
@@ -24,7 +24,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout3</cstring>
+ <cstring>tqlayout3</cstring>
</property>
<hbox>
<property name="name">
@@ -47,7 +47,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout4</cstring>
+ <cstring>tqlayout4</cstring>
</property>
<hbox>
<property name="name">
@@ -71,7 +71,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>47</width>
<height>26</height>
@@ -101,7 +101,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
diff --git a/kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp b/kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp
index 833c97c3..935b9853 100644
--- a/kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp
+++ b/kopete/protocols/oscar/icq/ui/icqaddcontactpage.cpp
@@ -18,7 +18,7 @@
#include <ctype.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqpushbutton.h>
#include <tqcombobox.h>
#include <tqcheckbox.h>
diff --git a/kopete/protocols/oscar/icq/ui/icqauthreplydialog.cpp b/kopete/protocols/oscar/icq/ui/icqauthreplydialog.cpp
index 9041a131..59b6ce82 100644
--- a/kopete/protocols/oscar/icq/ui/icqauthreplydialog.cpp
+++ b/kopete/protocols/oscar/icq/ui/icqauthreplydialog.cpp
@@ -50,9 +50,9 @@ void ICQAuthReplyDialog::setUser( const TQString & user )
{
if ( m_wasRequested )
m_ui->lblUserReq->setText(
- i18n( "<b>%1</b> requested authorization to add you to his/her contact list." ).arg( user ) );
+ i18n( "<b>%1</b> requested authorization to add you to his/her contact list." ).tqarg( user ) );
else
- m_ui->lblUserReq->setText( i18n( "Authorization reply to <b>%1</b>." ).arg( user ) );
+ m_ui->lblUserReq->setText( i18n( "Authorization reply to <b>%1</b>." ).tqarg( user ) );
}
void ICQAuthReplyDialog::setRequestReason( const TQString & reason )
diff --git a/kopete/protocols/oscar/icq/ui/icqauthreplyui.ui b/kopete/protocols/oscar/icq/ui/icqauthreplyui.ui
index 5296c154..61fc84cb 100644
--- a/kopete/protocols/oscar/icq/ui/icqauthreplyui.ui
+++ b/kopete/protocols/oscar/icq/ui/icqauthreplyui.ui
@@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
- <cstring>layout22</cstring>
+ <cstring>tqlayout22</cstring>
</property>
<hbox>
<property name="name">
@@ -52,7 +52,7 @@
</widget>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
- <cstring>layout23</cstring>
+ <cstring>tqlayout23</cstring>
</property>
<hbox>
<property name="name">
@@ -68,7 +68,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>50</width>
<height>20</height>
@@ -131,7 +131,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>220</width>
<height>21</height>
@@ -150,7 +150,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
- <cstring>layout24</cstring>
+ <cstring>tqlayout24</cstring>
</property>
<hbox>
<property name="name">
diff --git a/kopete/protocols/oscar/icq/ui/icqeditaccountui.ui b/kopete/protocols/oscar/icq/ui/icqeditaccountui.ui
index bd9f2f8e..1bc5d379 100644
--- a/kopete/protocols/oscar/icq/ui/icqeditaccountui.ui
+++ b/kopete/protocols/oscar/icq/ui/icqeditaccountui.ui
@@ -53,7 +53,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout5</cstring>
+ <cstring>tqlayout5</cstring>
</property>
<hbox>
<property name="name">
@@ -149,7 +149,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>0</width>
<height>0</height>
@@ -159,7 +159,7 @@
<string>To connect to the ICQ network, you will need an ICQ account.&lt;br&gt;&lt;br&gt;
If you do not currently have an ICQ account, please click the button to create one.</string>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
@@ -183,7 +183,7 @@ If you do not currently have an ICQ account, please click the button to create o
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -372,7 +372,7 @@ If you do not currently have an ICQ account, please click the button to create o
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -411,7 +411,7 @@ If you do not currently have an ICQ account, please click the button to create o
<property name="text">
<string></string>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignCenter</set>
</property>
</widget>
diff --git a/kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp b/kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp
index ceb0d3eb..04a312a4 100644
--- a/kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp
+++ b/kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp
@@ -17,11 +17,11 @@
#include "icqeditaccountwidget.h"
#include "icqeditaccountui.h"
-#include <layout.h>
+#include <tqlayout.h>
#include <tqcheckbox.h>
#include <tqcombobox.h>
#include <tqlineedit.h>
-#include <textedit.h>
+#include <tqtextedit.h>
#include <tqspinbox.h>
#include <tqpushbutton.h>
diff --git a/kopete/protocols/oscar/icq/ui/icqgeneralinfo.ui b/kopete/protocols/oscar/icq/ui/icqgeneralinfo.ui
index 1af12007..c48e8ff9 100644
--- a/kopete/protocols/oscar/icq/ui/icqgeneralinfo.ui
+++ b/kopete/protocols/oscar/icq/ui/icqgeneralinfo.ui
@@ -331,7 +331,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>125</width>
<height>0</height>
@@ -579,7 +579,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>21</width>
<height>20</height>
diff --git a/kopete/protocols/oscar/icq/ui/icqinterestinfowidget.ui b/kopete/protocols/oscar/icq/ui/icqinterestinfowidget.ui
index 1dd7134b..009780f0 100644
--- a/kopete/protocols/oscar/icq/ui/icqinterestinfowidget.ui
+++ b/kopete/protocols/oscar/icq/ui/icqinterestinfowidget.ui
@@ -103,7 +103,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>220</height>
diff --git a/kopete/protocols/oscar/icq/ui/icqotherinfowidget.ui b/kopete/protocols/oscar/icq/ui/icqotherinfowidget.ui
index 088fc302..d5d77c09 100644
--- a/kopete/protocols/oscar/icq/ui/icqotherinfowidget.ui
+++ b/kopete/protocols/oscar/icq/ui/icqotherinfowidget.ui
@@ -26,7 +26,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>30</height>
diff --git a/kopete/protocols/oscar/icq/ui/icqsearchbase.ui b/kopete/protocols/oscar/icq/ui/icqsearchbase.ui
index 161444f6..140f17fa 100644
--- a/kopete/protocols/oscar/icq/ui/icqsearchbase.ui
+++ b/kopete/protocols/oscar/icq/ui/icqsearchbase.ui
@@ -114,7 +114,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>41</width>
<height>190</height>
@@ -162,7 +162,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>105</height>
@@ -328,7 +328,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>16</height>
@@ -345,7 +345,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>166</width>
<height>20</height>
diff --git a/kopete/protocols/oscar/icq/ui/icqsearchdialog.cpp b/kopete/protocols/oscar/icq/ui/icqsearchdialog.cpp
index 198e3e54..f8b16198 100644
--- a/kopete/protocols/oscar/icq/ui/icqsearchdialog.cpp
+++ b/kopete/protocols/oscar/icq/ui/icqsearchdialog.cpp
@@ -21,8 +21,8 @@
#include <tqlineedit.h>
#include <tqcheckbox.h>
#include <tqcombobox.h>
-#include <layout.h>
-#include <textcodec.h>
+#include <tqlayout.h>
+#include <tqtextcodec.h>
#include <tqtabwidget.h>
#include <kdebug.h>
#include <kiconloader.h>
diff --git a/kopete/protocols/oscar/icq/ui/icquserinfowidget.cpp b/kopete/protocols/oscar/icq/ui/icquserinfowidget.cpp
index c409f45c..1eb1c934 100644
--- a/kopete/protocols/oscar/icq/ui/icquserinfowidget.cpp
+++ b/kopete/protocols/oscar/icq/ui/icquserinfowidget.cpp
@@ -18,12 +18,12 @@
#include "icquserinfowidget.h"
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlineedit.h>
#include <tqspinbox.h>
#include <tqcombobox.h>
#include <tqobject.h>
-#include <textcodec.h>
+#include <tqtextcodec.h>
#include <kdatewidget.h>
#include <kdebug.h>
@@ -47,28 +47,28 @@ ICQUserInfoWidget::ICQUserInfoWidget( TQWidget * parent, const char * name )
TQFrame* genInfo = addPage( i18n( "General Info" ),
i18n( "General ICQ Information" ),
- KGlobal::iconLoader()->loadIcon( TQString::fromLatin1( "identity" ), KIcon::Desktop ) );
+ KGlobal::iconLoader()->loadIcon( TQString::tqfromLatin1( "identity" ), KIcon::Desktop ) );
TQVBoxLayout* genLayout = new TQVBoxLayout( genInfo );
m_genInfoWidget = new ICQGeneralInfoWidget( genInfo, "Basic Information" );
genLayout->addWidget( m_genInfoWidget );
TQFrame* workInfo = addPage( i18n( "Work Info" ),
i18n( "Work Information" ),
- KGlobal::iconLoader()->loadIcon( TQString::fromLatin1( "attach" ), KIcon::Desktop ) );
+ KGlobal::iconLoader()->loadIcon( TQString::tqfromLatin1( "attach" ), KIcon::Desktop ) );
TQVBoxLayout* workLayout = new TQVBoxLayout( workInfo );
m_workInfoWidget = new ICQWorkInfoWidget( workInfo, "Work Information" );
workLayout->addWidget( m_workInfoWidget );
TQFrame* otherInfo = addPage( i18n( "Other Info" ),
i18n( "Other ICQ Information" ),
- KGlobal::iconLoader()->loadIcon( TQString::fromLatin1( "email" ), KIcon::Desktop ) );
+ KGlobal::iconLoader()->loadIcon( TQString::tqfromLatin1( "email" ), KIcon::Desktop ) );
TQVBoxLayout* otherLayout = new TQVBoxLayout( otherInfo );
m_otherInfoWidget = new ICQOtherInfoWidget( otherInfo, "Other Information" );
otherLayout->addWidget( m_otherInfoWidget );
TQFrame* interestInfo = addPage( i18n( "Interest Info" ),
i18n( "Interest" ),
- KGlobal::iconLoader()->loadIcon( TQString::fromLatin1( "email" ), KIcon::Desktop ) );
+ KGlobal::iconLoader()->loadIcon( TQString::tqfromLatin1( "email" ), KIcon::Desktop ) );
TQVBoxLayout* interestLayout = new TQVBoxLayout( interestInfo );
m_interestInfoWidget = new ICQInterestInfoWidget( interestInfo, "Other Information" );
interestLayout->addWidget( m_interestInfoWidget );
diff --git a/kopete/protocols/oscar/icq/ui/icqworkinfowidget.ui b/kopete/protocols/oscar/icq/ui/icqworkinfowidget.ui
index 8f243f20..4707dbe8 100644
--- a/kopete/protocols/oscar/icq/ui/icqworkinfowidget.ui
+++ b/kopete/protocols/oscar/icq/ui/icqworkinfowidget.ui
@@ -236,7 +236,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>70</height>