Fix remaining instances of tqStatus embedded in user visible strings

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1250385 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 52c719697a
commit 7c879109a2

@ -178,7 +178,7 @@ void Transfer::synchronousAbort()
void Transfer::slotUpdateActions()
{
sDebugIn << "the item tqStatus is =" << status << "offline=" << ksettings.b_offline << endl;
sDebugIn << "the item Status is =" << status << "offline=" << ksettings.b_offline << endl;
//if we are offline just disable Resume and Pause and return
if (ksettings.b_offline) {
m_paResume->setEnabled(false);

@ -1105,7 +1105,7 @@ TQString ChatMessagePart::formatStyleKeywords( const TQString &sourceHTML, const
// Build the action message if the currentChatStyle do not have Action template.
if( message.type() == Kopete::Message::TypeAction && !d->currentChatStyle->hasActionTemplate() )
{
kdDebug(14000) << k_funcinfo << "Map Action message to tqStatus template. " << endl;
kdDebug(14000) << k_funcinfo << "Map Action message to Status template. " << endl;
TQString boldNick = TQString::fromUtf8("%1<b>%2</b></a> ").tqarg(nickLink,nick);
TQString newBody = boldNick + message.parsedBody();

@ -209,9 +209,9 @@ int ChatWindowStyleManager::installStyle(const TQString &styleBundlePath)
// kdDebug() << k_funcinfo << "Contents/Resources/Footer.html found" << endl;
validResult += 1;
}
if( currentDir->entry(TQString::fromUtf8("Contents/Resources/tqStatus.html")) )
if( currentDir->entry(TQString::fromUtf8("Contents/Resources/Status.html")) )
{
// kdDebug() << k_funcinfo << "Contents/Resources/tqStatus.html found" << endl;
// kdDebug() << k_funcinfo << "Contents/Resources/Status.html found" << endl;
validResult += 1;
}
if( currentDir->entry(TQString::fromUtf8("Contents/Resources/Header.html")) )

@ -389,7 +389,7 @@ void KopeteMetaContactLVI::slotContactStatusChanged( Kopete::Contact *c )
enum ChangeType { noChange, noEvent, signedIn, changedtqStatus, signedOut };
ChangeType t = noChange;
//kdDebug( 14000 ) << k_funcinfo << m_metaContact->displayName() <<
//" - Old MC tqStatus: " << m_oldtqStatus.status() << ", New MC tqStatus: " << newtqStatus.status() << endl;
//" - Old MC Status: " << m_oldtqStatus.status() << ", New MC Status: " << newtqStatus.status() << endl;
// first, exclude changes due to blocking or subscription changes at the protocol level
if ( ( m_oldtqStatus.status() == Kopete::OnlineStatus::Unknown
|| newtqStatus.status() == Kopete::OnlineStatus::Unknown ) )

@ -262,7 +262,7 @@ void KopeteWindow::initActions()
TQT_SLOT( slotGlobalAvailable() ), actionCollection(),
"SetAvailableAll" );
actionAwayMenu = new KActionMenu( i18n("&Set tqStatus"), "kopeteavailable",
actionAwayMenu = new KActionMenu( i18n("&Set Status"), "kopeteavailable",
actionCollection(), "Status" );
actionAwayMenu->setDelayed( false );
actionAwayMenu->insert(actionSetAvailable);
@ -317,7 +317,7 @@ void KopeteWindow::initActions()
editGlobalAction->setAutoSized( true );
// KActionMenu for selecting the global status message(kopeteonlinestatus_0)
KActionMenu * setStatusMenu = new KActionMenu( i18n( "Set tqStatus Message" ), "kopeteeditstatusmessage", actionCollection(), "SetStatusMessage" );
KActionMenu * setStatusMenu = new KActionMenu( i18n( "Set Status Message" ), "kopeteeditstatusmessage", actionCollection(), "SetStatusMessage" );
setStatusMenu->setDelayed( false );
connect( setStatusMenu->popupMenu(), TQT_SIGNAL( aboutToShow() ), TQT_SLOT(slotBuildStatusMessageMenu() ) );
connect( setStatusMenu->popupMenu(), TQT_SIGNAL( activated( int ) ), TQT_SLOT(slotStatusMessageSelected( int ) ) );

@ -118,7 +118,7 @@ Account::~Account()
void Account::reconnect()
{
kdDebug( 14010 ) << k_funcinfo << "account " << d->id << " restoretqStatus " << d->restoretqStatus.status() << " restoreMessage " << d->restoreMessage << endl;
kdDebug( 14010 ) << k_funcinfo << "account " << d->id << " restoreStatus " << d->restoreStatus.status() << " restoreMessage " << d->restoreMessage << endl;
setOnlineStatus( d->restoretqStatus, d->restoreMessage );
}
@ -439,7 +439,7 @@ void Account::slotOnlineStatusChanged( Contact * /* contact */,
{
d->restoretqStatus = newtqStatus;
d->restoreMessage = myself()->property( Kopete::Global::Properties::self()->awayMessage() ).value().toString();
// kdDebug( 14010 ) << k_funcinfo << "account " << d->id << " restoretqStatus " << d->restoretqStatus.status() << " restoreMessage " << d->restoreMessage << endl;
// kdDebug( 14010 ) << k_funcinfo << "account " << d->id << " restoreStatus " << d->restoreStatus.status() << " restoreMessage " << d->restoreMessage << endl;
}
/* kdDebug(14010) << k_funcinfo << "account " << d->id << " changed status. was "

@ -106,7 +106,7 @@ public:
void registerOnlineStatus(const OnlineStatus& status, const TQString &caption, unsigned int categories=0x00 , unsigned int options=0x0);
/**
* insert "settqStatus" actions from the given account to the specified actionMenu.
* insert "setStatus" actions from the given account to the specified actionMenu.
* (actions have that menu as parent TQObject)
* they are connected to the Account::setOnlineStatus signal
*

@ -39,28 +39,28 @@ void DetectorNetworktqStatus::checktqStatus() const {
void DetectorNetworktqStatus::statusChanged(const TQString& host, NetworktqStatus::EnumtqStatus status) {
switch(status) {
case NetworktqStatus::Offline:
kdDebug(14312) << k_funcinfo << host << ": NetworktqStatus::Offline" << endl;
kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::Offline" << endl;
break;
case NetworktqStatus::OfflineFailed:
kdDebug(14312) << k_funcinfo << host << ": NetworktqStatus::OfflineFailed" << endl;
kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::OfflineFailed" << endl;
break;
case NetworktqStatus::OfflineDisconnected:
kdDebug(14312) << k_funcinfo << host << ": NetworktqStatus::OfflineDisconnected" << endl;
kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::OfflineDisconnected" << endl;
break;
case NetworktqStatus::ShuttingDown:
kdDebug(14312) << k_funcinfo << host << ": NetworktqStatus::ShuttingDown" << endl;
kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::ShuttingDown" << endl;
break;
case NetworktqStatus::Establishing:
kdDebug(14312) << k_funcinfo << host << ": NetworktqStatus::Establishing" << endl;
kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::Establishing" << endl;
break;
case NetworktqStatus::Online:
kdDebug(14312) << k_funcinfo << host << ": NetworktqStatus::Online" << endl;
kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::Online" << endl;
break;
case NetworktqStatus::NoNetworks:
kdDebug(14312) << k_funcinfo << host << ": NetworktqStatus::NoNetworks" << endl;
kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::NoNetworks" << endl;
break;
case NetworktqStatus::Unreachable:
kdDebug(14312) << k_funcinfo << host << ": NetworktqStatus::Unreachable" << endl;
kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::Unreachable" << endl;
break;
}
}

@ -224,7 +224,7 @@ void StatisticsDialog::generatePageFromTQStringList(TQStringList values, const T
// mainWidget->listView->addColumn(i18n("End Date"));
TQString todayString;
todayString.append(i18n("<div class=\"statgroup\" title=\"Contact status history for today\"><h2>Today</h2><table width=\"100%\"><tr><td>tqStatus</td><td>From</td><td>To</td></tr>"));
todayString.append(i18n("<div class=\"statgroup\" title=\"Contact status history for today\"><h2>Today</h2><table width=\"100%\"><tr><td>Status</td><td>From</td><td>To</td></tr>"));
bool today;

@ -395,8 +395,8 @@ GaduAccount::changetqStatus( const Kopete::OnlineStatus& status, const TQString&
unsigned int ns;
kdDebug(14100) << "##### change status #####" << endl;
kdDebug(14100) << "### tqStatus = " << p->session_->isConnected() << endl;
kdDebug(14100) << "### tqStatus description = \"" << descr << "\"" << endl;
kdDebug(14100) << "### Status = " << p->session_->isConnected() << endl;
kdDebug(14100) << "### Status description = \"" << descr << "\"" << endl;
// if change to not available, log off
if ( GG_S_NA( status.internalStatus() ) ) {

@ -65,10 +65,10 @@ GroupWiseChatSession::GroupWiseChatSession(const Kopete::Contact* user, Kopete::
m_actionInvite = new KActionMenu( i18n( "&Invite" ), actionCollection() , "gwInvite" );
connect( m_actionInvite->popupMenu(), TQT_SIGNAL( aboutToShow() ), this, TQT_SLOT(slotActionInviteAboutToShow() ) ) ;
m_secure = new KAction( i18n( "Security tqStatus" ), "encrypted", KShortcut(), this, TQT_SLOT( slotShowSecurity() ), actionCollection(), "gwSecureChat" );
m_secure = new KAction( i18n( "Security Status" ), "encrypted", KShortcut(), this, TQT_SLOT( slotShowSecurity() ), actionCollection(), "gwSecureChat" );
m_secure->setToolTip( i18n( "Conversation is secure" ) );
m_logging = new KAction( i18n( "Archiving tqStatus" ), "logchat", KShortcut(), this, TQT_SLOT( slotShowArchiving() ), actionCollection(), "gwLoggingChat" );
m_logging = new KAction( i18n( "Archiving Status" ), "logchat", KShortcut(), this, TQT_SLOT( slotShowArchiving() ), actionCollection(), "gwLoggingChat" );
updateArchiving();
setXMLFile("gwchatui.rc");
@ -503,14 +503,14 @@ void GroupWiseChatSession::slotShowSecurity()
{
TQWidget * w = ( view(false) ? dynamic_cast<KMainWindow*>( view(false)->mainWidget()->tqtopLevelWidget() ) :
Kopete::UI::Global::mainWidget() );
KMessageBox::queuedMessageBox( w, KMessageBox::Information, i18n( "This conversation is secured with SSL security." ), i18n("Security tqStatus" ) );
KMessageBox::queuedMessageBox( w, KMessageBox::Information, i18n( "This conversation is secured with SSL security." ), i18n("Security Status" ) );
}
void GroupWiseChatSession::slotShowArchiving()
{
TQWidget * w = ( view(false) ? dynamic_cast<KMainWindow*>( view(false)->mainWidget()->tqtopLevelWidget() ) :
Kopete::UI::Global::mainWidget() );
KMessageBox::queuedMessageBox( w, KMessageBox::Information, i18n( "This conversation is being logged administratively." ), i18n("Archiving tqStatus" ) );
KMessageBox::queuedMessageBox( w, KMessageBox::Information, i18n( "This conversation is being logged administratively." ), i18n("Archiving Status" ) );
}
#include "gwmessagemanager.moc"

@ -61,7 +61,7 @@ GroupWiseProtocol::GroupWiseProtocol( TQObject* parent, const char *name, const
groupwiseUnknown ( Kopete::OnlineStatus::Unknown, 25, this, GroupWise::Unknown, "status_unknown",
i18n( "Unknown" ) ),
groupwiseInvalid ( Kopete::OnlineStatus::Unknown, 25, this, GroupWise::Invalid, "status_unknown",
i18n( "Invalid tqStatus" ) ),
i18n( "Invalid Status" ) ),
groupwiseConnecting ( Kopete::OnlineStatus::Connecting, 25, this, 99, "groupwise_connecting",
i18n( "Connecting" ) ),
propGivenName( Kopete::Global::Properties::self()->firstName() ),

@ -34,7 +34,7 @@ void SetStatusTask::status( tqStatus newtqStatus, const TQString &awayMessage, c
{
if ( newtqStatus > GroupWise::Invalid )
{
setError( 1, "Invalid tqStatus" );
setError( 1, "Invalid Status" );
return;
}

@ -195,16 +195,16 @@ void Engine::connectToServer(const TQString &host, TQ_UINT16 port, const TQStrin
kdDebug(14120) << "Sock status: " << m_sock->socketStatus() << endl;
if( !m_sock->setAddress(m_Host, m_Port) )
kdDebug(14120) << k_funcinfo << "setAddress failed. tqStatus: " << m_sock->socketStatus() << endl;
kdDebug(14120) << k_funcinfo << "setAddress failed. Status: " << m_sock->socketStatus() << endl;
if( m_sock->startAsyncConnect() == 0 )
{
kdDebug(14120) << k_funcinfo << "Success!. tqStatus: " << m_sock->socketStatus() << endl;
kdDebug(14120) << k_funcinfo << "Success!. Status: " << m_sock->socketStatus() << endl;
settqStatus(Connecting);
}
else
{
kdDebug(14120) << k_funcinfo << "Failed. tqStatus: " << m_sock->socketStatus() << endl;
kdDebug(14120) << k_funcinfo << "Failed. Status: " << m_sock->socketStatus() << endl;
settqStatus(Disconnected);
}
}

@ -90,8 +90,8 @@ JabberProtocol::JabberProtocol (TQObject * parent, const char *name, const TQStr
propWorkPhone(Kopete::Global::Properties::self()->workPhone()),
propWorkMobilePhone(Kopete::Global::Properties::self()->workMobilePhone()),
propNickName(Kopete::Global::Properties::self()->nickName()),
propSubscriptiontqStatus("jabberSubscriptiontqStatus", i18n ("Subscription"), TQString(), true, false),
propAuthorizationtqStatus("jabberAuthorizationtqStatus", i18n ("Authorization tqStatus"), TQString(), true, false),
propSubscriptiontqStatus("jabberSubscriptionStatus", i18n ("Subscription"), TQString(), true, false),
propAuthorizationtqStatus("jabberAuthorizationStatus", i18n ("Authorization Status"), TQString(), true, false),
propAvailableResources("jabberAvailableResources", i18n ("Available Resources"), "jabber_chatty", false, true),
propVCardCacheTimeStamp("jabberVCardCacheTimeStamp", i18n ("vCard Cache Timestamp"), TQString(), true, false, true),
propPhoto(Kopete::Global::Properties::self()->photo()),

@ -32,7 +32,7 @@
* for a given JID can be found. It's an empty offline
* resource.
*/
XMPP::Resource JabberResourcePool::EmptyResource ( "", XMPP::tqStatus ( "", "", 0, false ) );
XMPP::Resource JabberResourcePool::EmptyResource ( "", XMPP::Status ( "", "", 0, false ) );
class JabberResourcePool::Private
{

@ -116,7 +116,7 @@ public:
std::string QuiettqStatus() const {
if (jid_.resource().find("Psi") != std::string::npos) {
if (status_ == "Online" ||
status_.find("Auto tqStatus") != std::string::npos)
status_.find("Auto Status") != std::string::npos)
return STR_EMPTY;
}
if (jid_.resource().find("Gaim") != std::string::npos) {

@ -28,7 +28,7 @@ class JabberClient;
* A dialog to send raw strings to the jabber server.
*
* It comes with a TQComboBox to choose some "template" strings
* like "Availability tqStatus", "Subscription",...
* like "Availability Status", "Subscription",...
*
* @author Till Gerken <till@tantalo.net>
* @author Chris TenHarmsel <tenharmsel@users.sf.net>

@ -138,9 +138,9 @@ KActionMenu * MeanwhileAccount::actionMenu()
menu->popupMenu()->insertSeparator();
#if 0
menu->insert(new KAction(i18n("&Change tqStatus Message"), TQString(), 0,
menu->insert(new KAction(i18n("&Change Status Message"), TQString(), 0,
this, TQT_SLOT(meanwhileChangetqStatus()), this,
"meanwhileChangetqStatus"));
"meanwhileChangeStatus"));
//infoPlugin->addCustomMenus(theMenu);
#endif
return menu;

@ -51,7 +51,7 @@ ICQMyselfContact::ICQMyselfContact( ICQAccount *acct ) : OscarMyselfContact( acc
void ICQMyselfContact::userInfoUpdated()
{
DWORD extendedtqStatus = details().extendedtqStatus();
kdDebug( OSCAR_ICQ_DEBUG ) << k_funcinfo << "extendedtqStatus is " << TQString::number( extendedtqStatus, 16 ) << endl;
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() );

@ -121,7 +121,7 @@ void ICQContact::userInfoUpdated( const TQString& contact, const UserDetails& de
if ( !isOnline() )
removeProperty( mProtocol->awayMessage );
kdDebug( OSCAR_ICQ_DEBUG ) << k_funcinfo << "extendedtqStatus is " << details.extendedtqStatus() << endl;
kdDebug( OSCAR_ICQ_DEBUG ) << k_funcinfo << "extendedStatus is " << details.extendedtqStatus() << endl;
ICQ::Presence presence = ICQ::Presence::fromOscartqStatus( details.extendedtqStatus() & 0xffff );
setOnlineStatus( presence.toOnlineStatus() );

@ -580,7 +580,7 @@ void Client::setPicturetqStatus( Yahoo::PicturetqStatus status )
if( d->pictureFlag == status )
return;
kdDebug(YAHOO_RAW_DEBUG) << "Setting PicturetqStatus to: " << status << endl;
kdDebug(YAHOO_RAW_DEBUG) << "Setting PictureStatus to: " << status << endl;
d->pictureFlag = status;
SendPictureTask *spt = new SendPictureTask( d->root );
spt->setType( SendPictureTask::SendtqStatus );

@ -150,7 +150,7 @@ Transfer* YMSGProtocol::parse( const TQByteArray & packet, uint& bytes )
service = Yahoo::ServiceIddeAct;
break;
case (Yahoo::ServicetqStatus) :
kdDebug(YAHOO_RAW_DEBUG) << " Parsed packet service - This means ServicetqStatus " << servicenum << endl;
kdDebug(YAHOO_RAW_DEBUG) << " Parsed packet service - This means ServiceStatus " << servicenum << endl;
service = Yahoo::ServicetqStatus;
break;
case (Yahoo::ServiceMessage) :
@ -178,7 +178,7 @@ Transfer* YMSGProtocol::parse( const TQByteArray & packet, uint& bytes )
service = Yahoo::ServicePictureChecksum;
break;
case (Yahoo::ServicePicturetqStatus) :
kdDebug(YAHOO_RAW_DEBUG) << " Parsed packet service - This means ServicePicturetqStatus " << servicenum << endl;
kdDebug(YAHOO_RAW_DEBUG) << " Parsed packet service - This means ServicePictureStatus " << servicenum << endl;
service = Yahoo::ServicePicturetqStatus;
break;
case (Yahoo::ServicePicture) :
@ -298,7 +298,7 @@ Transfer* YMSGProtocol::parse( const TQByteArray & packet, uint& bytes )
service = Yahoo::ServiceComment;
break;
case (Yahoo::ServiceBuddytqStatus) :
kdDebug(YAHOO_RAW_DEBUG) << " Parsed packet service - This means ServiceBuddytqStatus " << servicenum << endl;
kdDebug(YAHOO_RAW_DEBUG) << " Parsed packet service - This means ServiceBuddyStatus " << servicenum << endl;
service = Yahoo::ServiceBuddytqStatus;
break;
case (Yahoo::ServiceBuddyList) :

@ -140,7 +140,7 @@ void YahooAccount::setPort( int port )
void YahooAccount::slotGotqStatus( int status, const TQString &awayMessage)
{
kdDebug(YAHOO_GEN_DEBUG) << "GotqStatus: " << status << " msg: " << awayMessage << endl;
kdDebug(YAHOO_GEN_DEBUG) << "GoStatus: " << status << " msg: " << awayMessage << endl;
if( !isConnected() )
{
connect( m_protocol->statusFromYahoo( status ) );
@ -1034,7 +1034,7 @@ void YahooAccount::slotStatusChanged( const TQString &who, int stat, const TQStr
void YahooAccount::slotStealthStatusChanged( const TQString &who, Yahoo::StealthtqStatus state )
{
//kdDebug(YAHOO_GEN_DEBUG) << "Stealth tqStatus of " << who << "changed to " << state;
//kdDebug(YAHOO_GEN_DEBUG) << "Stealth Status of " << who << "changed to " << state;
YahooContact* kc = contact( who );
if ( kc == NULL ) {

@ -312,7 +312,7 @@ void Opener::mainLoop() {
break;
case PPPDExittqStatus:
Debug("Opener: received PPPDExittqStatus");
Debug("Opener: received PPPDExitStatus");
MY_ASSERT(len == sizeof(struct PPPDExitStatusRequest));
response.status = pppdExittqStatus;
sendResponse(&response);

@ -53,7 +53,7 @@ ksprogressData::ksprogressData
transfertqStatus->setGeometry( 10, 35, 230, 20 );
transfertqStatus->setMinimumSize( 10, 10 );
transfertqStatus->setMaximumSize( 32767, 32767 );
transfertqStatus->setText( i18n("Transfer tqStatus") );
transfertqStatus->setText( i18n("Transfer Status") );
transfertqStatus->tqsetAlignment( 289 );
transfertqStatus->setMargin( -1 );

@ -178,7 +178,7 @@ sub new {
= ( $gm_main, $label, $lb, $button_get, $button_send, $button_forget, $gm_but1, $gm_but2, $button_send );
print "*I* Finished creating DCCtqStatus\n";
print "*I* Finished creating DCCStatus\n";
return $self;
}
@ -472,7 +472,7 @@ addhook("dcc_disconnect", "ksirc_dcc_disconnect");
&print("*I* Done DCC tqStatus");
&print("*I* Done DCC Status");
#$::test = new DCCtqStatus;
#$::test->resize(400, 275);
#$::test->show();

Loading…
Cancel
Save