diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-09 10:36:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-09 10:36:57 +0900 |
commit | b53c83209a6b927b27600899a780db1efc985ecb (patch) | |
tree | 5669b200cf24a8e47338ab2054daf3a58264925f /kopete/protocols | |
parent | 82b0c5074d73953b9d00fa7b8c17115bb4bc900e (diff) | |
download | tdenetwork-b53c83209a6b927b27600899a780db1efc985ecb.tar.gz tdenetwork-b53c83209a6b927b27600899a780db1efc985ecb.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kopete/protocols')
-rw-r--r-- | kopete/protocols/gadu/gadusession.cpp | 2 | ||||
-rw-r--r-- | kopete/protocols/jabber/jabberbasecontact.cpp | 2 | ||||
-rw-r--r-- | kopete/protocols/jabber/jabbercapabilitiesmanager.cpp | 4 | ||||
-rw-r--r-- | kopete/protocols/jabber/jabbercontact.cpp | 4 | ||||
-rw-r--r-- | kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp | 2 | ||||
-rw-r--r-- | kopete/protocols/yahoo/yahooaccount.cpp | 4 | ||||
-rw-r--r-- | kopete/protocols/yahoo/yahoocontact.cpp | 8 |
7 files changed, 13 insertions, 13 deletions
diff --git a/kopete/protocols/gadu/gadusession.cpp b/kopete/protocols/gadu/gadusession.cpp index e4218cb2..f1660ffd 100644 --- a/kopete/protocols/gadu/gadusession.cpp +++ b/kopete/protocols/gadu/gadusession.cpp @@ -714,7 +714,7 @@ GaduSession::checkDescriptor() gaduMessage.message = textcodec->toUnicode((const char*)event->event.msg.message); gaduMessage.sender_id = event->event.msg.sender; - gaduMessage.sendTime.setTime_t( event->event.msg.time, Qt::LocalTime ); + gaduMessage.sendTime.setTime_t( event->event.msg.time, TQt::LocalTime ); gaduMessage.message = rtf->convertToHtml( gaduMessage.message, event->event.msg.formats_length, event->event.msg.formats ); emit messageReceived( &gaduMessage ); } diff --git a/kopete/protocols/jabber/jabberbasecontact.cpp b/kopete/protocols/jabber/jabberbasecontact.cpp index e3bc2ed9..54d4e427 100644 --- a/kopete/protocols/jabber/jabberbasecontact.cpp +++ b/kopete/protocols/jabber/jabberbasecontact.cpp @@ -414,7 +414,7 @@ void JabberBaseContact::setPropertiesFromVCard ( const XMPP::VCard &vCard ) // update vCard cache timestamp if this is not a temporary contact if ( metaContact() && !metaContact()->isTemporary () ) { - setProperty ( protocol()->propVCardCacheTimeStamp, TQDateTime::currentDateTime().toString ( Qt::ISODate ) ); + setProperty ( protocol()->propVCardCacheTimeStamp, TQDateTime::currentDateTime().toString ( TQt::ISODate ) ); } diff --git a/kopete/protocols/jabber/jabbercapabilitiesmanager.cpp b/kopete/protocols/jabber/jabbercapabilitiesmanager.cpp index c1affb1e..deb62a1e 100644 --- a/kopete/protocols/jabber/jabbercapabilitiesmanager.cpp +++ b/kopete/protocols/jabber/jabbercapabilitiesmanager.cpp @@ -246,7 +246,7 @@ void JabberCapabilitiesManager::CapabilitiesInformation::updateLastSeen() TQDomElement JabberCapabilitiesManager::CapabilitiesInformation::toXml(TQDomDocument *doc) const { TQDomElement info = doc->createElement("info"); - //info.setAttribute("last-seen",lastSeen_.toString(Qt::ISODate)); + //info.setAttribute("last-seen",lastSeen_.toString(TQt::ISODate)); // Identities DiscoItem::Identities::ConstIterator discoIt = m_identities.constBegin(), discoItEnd = m_identities.constEnd(); @@ -280,7 +280,7 @@ void JabberCapabilitiesManager::CapabilitiesInformation::fromXml(const TQDomElem } //if (!e.attribute("last-seen").isEmpty()) - // lastSeen_ = TQDate::fromString(e.attribute("last-seen"),Qt::ISODate); + // lastSeen_ = TQDate::fromString(e.attribute("last-seen"),TQt::ISODate); for(TQDomNode node = element.firstChild(); !node.isNull(); node = node.nextSibling()) { diff --git a/kopete/protocols/jabber/jabbercontact.cpp b/kopete/protocols/jabber/jabbercontact.cpp index 54bc7f7e..7d8035f9 100644 --- a/kopete/protocols/jabber/jabbercontact.cpp +++ b/kopete/protocols/jabber/jabbercontact.cpp @@ -442,7 +442,7 @@ void JabberContact::slotCheckVCard () if ( cacheDateString.isNull () ) cacheDate = TQDateTime::currentDateTime().addDays ( -2 ); else - cacheDate = TQDateTime::fromString ( cacheDateString.value().toString (), Qt::ISODate ); + cacheDate = TQDateTime::fromString ( cacheDateString.value().toString (), TQt::ISODate ); kdDebug ( JABBER_DEBUG_GLOBAL ) << k_funcinfo << "Cached vCard data for " << contactId () << " from " << cacheDate.toString () << endl; @@ -506,7 +506,7 @@ void JabberContact::slotGotVCard () // update timestamp of last vCard retrieval if ( metaContact() && !metaContact()->isTemporary () ) { - setProperty ( protocol()->propVCardCacheTimeStamp, TQDateTime::currentDateTime().toString ( Qt::ISODate ) ); + setProperty ( protocol()->propVCardCacheTimeStamp, TQDateTime::currentDateTime().toString ( TQt::ISODate ) ); } mVCardUpdateInProgress = false; diff --git a/kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp b/kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp index 2d51eea3..497f13fe 100644 --- a/kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp +++ b/kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp @@ -282,7 +282,7 @@ void WinPopupLib::readMessages(const KFileItemList &items) // second line is time TQString tmpTime = stream.readLine(); - time = TQDateTime::fromString(tmpTime, Qt::ISODate); + time = TQDateTime::fromString(tmpTime, TQt::ISODate); while (!stream.atEnd()) { text.append(stream.readLine()); diff --git a/kopete/protocols/yahoo/yahooaccount.cpp b/kopete/protocols/yahoo/yahooaccount.cpp index 91d845df..f5c2e26b 100644 --- a/kopete/protocols/yahoo/yahooaccount.cpp +++ b/kopete/protocols/yahoo/yahooaccount.cpp @@ -1147,7 +1147,7 @@ void YahooAccount::slotGotIm( const TQString &who, const TQString &msg, long tm, msgDT.setTime_t(time(0L)); else //msgDT = TQDateTime::fromTime_t(tm); - msgDT.setTime_t(tm, Qt::LocalTime); + msgDT.setTime_t(tm, TQt::LocalTime); TQString newMsgText = prepareIncomingMessage( msg ); @@ -1185,7 +1185,7 @@ void YahooAccount::slotGotBuzz( const TQString &who, long tm ) msgDT.setTime_t(time(0L)); else //msgDT = TQDateTime::fromTime_t(tm); - msgDT.setTime_t(tm, Qt::LocalTime); + msgDT.setTime_t(tm, TQt::LocalTime); justMe.append(myself()); diff --git a/kopete/protocols/yahoo/yahoocontact.cpp b/kopete/protocols/yahoo/yahoocontact.cpp index c5e0f3ce..4f93ea3a 100644 --- a/kopete/protocols/yahoo/yahoocontact.cpp +++ b/kopete/protocols/yahoo/yahoocontact.cpp @@ -763,8 +763,8 @@ void YahooContact::writeYABEntry() setProperty( YahooProtocol::protocol()->propWorkURL, m_YABEntry->workURL ); // Miscellanous - setProperty( YahooProtocol::protocol()->propBirthday, TQString(m_YABEntry->birthday.toString( Qt::ISODate )) ); - setProperty( YahooProtocol::protocol()->propAnniversary, TQString(m_YABEntry->anniversary.toString( Qt::ISODate )) ); + setProperty( YahooProtocol::protocol()->propBirthday, TQString(m_YABEntry->birthday.toString( TQt::ISODate )) ); + setProperty( YahooProtocol::protocol()->propAnniversary, TQString(m_YABEntry->anniversary.toString( TQt::ISODate )) ); setProperty( YahooProtocol::protocol()->propNotes, m_YABEntry->notes ); setProperty( YahooProtocol::protocol()->propAdditional1, m_YABEntry->additional1 ); setProperty( YahooProtocol::protocol()->propAdditional2, m_YABEntry->additional2 ); @@ -826,8 +826,8 @@ void YahooContact::readYABEntry() m_YABEntry->workURL = property( YahooProtocol::protocol()->propWorkURL ).value().toString(); // Miscellanous - m_YABEntry->birthday = TQDate::fromString( property( YahooProtocol::protocol()->propBirthday ).value().toString(), Qt::ISODate ); - m_YABEntry->anniversary = TQDate::fromString( property( YahooProtocol::protocol()->propAnniversary ).value().toString(), Qt::ISODate ); + m_YABEntry->birthday = TQDate::fromString( property( YahooProtocol::protocol()->propBirthday ).value().toString(), TQt::ISODate ); + m_YABEntry->anniversary = TQDate::fromString( property( YahooProtocol::protocol()->propAnniversary ).value().toString(), TQt::ISODate ); m_YABEntry->notes = property( YahooProtocol::protocol()->propNotes ).value().toString(); m_YABEntry->additional1 = property( YahooProtocol::protocol()->propAdditional1 ).value().toString(); m_YABEntry->additional2 = property( YahooProtocol::protocol()->propAdditional2 ).value().toString(); |