summaryrefslogtreecommitdiffstats
path: root/kresources
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:35:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:35:40 -0600
commit17e2ed52dbf8fac39a04331da02b9572e9e2e304 (patch)
treecd0d57c975a55e05aac71794b363748f24625875 /kresources
parenta684ecdeceae222d5aa930478b7bf59a3b7cae7f (diff)
downloadtdepim-17e2ed52dbf8fac39a04331da02b9572e9e2e304.tar.gz
tdepim-17e2ed52dbf8fac39a04331da02b9572e9e2e304.zip
Rename additional global TQt functions
Diffstat (limited to 'kresources')
-rw-r--r--kresources/egroupware/debugdialog.cpp2
-rw-r--r--kresources/groupwise/soap/groupwiseserver.cpp14
-rw-r--r--kresources/kolab/kabc/contact.cpp2
-rw-r--r--kresources/kolab/kcal/event.cpp2
-rw-r--r--kresources/kolab/kcal/journal.cpp6
-rw-r--r--kresources/kolab/kcal/task.cpp2
-rw-r--r--kresources/kolab/knotes/note.cpp2
-rw-r--r--kresources/kolab/shared/kolabbase.cpp4
-rw-r--r--kresources/scalix/kabc/contact.cpp4
-rw-r--r--kresources/scalix/scalixadmin/passwordpage.cpp2
-rw-r--r--kresources/scalix/shared/scalixbase.cpp4
-rw-r--r--kresources/tvanytime/service.cpp12
12 files changed, 28 insertions, 28 deletions
diff --git a/kresources/egroupware/debugdialog.cpp b/kresources/egroupware/debugdialog.cpp
index 75a8ab81..54fe0723 100644
--- a/kresources/egroupware/debugdialog.cpp
+++ b/kresources/egroupware/debugdialog.cpp
@@ -88,7 +88,7 @@ void DebugDialog::save()
TQFile file( fileName );
if ( !file.open( IO_WriteOnly ) ) {
- qWarning( "Couldn't open file %s", file.name().latin1() );
+ tqWarning( "Couldn't open file %s", file.name().latin1() );
return;
}
diff --git a/kresources/groupwise/soap/groupwiseserver.cpp b/kresources/groupwise/soap/groupwiseserver.cpp
index ea2c492d..9a2f4427 100644
--- a/kresources/groupwise/soap/groupwiseserver.cpp
+++ b/kresources/groupwise/soap/groupwiseserver.cpp
@@ -194,12 +194,12 @@ int GroupwiseServer::gSoapSendCallback( struct soap * soap, const char *s, size_
}
if ( getenv("DEBUG_GW_RESOURCE") ) {
- qDebug("*************************");
+ tqDebug("*************************");
char p[99999];
strncpy(p, s, n);
p[n]='\0';
- qDebug("%s", p );
- qDebug("\n*************************");
+ tqDebug("%s", p );
+ tqDebug("\n*************************");
}
log( "SENT", s, n );
@@ -249,13 +249,13 @@ size_t GroupwiseServer::gSoapReceiveCallback( struct soap *soap, char *s,
<< " " << m_sock->socketStatus() << " " << m_sock->fd() << endl;
} else {
if ( getenv("DEBUG_GW_RESOURCE") ) {
- qDebug("*************************");
+ tqDebug("*************************");
char p[99999];
strncpy(p, s, ret);
p[ret]='\0';
- qDebug("%s", p );
- qDebug("\n*************************");
- qDebug("kioReceiveCallback return %ld", ret);
+ tqDebug("%s", p );
+ tqDebug("\n*************************");
+ tqDebug("kioReceiveCallback return %ld", ret);
}
log( "RECV", s, ret );
}
diff --git a/kresources/kolab/kabc/contact.cpp b/kresources/kolab/kabc/contact.cpp
index 79609902..a17c340b 100644
--- a/kresources/kolab/kabc/contact.cpp
+++ b/kresources/kolab/kabc/contact.cpp
@@ -821,7 +821,7 @@ bool Contact::loadXML( const TQDomDocument& document )
mIsDistributionList = top.tagName() == "distribution-list";
if ( top.tagName() != "contact" && !mIsDistributionList ) {
- qWarning( "XML error: Top tag was %s instead of the expected contact or distribution-list",
+ tqWarning( "XML error: Top tag was %s instead of the expected contact or distribution-list",
top.tagName().ascii() );
return false;
}
diff --git a/kresources/kolab/kcal/event.cpp b/kresources/kolab/kcal/event.cpp
index 5f85cde2..c15c567d 100644
--- a/kresources/kolab/kcal/event.cpp
+++ b/kresources/kolab/kcal/event.cpp
@@ -157,7 +157,7 @@ bool Event::loadXML( const TQDomDocument& document )
TQDomElement top = document.documentElement();
if ( top.tagName() != "event" ) {
- qWarning( "XML error: Top tag was %s instead of the expected event",
+ tqWarning( "XML error: Top tag was %s instead of the expected event",
top.tagName().ascii() );
return false;
}
diff --git a/kresources/kolab/kcal/journal.cpp b/kresources/kolab/kcal/journal.cpp
index 4957927a..acfc4e71 100644
--- a/kresources/kolab/kcal/journal.cpp
+++ b/kresources/kolab/kcal/journal.cpp
@@ -129,7 +129,7 @@ bool Journal::loadXML( const TQDomDocument& document )
TQDomElement top = document.documentElement();
if ( top.tagName() != "journal" ) {
- qWarning( "XML error: Top tag was %s instead of the expected Journal",
+ tqWarning( "XML error: Top tag was %s instead of the expected Journal",
top.tagName().ascii() );
return false;
}
@@ -141,10 +141,10 @@ bool Journal::loadXML( const TQDomDocument& document )
TQDomElement e = n.toElement();
if ( !loadAttribute( e ) ) {
// Unhandled tag - save for later storage
- //qDebug( "Unhandled tag: %s", e.toCString().data() );
+ //tqDebug( "Unhandled tag: %s", e.toCString().data() );
}
} else
- qDebug( "Node is not a comment or an element???" );
+ tqDebug( "Node is not a comment or an element???" );
}
return true;
diff --git a/kresources/kolab/kcal/task.cpp b/kresources/kolab/kcal/task.cpp
index ccbb03e5..fe75845d 100644
--- a/kresources/kolab/kcal/task.cpp
+++ b/kresources/kolab/kcal/task.cpp
@@ -327,7 +327,7 @@ bool Task::loadXML( const TQDomDocument& document )
TQDomElement top = document.documentElement();
if ( top.tagName() != "task" ) {
- qWarning( "XML error: Top tag was %s instead of the expected task",
+ tqWarning( "XML error: Top tag was %s instead of the expected task",
top.tagName().ascii() );
return false;
}
diff --git a/kresources/kolab/knotes/note.cpp b/kresources/kolab/knotes/note.cpp
index e456e43b..7df5b26b 100644
--- a/kresources/kolab/knotes/note.cpp
+++ b/kresources/kolab/knotes/note.cpp
@@ -150,7 +150,7 @@ bool Note::loadXML( const TQDomDocument& document )
TQDomElement top = document.documentElement();
if ( top.tagName() != "note" ) {
- qWarning( "XML error: Top tag was %s instead of the expected note",
+ tqWarning( "XML error: Top tag was %s instead of the expected note",
top.tagName().ascii() );
return false;
}
diff --git a/kresources/kolab/shared/kolabbase.cpp b/kresources/kolab/shared/kolabbase.cpp
index a0f32529..167f2566 100644
--- a/kresources/kolab/shared/kolabbase.cpp
+++ b/kresources/kolab/shared/kolabbase.cpp
@@ -370,7 +370,7 @@ bool KolabBase::load( const TQString& xml )
bool ok = document.setContent( xml, &errorMsg, &errorLine, &errorColumn );
if ( !ok ) {
- qWarning( "Error loading document: %s, line %d, column %d",
+ tqWarning( "Error loading document: %s, line %d, column %d",
errorMsg.latin1(), errorLine, errorColumn );
return false;
}
@@ -387,7 +387,7 @@ bool KolabBase::load( TQFile& xml )
bool ok = document.setContent( &xml, &errorMsg, &errorLine, &errorColumn );
if ( !ok ) {
- qWarning( "Error loading document: %s, line %d, column %d",
+ tqWarning( "Error loading document: %s, line %d, column %d",
errorMsg.latin1(), errorLine, errorColumn );
return false;
}
diff --git a/kresources/scalix/kabc/contact.cpp b/kresources/scalix/kabc/contact.cpp
index 9f38674e..457a34e7 100644
--- a/kresources/scalix/kabc/contact.cpp
+++ b/kresources/scalix/kabc/contact.cpp
@@ -183,7 +183,7 @@ KABC::Addressee Contact::fromXml( const TQString &xml )
TQString errorMsg;
int errorLine, errorColumn;
if ( !document.setContent( xml, true, &errorMsg, &errorLine, &errorColumn ) ) {
- qDebug( "Error parsing XML in Scalix::Contact::fromXml: %s (%d,%d)", errorMsg.latin1(), errorLine, errorColumn );
+ tqDebug( "Error parsing XML in Scalix::Contact::fromXml: %s (%d,%d)", errorMsg.latin1(), errorLine, errorColumn );
return KABC::Addressee();
}
@@ -207,7 +207,7 @@ KABC::Addressee Contact::fromXml( const TQString &xml )
return list;
} else {
- qDebug( "Error interpreting XML in Scalix::Contact::fromXml: no 'contact' or 'distlist' tag found" );
+ tqDebug( "Error interpreting XML in Scalix::Contact::fromXml: no 'contact' or 'distlist' tag found" );
return KABC::Addressee();
}
}
diff --git a/kresources/scalix/scalixadmin/passwordpage.cpp b/kresources/scalix/scalixadmin/passwordpage.cpp
index de1a9aac..23f4304c 100644
--- a/kresources/scalix/scalixadmin/passwordpage.cpp
+++ b/kresources/scalix/scalixadmin/passwordpage.cpp
@@ -151,7 +151,7 @@ void PasswordPage::finished( KIO::Job* job )
}
if ( scalixAccount.isEmpty() ) {
- qWarning( "No Scalix Groupware Account found in kmailrc!" );
+ tqWarning( "No Scalix Groupware Account found in kmailrc!" );
return;
}
diff --git a/kresources/scalix/shared/scalixbase.cpp b/kresources/scalix/shared/scalixbase.cpp
index 0d305c0a..d40bdb03 100644
--- a/kresources/scalix/shared/scalixbase.cpp
+++ b/kresources/scalix/shared/scalixbase.cpp
@@ -333,7 +333,7 @@ bool ScalixBase::load( const TQString& xml )
bool ok = document.setContent( xml, &errorMsg, &errorLine, &errorColumn );
if ( !ok ) {
- qWarning( "Error loading document: %s, line %d, column %d",
+ tqWarning( "Error loading document: %s, line %d, column %d",
errorMsg.latin1(), errorLine, errorColumn );
return false;
}
@@ -350,7 +350,7 @@ bool ScalixBase::load( TQFile& xml )
bool ok = document.setContent( &xml, &errorMsg, &errorLine, &errorColumn );
if ( !ok ) {
- qWarning( "Error loading document: %s, line %d, column %d",
+ tqWarning( "Error loading document: %s, line %d, column %d",
errorMsg.latin1(), errorLine, errorColumn );
return false;
}
diff --git a/kresources/tvanytime/service.cpp b/kresources/tvanytime/service.cpp
index e4c3ff21..f713f7b1 100644
--- a/kresources/tvanytime/service.cpp
+++ b/kresources/tvanytime/service.cpp
@@ -58,7 +58,7 @@ TQString Service::name() const
bool Service::loadXML( const TQDomElement & top )
{
if ( top.tagName() != "ServiceInformation" ) {
- qWarning( "XML error: Top tag was %s instead of the expected service information",
+ tqWarning( "XML error: Top tag was %s instead of the expected service information",
top.tagName().ascii() );
return false;
}
@@ -72,7 +72,7 @@ bool Service::loadXML( const TQDomElement & top )
TQDomElement e = n.toElement();
loadAttribute( e );
} else
- qWarning( "Node is not a comment or an element???" );
+ tqWarning( "Node is not a comment or an element???" );
}
return true;
}
@@ -105,7 +105,7 @@ TQRegExp ScheduleEvent::sRegExp( "PT(\\d{2})H(\\d{2})M(\\d{2})S" );
bool ScheduleEvent::loadXML( const TQDomElement & top )
{
if ( top.tagName() != "ScheduleEvent" ) {
- qWarning( "XML error: Top tag was %s instead of the expected event",
+ tqWarning( "XML error: Top tag was %s instead of the expected event",
top.tagName().ascii() );
return false;
}
@@ -119,7 +119,7 @@ bool ScheduleEvent::loadXML( const TQDomElement & top )
TQDomElement e = n.toElement();
loadAttribute( e );
} else
- qWarning( "Node is not a comment or an element???" );
+ tqWarning( "Node is not a comment or an element???" );
}
return true;
}
@@ -169,7 +169,7 @@ ProgramInformation::ProgramInformation( const TQString & title, const TQString &
bool ProgramInformation::loadXML( const TQDomElement & top )
{
if ( top.tagName() != "ProgramInformation" ) {
- qWarning( "XML error: Top tag was %s instead of the expected program information",
+ tqWarning( "XML error: Top tag was %s instead of the expected program information",
top.tagName().ascii() );
return false;
}
@@ -193,7 +193,7 @@ bool ProgramInformation::loadXML( const TQDomElement & top )
}
}
} else
- qWarning( "Node is not a comment or an element???" );
+ tqWarning( "Node is not a comment or an element???" );
}
return true;
}