summaryrefslogtreecommitdiffstats
path: root/kommander/editor
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:37:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:37:34 -0600
commit27075bc698a12dbc10e76618d83d952bd9d579ef (patch)
tree079e27500c91feba0ad2a67ddfe97ddfeb05d6df /kommander/editor
parent78c422fd8a2f2d2bc5650bddcb743442f1472cb5 (diff)
downloadtdewebdev-27075bc698a12dbc10e76618d83d952bd9d579ef.tar.gz
tdewebdev-27075bc698a12dbc10e76618d83d952bd9d579ef.zip
Rename additional global TQt functions
Diffstat (limited to 'kommander/editor')
-rw-r--r--kommander/editor/assistproc.cpp6
-rw-r--r--kommander/editor/command.cpp12
-rw-r--r--kommander/editor/hierarchyview.cpp2
-rw-r--r--kommander/editor/layout.cpp2
-rw-r--r--kommander/editor/metadatabase.cpp98
-rw-r--r--kommander/editor/pixmapchooser.cpp2
-rw-r--r--kommander/editor/propertyeditor.cpp4
-rw-r--r--kommander/editor/resource.cpp12
-rw-r--r--kommander/editor/widgetdatabase.cpp4
-rw-r--r--kommander/editor/widgetfactory.cpp6
10 files changed, 74 insertions, 74 deletions
diff --git a/kommander/editor/assistproc.cpp b/kommander/editor/assistproc.cpp
index c13f8b86..8fbf61f3 100644
--- a/kommander/editor/assistproc.cpp
+++ b/kommander/editor/assistproc.cpp
@@ -43,7 +43,7 @@ bool AssistProc::run( const TQString &path )
addArgument( "-stdin" );
if ( !start() ) {
- qWarning( "Assistant [exe]: Couldn't start \'%s\', please check path.", assistantPath.latin1() );
+ tqWarning( "Assistant [exe]: Couldn't start \'%s\', please check path.", assistantPath.latin1() );
return false;
}
return true;
@@ -64,11 +64,11 @@ bool AssistProc::sendRequest( const TQString &data )
void AssistProc::processOutput()
{
- qWarning( "Assistant [out]: %s", readStdout().data() );
+ tqWarning( "Assistant [out]: %s", readStdout().data() );
}
void AssistProc::processErrOutput()
{
- qWarning( "Assistant [err]: %s", readStderr().data() );
+ tqWarning( "Assistant [err]: %s", readStderr().data() );
}
#include "assistproc.moc"
diff --git a/kommander/editor/command.cpp b/kommander/editor/command.cpp
index 231537b9..02da2f52 100644
--- a/kommander/editor/command.cpp
+++ b/kommander/editor/command.cpp
@@ -1066,7 +1066,7 @@ void AddConnectionCommand::execute()
#ifndef KOMMANDER
if ( connection.receiver == formWindow()->mainContainer() )
{
- // qDebug("AddConnectionCommand::execute(): Would have called EventList::setup()");
+ // tqDebug("AddConnectionCommand::execute(): Would have called EventList::setup()");
formWindow()->mainWindow()->propertyeditor()->eventList()->setup();
}
#endif
@@ -1079,7 +1079,7 @@ void AddConnectionCommand::unexecute()
#ifndef KOMMANDER
if ( connection.receiver == formWindow()->mainContainer() )
{
- // qDebug("AddConnectionCommand::unexecute(): Would have called EventList::setup()");
+ // tqDebug("AddConnectionCommand::unexecute(): Would have called EventList::setup()");
formWindow()->mainWindow()->propertyeditor()->eventList()->setup();
}
#endif
@@ -1100,7 +1100,7 @@ void RemoveConnectionCommand::execute()
#ifndef KOMMANDER
if ( connection.receiver == formWindow()->mainContainer() )
{
- // qDebug("RemoveConnectionCommand::execute(): Would have called EventList::setup()");
+ // tqDebug("RemoveConnectionCommand::execute(): Would have called EventList::setup()");
formWindow()->mainWindow()->propertyeditor()->eventList()->setup();
}
#endif
@@ -1113,7 +1113,7 @@ void RemoveConnectionCommand::unexecute()
#ifndef KOMMANDER
if ( connection.receiver == formWindow()->mainContainer() )
{
- // qDebug("RemoveConnectionCommand::unexecute(): Would have called EventList::setup()");
+ // tqDebug("RemoveConnectionCommand::unexecute(): Would have called EventList::setup()");
formWindow()->mainWindow()->propertyeditor()->eventList()->setup();
}
#endif
@@ -1126,7 +1126,7 @@ AddSlotCommand::AddSlotCommand( const TQString &name, FormWindow *fw, const TQCS
const TQString& spec, const TQString &a, const TQString &l, const TQString &rt )
: Command( name, fw ), slot( s ), specifier( spec ), access( a ), language( l ), returnType( rt )
{
- // qDebug("AddSlotCommand::AddSlotCommand()");
+ // tqDebug("AddSlotCommand::AddSlotCommand()");
}
void AddSlotCommand::execute()
@@ -1155,7 +1155,7 @@ RemoveSlotCommand::RemoveSlotCommand( const TQString &name, FormWindow *fw, cons
const TQString& spec, const TQString &a, const TQString &l, const TQString &rt )
: Command( name, fw ), slot( s ), specifier( spec ), access( a ), language( l ), returnType( rt )
{
- // qDebug("RemoveSlotCommand::RemoveSlotCommand()");
+ // tqDebug("RemoveSlotCommand::RemoveSlotCommand()");
}
void RemoveSlotCommand::execute()
diff --git a/kommander/editor/hierarchyview.cpp b/kommander/editor/hierarchyview.cpp
index f7855b8d..89aed9fb 100644
--- a/kommander/editor/hierarchyview.cpp
+++ b/kommander/editor/hierarchyview.cpp
@@ -567,7 +567,7 @@ static HierarchyItem::Type getChildType( int type )
switch ( (HierarchyItem::Type)type ) {
case HierarchyItem::Widget:
case HierarchyItem::SlotParent:
- qWarning( "getChildType: Inserting childs dynamically to Widget or SlotParent is not allwowed!" );
+ tqWarning( "getChildType: Inserting childs dynamically to Widget or SlotParent is not allwowed!" );
return (HierarchyItem::Type)type;
case HierarchyItem::Public:
case HierarchyItem::Protected:
diff --git a/kommander/editor/layout.cpp b/kommander/editor/layout.cpp
index ea827bd4..8c35f8e6 100644
--- a/kommander/editor/layout.cpp
+++ b/kommander/editor/layout.cpp
@@ -753,7 +753,7 @@ void GridLayout::doLayout()
( (TQLayoutWidget*)w )->updateSizePolicy();
w->show();
} else {
- qWarning("ooops, widget '%s' does not fit in layout", w->name() );
+ tqWarning("ooops, widget '%s' does not fit in layout", w->name() );
}
}
finishLayout( needMove, layout );
diff --git a/kommander/editor/metadatabase.cpp b/kommander/editor/metadatabase.cpp
index 2bdbe844..97fa2349 100644
--- a/kommander/editor/metadatabase.cpp
+++ b/kommander/editor/metadatabase.cpp
@@ -131,7 +131,7 @@ void MetaDataBase::setPropertyChanged( TQObject *o, const TQString &property, bo
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -168,7 +168,7 @@ bool MetaDataBase::isPropertyChanged( TQObject *o, const TQString &property )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return false;
}
@@ -181,7 +181,7 @@ TQStringList MetaDataBase::changedProperties( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQStringList();
}
@@ -195,7 +195,7 @@ void MetaDataBase::setPropertyComment( TQObject *o, const TQString &property, co
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -208,7 +208,7 @@ TQString MetaDataBase::propertyComment( TQObject *o, const TQString &property )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQString();
}
@@ -221,7 +221,7 @@ void MetaDataBase::setFakeProperty( TQObject *o, const TQString &property, const
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -233,7 +233,7 @@ TQVariant MetaDataBase::fakeProperty( TQObject * o, const TQString &property)
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQVariant();
}
@@ -249,7 +249,7 @@ TQMap<TQString,TQVariant>* MetaDataBase::fakeProperties( TQObject* o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return 0;
}
@@ -263,7 +263,7 @@ void MetaDataBase::setSpacing( TQObject *o, int spacing )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r || !o->isWidgetType() ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -284,7 +284,7 @@ int MetaDataBase::spacing( TQObject *o )
o = TQT_TQOBJECT(( (TQMainWindow*)o )->centralWidget());
MetaDataBaseRecord *r = db->find( TQT_TQOBJECT(o) );
if ( !r || !o->isWidgetType() ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return -1;
}
@@ -299,7 +299,7 @@ void MetaDataBase::setMargin( TQObject *o, int margin )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r || !o->isWidgetType() ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -322,7 +322,7 @@ int MetaDataBase::margin( TQObject *o )
o = TQT_TQOBJECT(( (TQMainWindow*)o )->centralWidget());
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r || !o->isWidgetType() ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return -1;
}
@@ -336,7 +336,7 @@ void MetaDataBase::addConnection( TQObject *o, TQObject *sender, const TQCString
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -354,7 +354,7 @@ void MetaDataBase::removeConnection( TQObject *o, TQObject *sender, const TQCStr
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -376,7 +376,7 @@ TQValueList<MetaDataBase::Connection> MetaDataBase::connections( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQValueList<Connection>();
}
@@ -389,7 +389,7 @@ TQValueList<MetaDataBase::Connection> MetaDataBase::connections( TQObject *o, TQ
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQValueList<Connection>();
}
@@ -411,7 +411,7 @@ TQValueList<MetaDataBase::Connection> MetaDataBase::connections( TQObject *o, TQ
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQValueList<Connection>();
}
@@ -432,7 +432,7 @@ void MetaDataBase::doConnections( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -487,7 +487,7 @@ void MetaDataBase::addSlot( TQObject *o, const TQCString &slot, const TQString&
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -512,7 +512,7 @@ void MetaDataBase::setSlotList( TQObject *o, const TQValueList<Slot> &slotList )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -525,7 +525,7 @@ void MetaDataBase::removeSlot( TQObject *o, const TQCString &slot, const TQStrin
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -548,7 +548,7 @@ void MetaDataBase::removeSlot( TQObject *o, const TQString &slot )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -567,7 +567,7 @@ TQValueList<MetaDataBase::Slot> MetaDataBase::slotList( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQValueList<Slot>();
}
@@ -580,7 +580,7 @@ bool MetaDataBase::isSlotUsed( TQObject *o, const TQCString &slot )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return false;
}
@@ -598,7 +598,7 @@ void MetaDataBase::changeSlot( TQObject *o, const TQCString &slot, const TQCStri
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -619,7 +619,7 @@ void MetaDataBase::changeSlotAttributes( TQObject *o, const TQCString &slot,
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -641,7 +641,7 @@ bool MetaDataBase::hasSlot( TQObject *o, const TQCString &slot, bool onlyCustom
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return false;
}
@@ -684,7 +684,7 @@ TQString MetaDataBase::languageOfSlot( TQObject *o, const TQCString &slot )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQString();
}
@@ -781,7 +781,7 @@ void MetaDataBase::setTabOrder( TQWidget *w, const TQWidgetList &order )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*) w );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
w, w->name(), w->className() );
return;
}
@@ -794,7 +794,7 @@ TQWidgetList MetaDataBase::tabOrder( TQWidget *w )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*) w );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
w, w->name(), w->className() );
return TQWidgetList();
}
@@ -807,7 +807,7 @@ void MetaDataBase::setIncludes( TQObject *o, const TQValueList<Include> &incs )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -820,7 +820,7 @@ TQValueList<MetaDataBase::Include> MetaDataBase::includes( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQValueList<Include>();
}
@@ -833,7 +833,7 @@ void MetaDataBase::setForwards( TQObject *o, const TQStringList &fwds )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -846,7 +846,7 @@ TQStringList MetaDataBase::forwards( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQStringList();
}
@@ -859,7 +859,7 @@ void MetaDataBase::setSignalList( TQObject *o, const TQStringList &sigs )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -892,7 +892,7 @@ TQStringList MetaDataBase::signalList( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQStringList();
}
@@ -905,7 +905,7 @@ void MetaDataBase::setMetaInfo( TQObject *o, MetaInfo mi )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -918,7 +918,7 @@ MetaDataBase::MetaInfo MetaDataBase::metaInfo( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return MetaInfo();
}
@@ -960,7 +960,7 @@ void MetaDataBase::setCursor( TQWidget *w, const TQCursor &c )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)w );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
w, w->name(), w->className() );
return;
}
@@ -1049,7 +1049,7 @@ void MetaDataBase::setPixmapArgument( TQObject *o, int pixmap, const TQString &a
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -1065,7 +1065,7 @@ TQString MetaDataBase::pixmapArgument( TQObject *o, int pixmap )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQString();
}
@@ -1080,7 +1080,7 @@ void MetaDataBase::clearPixmapArguments( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -1096,7 +1096,7 @@ void MetaDataBase::setPixmapKey( TQObject *o, int pixmap, const TQString &arg )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -1112,7 +1112,7 @@ TQString MetaDataBase::pixmapKey( TQObject *o, int pixmap )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQString();
}
@@ -1127,7 +1127,7 @@ void MetaDataBase::clearPixmapKeys( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -1144,7 +1144,7 @@ void MetaDataBase::setColumnFields( TQObject *o, const TQMap<TQString, TQString>
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -1159,7 +1159,7 @@ TQMap<TQString, TQString> MetaDataBase::columnFields( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQMap<TQString, TQString>();
}
@@ -1189,7 +1189,7 @@ void MetaDataBase::setExportMacro( TQObject *o, const TQString &macro )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -1204,7 +1204,7 @@ TQString MetaDataBase::exportMacro( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return "";
}
diff --git a/kommander/editor/pixmapchooser.cpp b/kommander/editor/pixmapchooser.cpp
index a2f8356c..04a60857 100644
--- a/kommander/editor/pixmapchooser.cpp
+++ b/kommander/editor/pixmapchooser.cpp
@@ -903,7 +903,7 @@ void PixmapView::previewUrl( const TQUrl &u )
if ( !pix.isNull() )
setPixmap( pix );
} else {
- qWarning( "Previewing remot files not supported" );
+ tqWarning( "Previewing remot files not supported" );
}
}
diff --git a/kommander/editor/propertyeditor.cpp b/kommander/editor/propertyeditor.cpp
index fdc3a8dc..8e4df0ca 100644
--- a/kommander/editor/propertyeditor.cpp
+++ b/kommander/editor/propertyeditor.cpp
@@ -103,7 +103,7 @@ static TQStringList getFontList()
{
if ( !fontDataBase ) {
fontDataBase = new TQFontDatabase;
- qAddPostRoutine( cleanupFontDatabase );
+ tqAddPostRoutine( cleanupFontDatabase );
}
return fontDataBase->families();
}
@@ -2672,7 +2672,7 @@ void PropertyList::setupProperties()
item->setChanged( true, false );
}
} else {
- qWarning( "Sets except 'alignment' not supported yet.... %s.", p->name() );
+ tqWarning( "Sets except 'alignment' not supported yet.... %s.", p->name() );
}
} else if ( p->isEnumType() ) {
TQStrList l = p->enumKeys();
diff --git a/kommander/editor/resource.cpp b/kommander/editor/resource.cpp
index 386e807a..e9e67a08 100644
--- a/kommander/editor/resource.cpp
+++ b/kommander/editor/resource.cpp
@@ -184,7 +184,7 @@ bool Resource::load( FormFile *ff, TQIODevice* dev )
content = content.mid(content.find('\n'));
}
if ( !doc.setContent( content) ) {
- // qDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine );
+ // tqDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine );
return false;
}
@@ -508,7 +508,7 @@ void Resource::paste( const TQString &cb, TQWidget *parent )
TQString errMsg;
int errLine;
if ( !doc.setContent( &buf, &errMsg, &errLine ) ) {
- // qDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine );
+ // tqDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine );
}
TQDomElement firstWidget = doc.firstChild().toElement().firstChild().toElement();
@@ -1291,7 +1291,7 @@ void Resource::saveProperty( TQObject *w, const TQString &name, const TQVariant
break;
}
default:
- qWarning( "saving the property %s of type %d not supported yet", name.latin1(), (int)t );
+ tqWarning( "saving the property %s of type %d not supported yet", name.latin1(), (int)t );
}
}
@@ -1418,7 +1418,7 @@ TQObject *Resource::createObject( const TQDomElement &e, TQWidget *parent, TQLay
} else if ( n.tagName() == "column" || n.tagName() =="row" ) {
createColumn( n, w );
} else if ( n.tagName() == "event" ) {
- // qDebug("Resource : Tag == event");
+ // tqDebug("Resource : Tag == event");
#ifndef KOMMANDER
MetaDataBase::setEventFunctions( obj, formwindow, MainWindow::self->currProject()->language(),
n.attribute( "name" ), TQStringList::split( ',', n.attribute( "functions" ) ), false );
@@ -2441,7 +2441,7 @@ void Resource::loadChildAction( TQObject *parent, const TQDomElement &e )
if ( n2.tagName() == "property" ) {
setObjectProperty( a, n2.attribute( "name" ), n2.firstChild().toElement() );
} else if ( n2.tagName() == "event" ) {
- // qDebug("Resource::loadChildAction : Tag == Event");
+ // tqDebug("Resource::loadChildAction : Tag == Event");
#ifndef KOMMANDER
MetaDataBase::setEventFunctions( a, formwindow, MainWindow::self->currProject()->language(),
n2.attribute( "name" ),
@@ -2463,7 +2463,7 @@ void Resource::loadChildAction( TQObject *parent, const TQDomElement &e )
n2.tagName() == "actiongroup" ) {
loadChildAction( a, n2 );
} else if ( n2.tagName() == "event" ) {
- // qDebug("Resource::loadChildAction : Tag == Event");
+ // tqDebug("Resource::loadChildAction : Tag == Event");
#ifndef KOMMANDER
MetaDataBase::setEventFunctions( a, formwindow, MainWindow::self->currProject()->language(),
n2.attribute( "name" ),
diff --git a/kommander/editor/widgetdatabase.cpp b/kommander/editor/widgetdatabase.cpp
index 62b7bea8..7dbe2704 100644
--- a/kommander/editor/widgetdatabase.cpp
+++ b/kommander/editor/widgetdatabase.cpp
@@ -692,10 +692,10 @@ void WidgetDatabase::setupPlugins()
{
if (plugins_set_up)
return;
- //qDebug("WidgetDatabase::setupPlugins");
+ //tqDebug("WidgetDatabase::setupPlugins");
plugins_set_up = true;
FeatureList widgets = KommanderFactory::featureList();
- //qDebug("num features = %d", widgets.count());
+ //tqDebug("num features = %d", widgets.count());
for (FeatureList::Iterator it = widgets.begin(); it != widgets.end(); ++it)
{
if (hasWidget(it.key()))
diff --git a/kommander/editor/widgetfactory.cpp b/kommander/editor/widgetfactory.cpp
index 9e7f14a8..f5243910 100644
--- a/kommander/editor/widgetfactory.cpp
+++ b/kommander/editor/widgetfactory.cpp
@@ -639,7 +639,7 @@ int EditorToolBox::count() const
TQWidget *WidgetFactory::create( int id, TQWidget *parent, const char *name, bool init, const TQRect *r, Qt::Orientation orient )
{
TQString n = WidgetDatabase::className(id);
- //qDebug("Trying to create '%s'", n.latin1());
+ //tqDebug("Trying to create '%s'", n.latin1());
if (n.isEmpty())
return 0;
@@ -653,7 +653,7 @@ TQWidget *WidgetFactory::create( int id, TQWidget *parent, const char *name, boo
TQString str = WidgetDatabase::createWidgetName(id);
const char *s = str.latin1();
w = createWidget(n, parent, name ? name : s, init, r, orient);
- //qDebug("Trying to create '%s', widget (id=%d) - %s", s, id, w ? "successful" : "failure");
+ //tqDebug("Trying to create '%s', widget (id=%d) - %s", s, id, w ? "successful" : "failure");
if (!w && WidgetDatabase::isCustomWidget(id))
w = createCustomWidget(parent, name ? name : s, MetaDataBase::customWidget(id));
if (!w)
@@ -1141,7 +1141,7 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
}
else if (className == "Wizard")
{
- //qDebug("Creating Wizard...");
+ //tqDebug("Creating Wizard...");
TQWizard *wiz;
if (parent && parent->inherits("FormWindow"))
wiz = new QDesignerWizard(parent, name);