summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kcalc/kcalc_core.cpp8
-rw-r--r--kdf/disklist.cpp4
-rw-r--r--kgpg/kgpg.cpp2
-rw-r--r--kregexpeditor/KWidgetStreamer/kwidgetstreamer.cpp2
-rw-r--r--kregexpeditor/altnwidget.cpp2
-rw-r--r--kregexpeditor/charselector.cpp2
-rw-r--r--kregexpeditor/concwidget.cpp2
-rw-r--r--kregexpeditor/drag.cpp2
-rw-r--r--kregexpeditor/kregexpeditorgui.cpp2
-rw-r--r--kregexpeditor/multicontainerwidget.cpp2
-rw-r--r--kregexpeditor/regexpconverter.cpp2
-rw-r--r--kregexpeditor/regexpwidget.cpp12
-rw-r--r--kregexpeditor/repeatwidget.cpp6
-rw-r--r--kregexpeditor/test-without-dl/main.cpp12
-rw-r--r--kregexpeditor/verifybuttons.cpp2
-rw-r--r--kregexpeditor/widgetfactory.cpp6
-rw-r--r--kregexpeditor/zerowidgets.cpp2
-rw-r--r--ksim/baselist.h2
-rw-r--r--ksim/library/chart.cpp2
-rw-r--r--ksim/library/themeloader.cpp2
-rw-r--r--ksim/monitors/lm_sensors/sensorbase.cpp2
-rw-r--r--ksim/monitors/snmp/value.cpp6
-rw-r--r--superkaramba/src/clickarea.cpp4
-rw-r--r--superkaramba/src/clickmap.cpp2
-rw-r--r--superkaramba/src/imagelabel.cpp10
-rw-r--r--superkaramba/src/imagelabel_python.cpp2
-rw-r--r--superkaramba/src/karamba.cpp110
-rw-r--r--superkaramba/src/karamba_python.cpp4
-rw-r--r--superkaramba/src/karambaapp.cpp14
-rw-r--r--superkaramba/src/karambasessionmanaged.cpp2
-rw-r--r--superkaramba/src/main.cpp4
-rw-r--r--superkaramba/src/misc_python.cpp18
-rw-r--r--superkaramba/src/networksensor.cpp2
-rw-r--r--superkaramba/src/noatunsensor.cpp12
-rw-r--r--superkaramba/src/rsssensor.cpp10
-rw-r--r--superkaramba/src/task_python.cpp2
-rw-r--r--superkaramba/src/taskbartest.cpp4
-rw-r--r--superkaramba/src/themefile.cpp6
-rw-r--r--superkaramba/src/xmmssensor.cpp6
39 files changed, 148 insertions, 148 deletions
diff --git a/kcalc/kcalc_core.cpp b/kcalc/kcalc_core.cpp
index d34badb..ff7af42 100644
--- a/kcalc/kcalc_core.cpp
+++ b/kcalc/kcalc_core.cpp
@@ -500,7 +500,7 @@ void CalcEngine::CosDeg(KNumber input)
_last_number = -1;
else if (mult == KNumber(3))
_last_number = 0;
- else qDebug("Something wrong in CalcEngine::CosDeg\n");
+ else tqDebug("Something wrong in CalcEngine::CosDeg\n");
return;
}
}
@@ -538,7 +538,7 @@ void CalcEngine::CosGrad(KNumber input)
_last_number = -1;
else if (mult == KNumber(3))
_last_number = 0;
- else qDebug("Something wrong in CalcEngine::CosGrad\n");
+ else tqDebug("Something wrong in CalcEngine::CosGrad\n");
return;
}
}
@@ -720,7 +720,7 @@ void CalcEngine::SinDeg(KNumber input)
_last_number = 0;
else if (mult == KNumber(3))
_last_number = -1;
- else qDebug("Something wrong in CalcEngine::SinDeg\n");
+ else tqDebug("Something wrong in CalcEngine::SinDeg\n");
return;
}
}
@@ -760,7 +760,7 @@ void CalcEngine::SinGrad(KNumber input)
_last_number = 0;
else if (mult == KNumber(3))
_last_number = -1;
- else qDebug("Something wrong in CalcEngine::SinGrad\n");
+ else tqDebug("Something wrong in CalcEngine::SinGrad\n");
return;
}
}
diff --git a/kdf/disklist.cpp b/kdf/disklist.cpp
index a49a76b..9d57a84 100644
--- a/kdf/disklist.cpp
+++ b/kdf/disklist.cpp
@@ -264,7 +264,7 @@ int DiskList::readDF()
dfProc->clearArguments();
(*dfProc) << "env" << "LC_ALL=POSIX" << DF_COMMAND << DF_ARGS;
if (!dfProc->start( KProcess::NotifyOnExit, KProcess::AllOutput ))
- qFatal(i18n("could not execute [%s]").local8Bit().data(), DF_COMMAND);
+ tqFatal(i18n("could not execute [%s]").local8Bit().data(), DF_COMMAND);
return 1;
}
@@ -286,7 +286,7 @@ void DiskList::dfDone()
TQTextStream t (dfStringErrOut, IO_ReadOnly);
TQString s=t.readLine();
if ( ( s.isEmpty() ) || ( s.left(10) != "Filesystem" ) )
- qFatal("Error running df command... got [%s]",s.latin1());
+ tqFatal("Error running df command... got [%s]",s.latin1());
while ( !t.atEnd() ) {
TQString u,v;
DiskEntry *disk;
diff --git a/kgpg/kgpg.cpp b/kgpg/kgpg.cpp
index 7dc8c75..b6d9194 100644
--- a/kgpg/kgpg.cpp
+++ b/kgpg/kgpg.cpp
@@ -729,7 +729,7 @@ void MyView::installShred()
void MyView::slotSaveOptionsPath()
{
-qWarning("Save wizard settings...");
+tqWarning("Save wizard settings...");
if (wiz->checkBox1->isChecked()) installShred();
KGpgSettings::setAutoStart( wiz->checkBox2->isChecked() );
diff --git a/kregexpeditor/KWidgetStreamer/kwidgetstreamer.cpp b/kregexpeditor/KWidgetStreamer/kwidgetstreamer.cpp
index 9015aaa..04ee2a6 100644
--- a/kregexpeditor/KWidgetStreamer/kwidgetstreamer.cpp
+++ b/kregexpeditor/KWidgetStreamer/kwidgetstreamer.cpp
@@ -68,7 +68,7 @@ void KWidgetStreamer::propertyToStream( const TQObject* from, TQDataStream& stre
for ( PropertyListIt it = list.begin(); it != list.end(); ++it ) {
TQVariant prop = from->property( (*it).latin1() );
if ( ! prop.isValid() )
- qWarning("Invalid property: %s:%s", tp.latin1(), (*it).latin1() );
+ tqWarning("Invalid property: %s:%s", tp.latin1(), (*it).latin1() );
stream << prop ;
}
diff --git a/kregexpeditor/altnwidget.cpp b/kregexpeditor/altnwidget.cpp
index 3a29135..f34c8c5 100644
--- a/kregexpeditor/altnwidget.cpp
+++ b/kregexpeditor/altnwidget.cpp
@@ -205,7 +205,7 @@ RegExp* AltnWidget::selection() const
}
}
}
- qFatal("Selection not found");
+ tqFatal("Selection not found");
return 0; // compiler shut up.
}
diff --git a/kregexpeditor/charselector.cpp b/kregexpeditor/charselector.cpp
index 04c6f5d..4eb9ada 100644
--- a/kregexpeditor/charselector.cpp
+++ b/kregexpeditor/charselector.cpp
@@ -141,7 +141,7 @@ void CharSelector::setText( TQString text )
else if ( text.at(1) == TQChar('v') )
slotNewItem(9);
else {
- qWarning("Warning %s:%d Unknown escape %s", __FILE__, __LINE__, text.latin1() );
+ tqWarning("Warning %s:%d Unknown escape %s", __FILE__, __LINE__, text.latin1() );
}
}
else {
diff --git a/kregexpeditor/concwidget.cpp b/kregexpeditor/concwidget.cpp
index 8cbff9e..900b09f 100644
--- a/kregexpeditor/concwidget.cpp
+++ b/kregexpeditor/concwidget.cpp
@@ -385,7 +385,7 @@ void ConcWidget::addNewConcChild(DragAccepter *accepter, ConcWidget *other)
return;
}
}
- qFatal("accepter not found");
+ tqFatal("accepter not found");
}
bool ConcWidget::validateSelection() const
diff --git a/kregexpeditor/drag.cpp b/kregexpeditor/drag.cpp
index e17973c..cfc11bb 100644
--- a/kregexpeditor/drag.cpp
+++ b/kregexpeditor/drag.cpp
@@ -70,7 +70,7 @@ TQByteArray RegExpWidgetDrag::encodedData ( const char* format ) const
stream << RegExpConverter::current()->toStr( _regexp, false );
}
else {
- qWarning("Unexpected drag and drop format: %s", format );
+ tqWarning("Unexpected drag and drop format: %s", format );
}
return data;
}
diff --git a/kregexpeditor/kregexpeditorgui.cpp b/kregexpeditor/kregexpeditorgui.cpp
index f419c3b..0dae863 100644
--- a/kregexpeditor/kregexpeditorgui.cpp
+++ b/kregexpeditor/kregexpeditorgui.cpp
@@ -130,7 +130,7 @@ void KRegExpEditorGUI::doSomething( TQString method, void* arguments )
_editor->setAllowNonTQtSyntax( (bool) arguments );
}
else {
- qFatal( "%s", tqtr("Method '%1' is not valid!").arg(method).latin1() );
+ tqFatal( "%s", tqtr("Method '%1' is not valid!").arg(method).latin1() );
}
}
diff --git a/kregexpeditor/multicontainerwidget.cpp b/kregexpeditor/multicontainerwidget.cpp
index bd578d2..6c7102d 100644
--- a/kregexpeditor/multicontainerwidget.cpp
+++ b/kregexpeditor/multicontainerwidget.cpp
@@ -100,7 +100,7 @@ void MultiContainerWidget::addNewChild(DragAccepter *accepter, RegExpWidget *chi
return;
}
}
- qFatal("Accepter not found in list");
+ tqFatal("Accepter not found in list");
}
bool MultiContainerWidget::updateSelection(bool parentSelected)
diff --git a/kregexpeditor/regexpconverter.cpp b/kregexpeditor/regexpconverter.cpp
index 2678591..0010102 100644
--- a/kregexpeditor/regexpconverter.cpp
+++ b/kregexpeditor/regexpconverter.cpp
@@ -52,7 +52,7 @@ TQString RegExpConverter::toStr( RegExp* regexp, bool markSelection )
case RegExp::LOOKAHEAD: return toString( static_cast<LookAheadRegExp*>( regexp ), markSelection );
case RegExp::TEXTRANGE: return toString( static_cast<TextRangeRegExp*>( regexp ), markSelection );
}
- qWarning("We shouldn't get here!");
+ tqWarning("We shouldn't get here!");
return TQString::fromLatin1( "" );
}
diff --git a/kregexpeditor/regexpwidget.cpp b/kregexpeditor/regexpwidget.cpp
index 231848f..c139180 100644
--- a/kregexpeditor/regexpwidget.cpp
+++ b/kregexpeditor/regexpwidget.cpp
@@ -43,17 +43,17 @@ RegExpWidget::RegExpWidget(RegExpEditorWindow* editorWindow, TQWidget *parent,
void RegExpWidget::addNewChild(DragAccepter *, RegExpWidget *)
{
- qFatal("This widget should not expect any children");
+ tqFatal("This widget should not expect any children");
}
void RegExpWidget::addNewConcChild(DragAccepter *, ConcWidget *)
{
- qFatal("This widget should not expect any children");
+ tqFatal("This widget should not expect any children");
}
void RegExpWidget::setConcChild(ConcWidget *)
{
- qFatal("This widget should not expect any children");
+ tqFatal("This widget should not expect any children");
}
bool RegExpWidget::updateSelection(bool parentSelected)
@@ -95,12 +95,12 @@ void RegExpWidget::clearSelection()
void RegExpWidget::applyRegExpToSelection( RegExpType )
{
- qFatal("This method should not be called for this widget");
+ tqFatal("This method should not be called for this widget");
}
void RegExpWidget::deleteSelection()
{
- qFatal("This method should be overridden if needed!");
+ tqFatal("This method should be overridden if needed!");
}
RegExp* RegExpWidget::selection() const
@@ -110,7 +110,7 @@ RegExp* RegExpWidget::selection() const
int RegExpWidget::edit()
{
- qFatal("This method should be overridden if needed!");
+ tqFatal("This method should be overridden if needed!");
return 0; // Compiler shut up
}
diff --git a/kregexpeditor/repeatwidget.cpp b/kregexpeditor/repeatwidget.cpp
index 9536679..e934122 100644
--- a/kregexpeditor/repeatwidget.cpp
+++ b/kregexpeditor/repeatwidget.cpp
@@ -273,7 +273,7 @@ TQString RepeatRangeWindow::text()
case MINMAX: return i18n("Repeated From %1 to %2 Times")
.arg( _rangeFrom->value() ).arg( _rangeTo->value() );
}
- qFatal("Fall through!");
+ tqFatal("Fall through!");
return TQString::fromLocal8Bit("");
}
@@ -286,7 +286,7 @@ int RepeatRangeWindow::min()
case EXACTLY: return _exactlyTimes->value();
case MINMAX: return _rangeFrom->value();
}
- qFatal("Fall through!");
+ tqFatal("Fall through!");
return -1;
}
@@ -299,7 +299,7 @@ int RepeatRangeWindow::max()
case EXACTLY: return _exactlyTimes->value();
case MINMAX: return _rangeTo->value();
}
- qFatal("Fall through!");
+ tqFatal("Fall through!");
return -1;
}
diff --git a/kregexpeditor/test-without-dl/main.cpp b/kregexpeditor/test-without-dl/main.cpp
index 0094b4a..ce7e084 100644
--- a/kregexpeditor/test-without-dl/main.cpp
+++ b/kregexpeditor/test-without-dl/main.cpp
@@ -28,14 +28,14 @@ public:
dynamic_cast<TQMouseEvent*>(event)->state() == TQt::ControlButton ) {
// Ctrl + left mouse click.
- qDebug("----------------------------------------------------");
- qDebug((TQString("Widget name : ") + TQString( recv->name() )).latin1() );
- qDebug((TQString("Widget class: ") + TQString( recv->className() )).latin1() );
- qDebug("\nObject info:");
+ tqDebug("----------------------------------------------------");
+ tqDebug((TQString("Widget name : ") + TQString( recv->name() )).latin1() );
+ tqDebug((TQString("Widget class: ") + TQString( recv->className() )).latin1() );
+ tqDebug("\nObject info:");
recv->dumpObjectInfo();
- qDebug("\nObject tree:");
+ tqDebug("\nObject tree:");
recv->dumpObjectTree();
- qDebug("----------------------------------------------------");
+ tqDebug("----------------------------------------------------");
return false;
}
return false;
diff --git a/kregexpeditor/verifybuttons.cpp b/kregexpeditor/verifybuttons.cpp
index 283b2fa..65e4735 100644
--- a/kregexpeditor/verifybuttons.cpp
+++ b/kregexpeditor/verifybuttons.cpp
@@ -199,7 +199,7 @@ RegExpConverter* VerifyButtons::setSyntax( const TQString& which)
return (*it).first;
}
}
- qWarning( "No such converter: '%s'", which.latin1() );
+ tqWarning( "No such converter: '%s'", which.latin1() );
return 0;
}
diff --git a/kregexpeditor/widgetfactory.cpp b/kregexpeditor/widgetfactory.cpp
index 1ab5d24..43a1008 100644
--- a/kregexpeditor/widgetfactory.cpp
+++ b/kregexpeditor/widgetfactory.cpp
@@ -76,7 +76,7 @@ RegExpWidget* WidgetFactory::createWidget( RegExpEditorWindow* win, TQWidget* pa
case COMPOUND:
widget = new CompoundWidget( win, parent ); break;
default:
- qFatal("It should not be possible to get here!");
+ tqFatal("It should not be possible to get here!");
return 0;
}
@@ -91,7 +91,7 @@ RegExpWidget* WidgetFactory::createWidget( RegExp* regexp, RegExpEditorWindow* e
TQWidget* parent )
{
if ( regexp == 0 ) {
- qFatal("%s:%d Regexp is 0", __FILE__, __LINE__ );
+ tqFatal("%s:%d Regexp is 0", __FILE__, __LINE__ );
}
else if ( TextRegExp* reg = dynamic_cast<TextRegExp*>( regexp ) )
return new TextWidget( reg, editorWindow, parent );
@@ -126,7 +126,7 @@ RegExpWidget* WidgetFactory::createWidget( RegExp* regexp, RegExpEditorWindow* e
else if ( CompoundRegExp* reg = dynamic_cast<CompoundRegExp*>( regexp ) )
return new CompoundWidget( reg, editorWindow, parent );
else {
- qFatal("%s:%d Internal Error: Unknown RegExp type", __FILE__, __LINE__);
+ tqFatal("%s:%d Internal Error: Unknown RegExp type", __FILE__, __LINE__);
}
return 0;
}
diff --git a/kregexpeditor/zerowidgets.cpp b/kregexpeditor/zerowidgets.cpp
index 7c1f6c6..c403dce 100644
--- a/kregexpeditor/zerowidgets.cpp
+++ b/kregexpeditor/zerowidgets.cpp
@@ -39,7 +39,7 @@ ZeroWidget::ZeroWidget(TQString txt, RegExpEditorWindow* editorWindow,
void ZeroWidget::addNewChild(DragAccepter *, RegExpWidget *)
{
- qFatal("No children should be added to this widget!");
+ tqFatal("No children should be added to this widget!");
}
TQSize ZeroWidget::sizeHint() const
diff --git a/ksim/baselist.h b/ksim/baselist.h
index 5c4391d..b8389e6 100644
--- a/ksim/baselist.h
+++ b/ksim/baselist.h
@@ -37,7 +37,7 @@ namespace KSim
// Make sure our m_baseList instance gets
// deleted when KSim exits
- qAddPostRoutine(cleanup);
+ tqAddPostRoutine(cleanup);
}
if (!object)
diff --git a/ksim/library/chart.cpp b/ksim/library/chart.cpp
index b9b5e31..62a2328 100644
--- a/ksim/library/chart.cpp
+++ b/ksim/library/chart.cpp
@@ -46,7 +46,7 @@ class KSim::Chart::Timer
if (!m_timer) {
m_timer = new TQTimer;
m_timer->start(1000);
- qAddPostRoutine(cleanup);
+ tqAddPostRoutine(cleanup);
}
TQObject::connect(m_timer, TQT_SIGNAL(timeout()),
diff --git a/ksim/library/themeloader.cpp b/ksim/library/themeloader.cpp
index f6d6474..ff52525 100644
--- a/ksim/library/themeloader.cpp
+++ b/ksim/library/themeloader.cpp
@@ -886,7 +886,7 @@ KSim::ThemeLoader &KSim::ThemeLoader::self()
{
if (!m_self) { // is it the first call?
m_self = new KSim::ThemeLoader; // create sole instance
- qAddPostRoutine(cleanup);
+ tqAddPostRoutine(cleanup);
}
return *m_self; // address of sole instance
diff --git a/ksim/monitors/lm_sensors/sensorbase.cpp b/ksim/monitors/lm_sensors/sensorbase.cpp
index 45251db..df4c6a4 100644
--- a/ksim/monitors/lm_sensors/sensorbase.cpp
+++ b/ksim/monitors/lm_sensors/sensorbase.cpp
@@ -44,7 +44,7 @@ SensorBase *SensorBase::self()
{
if (!m_self) {
m_self = new SensorBase;
- qAddPostRoutine(cleanup);
+ tqAddPostRoutine(cleanup);
}
return m_self;
diff --git a/ksim/monitors/snmp/value.cpp b/ksim/monitors/snmp/value.cpp
index ad707b5..f5e1d20 100644
--- a/ksim/monitors/snmp/value.cpp
+++ b/ksim/monitors/snmp/value.cpp
@@ -112,7 +112,7 @@ ValueImpl::ValueImpl( variable_list *var )
}
#endif
default: {
- qDebug( "ValueImp: converting from %i to invalid", var->type );
+ tqDebug( "ValueImp: converting from %i to invalid", var->type );
type = Value::Invalid; break;
}
}
@@ -214,7 +214,7 @@ int Value::toInt() const
switch ( d->type ) {
case Int:
case TimeTicks: return d->data.toInt();
- case Invalid: qDebug( "cannot convert from invalid to int" );
+ case Invalid: tqDebug( "cannot convert from invalid to int" );
default: assert( false );
}
assert( false );
@@ -227,7 +227,7 @@ uint Value::toUInt() const
case UInt:
case Counter:
case Gauge: return d->data.toUInt();
- case Invalid: qDebug( "cannot convert from invalid to uint" );
+ case Invalid: tqDebug( "cannot convert from invalid to uint" );
default: assert( false );
}
assert( false );
diff --git a/superkaramba/src/clickarea.cpp b/superkaramba/src/clickarea.cpp
index c2ca63e..a49e4c7 100644
--- a/superkaramba/src/clickarea.cpp
+++ b/superkaramba/src/clickarea.cpp
@@ -29,7 +29,7 @@ bool ClickArea::click( TQMouseEvent *e )
{
if( rect.contains( e->x(), e->y() ) )
{
- //qDebug(TQString::number(e->type()));
+ //tqDebug(TQString::number(e->type()));
//KShellProcess ksp;
if( e->button() != Qt::LeftButton )
return false;
@@ -48,7 +48,7 @@ bool ClickArea::click( TQMouseEvent *e )
if( !program.isEmpty() )
{
- //qDebug(program);
+ //tqDebug(program);
KRun::runCommand(program);
}
}
diff --git a/superkaramba/src/clickmap.cpp b/superkaramba/src/clickmap.cpp
index 8b25bce..c596313 100644
--- a/superkaramba/src/clickmap.cpp
+++ b/superkaramba/src/clickmap.cpp
@@ -45,7 +45,7 @@ bool ClickMap::click( TQMouseEvent *e ) {
int index = ((e -> y() - getY()) / text.getLineHeight()) + 1;
if (index >= 1 && index <= (int)displays.count()) {
- // qDebug( "You clicked item " + TQString::number( index ) + ", " +
+ // tqDebug( "You clicked item " + TQString::number( index ) + ", " +
// displays[index - 1] + " " + links[index - 1] );
KRun::runCommand("konqueror " + links[index - 1]);
}
diff --git a/superkaramba/src/imagelabel.cpp b/superkaramba/src/imagelabel.cpp
index ef38ec0..9df0834 100644
--- a/superkaramba/src/imagelabel.cpp
+++ b/superkaramba/src/imagelabel.cpp
@@ -266,7 +266,7 @@ void ImageLabel::slotCopyResult(KIO::Job* job)
}
else
{
- qWarning("Error downloading (%s): %s", job->errorText().ascii(),
+ tqWarning("Error downloading (%s): %s", job->errorText().ascii(),
tempFile.ascii());
}
KIO::NetAccess::removeTempFile(tempFile);
@@ -453,11 +453,11 @@ void ImageLabel::parseImages(TQString fn, TQString fn_roll, int _xoff,
{
pixmap_off = KPixmap(tmpFile);
KIO::NetAccess::removeTempFile(tmpFile);
- qDebug( "Downloaded: %s to %s", path.ascii(), tmpFile.ascii() );
+ tqDebug( "Downloaded: %s to %s", path.ascii(), tmpFile.ascii() );
}
else
{
- qDebug( "Error Downloading: %s", path.ascii());
+ tqDebug( "Error Downloading: %s", path.ascii());
}
}
else
@@ -501,11 +501,11 @@ void ImageLabel::parseImages(TQString fn, TQString fn_roll, int _xoff,
{
pixmap_on = KPixmap(tmpFile);
KIO::NetAccess::removeTempFile(tmpFile);
- qDebug( "Downloaded: %s to %s", path.ascii(), tmpFile.ascii());
+ tqDebug( "Downloaded: %s to %s", path.ascii(), tmpFile.ascii());
}
else
{
- qDebug( "Error Downloading: %s", path.ascii());
+ tqDebug( "Error Downloading: %s", path.ascii());
}
}
else
diff --git a/superkaramba/src/imagelabel_python.cpp b/superkaramba/src/imagelabel_python.cpp
index 7cf6d73..61af3c5 100644
--- a/superkaramba/src/imagelabel_python.cpp
+++ b/superkaramba/src/imagelabel_python.cpp
@@ -121,7 +121,7 @@ PyObject* py_createTaskIcon(PyObject *, PyObject *args)
if (currTask == 0)
{
//no task was found
- qWarning("Task not found.");
+ tqWarning("Task not found.");
return (long)NULL ;
}
//retrieve the TQPixmap that represents this image
diff --git a/superkaramba/src/karamba.cpp b/superkaramba/src/karamba.cpp
index aac6a6e..9bcb01d 100644
--- a/superkaramba/src/karamba.cpp
+++ b/superkaramba/src/karamba.cpp
@@ -263,7 +263,7 @@ karamba::karamba(TQString fn, TQString name, bool reloading, int instance,
{
setFixedSize(0,0);
TQTimer::singleShot( 100, this, TQT_SLOT(killWidget()) );
- qWarning("Could not read config file.");
+ tqWarning("Could not read config file.");
}
else
{
@@ -319,7 +319,7 @@ karamba::karamba(TQString fn, TQString name, bool reloading, int instance,
karamba::~karamba()
{
- //qDebug("karamba::~karamba");
+ //tqDebug("karamba::~karamba");
//Remove self from list of open themes
karambaApp->deleteKaramba(this, m_reloading);
@@ -373,7 +373,7 @@ karamba::~karamba()
bool karamba::parseConfig()
{
- //qDebug("karamba::parseConfig");
+ //tqDebug("karamba::parseConfig");
bool passive = true;
if(m_theme.open())
@@ -396,7 +396,7 @@ bool karamba::parseConfig()
if(lineParser.meter() == "KARAMBA" && !foundKaramba )
{
- //qDebug("karamba found");
+ //tqDebug("karamba found");
toggleLocked->setChecked(lineParser.getBoolean("LOCKED"));
slotToggleLocked();
@@ -772,7 +772,7 @@ bool karamba::parseConfig()
m_theme.close();
}
- //qDebug("parseConfig ok: %d", foundKaramba);
+ //tqDebug("parseConfig ok: %d", foundKaramba);
if( !foundKaramba )
{
// interval = initKaramba( "", 0, 0, 0, 0 );
@@ -838,12 +838,12 @@ void karamba::makePassive()
void karamba::popupNotify(int)
{
- //qDebug("karamba::popupNotify");
+ //tqDebug("karamba::popupNotify");
}
void karamba::reloadConfig()
{
- //qDebug("karamba::reloadConfig: %s", m_theme.file().ascii());
+ //tqDebug("karamba::reloadConfig: %s", m_theme.file().ascii());
writeConfigData();
if(m_theme.exists())
{
@@ -871,7 +871,7 @@ void karamba::initPythonInterface()
void karamba::editConfig()
{
- //qDebug("karamba::editConfig");
+ //tqDebug("karamba::editConfig");
TQFileInfo fileInfo( m_theme.file() );
TQString path;
@@ -889,7 +889,7 @@ void karamba::editConfig()
void karamba::editScript()
{
- //qDebug("karamba::editScript");
+ //tqDebug("karamba::editScript");
TQFileInfo fileInfo( m_theme.file() );
TQString path;
@@ -906,7 +906,7 @@ void karamba::editScript()
TQString karamba::findSensorFromMap(Sensor* sensor)
{
- //qDebug("karamba::findSensorFromMap");
+ //tqDebug("karamba::findSensorFromMap");
TQMap<TQString,Sensor*>::ConstIterator it;
TQMap<TQString,Sensor*>::ConstIterator end( sensorMap.end() );
for ( it = sensorMap.begin(); it != end; ++it )
@@ -919,7 +919,7 @@ TQString karamba::findSensorFromMap(Sensor* sensor)
Sensor* karamba::findSensorFromList(Meter* meter)
{
- //qDebug("karamba::findSensorFromList");
+ //tqDebug("karamba::findSensorFromList");
TQObjectListIt it( *sensorList ); // iterate over meters
while ( it != 0 )
@@ -933,7 +933,7 @@ Sensor* karamba::findSensorFromList(Meter* meter)
TQString karamba::getSensor(Meter* meter)
{
- //qDebug("karamba::getSensor");
+ //tqDebug("karamba::getSensor");
TQString s;
Sensor* sensor = findSensorFromList(meter);
if (sensor)
@@ -943,7 +943,7 @@ TQString karamba::getSensor(Meter* meter)
void karamba::deleteMeterFromSensors(Meter* meter)
{
- //qDebug("karamba::deleteMeterFromSensors");
+ //tqDebug("karamba::deleteMeterFromSensors");
Sensor* sensor = findSensorFromList(meter);
if (sensor)
@@ -960,7 +960,7 @@ void karamba::deleteMeterFromSensors(Meter* meter)
void karamba::setSensor(const LineParser& lineParser, Meter* meter)
{
- //qDebug("karamba::setSensor");
+ //tqDebug("karamba::setSensor");
Sensor* sensor = 0;
deleteMeterFromSensors(meter);
@@ -1262,7 +1262,7 @@ void karamba::callTheme(TQString theme, TQString txt)
{
KarambaApplication* app = (KarambaApplication*)tqApp;
kdDebug() << "karamba::callTheme " << theme << txt << endl;
- //qWarning("karamba::callTheme");
+ //tqWarning("karamba::callTheme");
//TQByteArray data;
//TQDataStream dataStream( data, IO_WriteOnly );
//dataStream << theme;
@@ -1289,7 +1289,7 @@ void karamba::themeNotify(TQString theme, TQString txt)
void karamba::meterClicked(TQMouseEvent* e, Meter* meter)
{
- //qWarning("karamba::meterClicked");
+ //tqWarning("karamba::meterClicked");
if (pythonIface && pythonIface->isExtensionLoaded() && haveUpdated)
{
int button = 0;
@@ -1321,7 +1321,7 @@ void karamba::changeInterval(int interval)
void karamba::passClick(TQMouseEvent *e)
{
- //qDebug("karamba::passClick");
+ //tqDebug("karamba::passClick");
TQObjectListIt it2( *timeList ); // iterate over meters
while ( it2 != 0 )
{
@@ -1364,7 +1364,7 @@ void karamba::passClick(TQMouseEvent *e)
void karamba::passWheelClick( TQWheelEvent *e )
{
- //qDebug("karamba::passWheelClick");
+ //tqDebug("karamba::passWheelClick");
//Everything below is to call the python callback function
if (pythonIface && pythonIface->isExtensionLoaded() && haveUpdated)
{
@@ -1415,7 +1415,7 @@ void karamba::management_popup( void )
void karamba::mousePressEvent( TQMouseEvent *e )
{
- //qDebug("karamba::mousePressEvent");
+ //tqDebug("karamba::mousePressEvent");
if( e->button() == Qt::RightButton && !want_right_button )
{
management_popup();
@@ -1432,19 +1432,19 @@ void karamba::mousePressEvent( TQMouseEvent *e )
void karamba::wheelEvent( TQWheelEvent *e )
{
- //qDebug("karamba::wheelEvent");
+ //tqDebug("karamba::wheelEvent");
passWheelClick( e );
}
void karamba::mouseReleaseEvent( TQMouseEvent *e )
{
- //qDebug("karamba::mouseReleaseEvent");
+ //tqDebug("karamba::mouseReleaseEvent");
clickPos = e->pos();
}
void karamba::mouseDoubleClickEvent( TQMouseEvent *e )
{
- //qDebug("karamba::mouseDoubleClickEvent");
+ //tqDebug("karamba::mouseDoubleClickEvent");
if( !toggleLocked -> isChecked() )
{
passClick( e );
@@ -1453,7 +1453,7 @@ void karamba::mouseDoubleClickEvent( TQMouseEvent *e )
void karamba::keyPressEvent(TQKeyEvent *e)
{
- //qDebug("karamba::keyPressEvent");
+ //tqDebug("karamba::keyPressEvent");
keyPressed(e->text(), 0);
}
@@ -1465,7 +1465,7 @@ void karamba::keyPressed(const TQString& s, const Meter* meter)
void karamba::mouseMoveEvent( TQMouseEvent *e )
{
- //qDebug("karamba::mouseMoveEvent");
+ //tqDebug("karamba::mouseMoveEvent");
if( e->state() != 0 && e->state() < 16 && !toggleLocked -> isChecked() )
{
move( e->globalPos() - clickPos );
@@ -1528,7 +1528,7 @@ void karamba::mouseMoveEvent( TQMouseEvent *e )
void karamba::closeEvent ( TQCloseEvent * qc)
{
- //qDebug("karamba::closeEvent");
+ //tqDebug("karamba::closeEvent");
qc->accept();
// close(true);
// delete this;
@@ -1553,7 +1553,7 @@ void karamba::paintEvent ( TQPaintEvent *e)
void karamba::updateSensors()
{
- //qDebug("karamba::updateSensors");
+ //tqDebug("karamba::updateSensors");
TQObjectListIt it( *sensorList ); // iterate over meters
while ( it != 0 )
{
@@ -1624,7 +1624,7 @@ void karamba::updateBackground(KSharedPixmap* kpm)
void karamba::currentDesktopChanged( int i )
{
- //qDebug("karamba::currentDesktopChanged");
+ //tqDebug("karamba::currentDesktopChanged");
kroot->repaint( true );
if (pythonIface && pythonIface->isExtensionLoaded())
pythonIface->desktopChanged(this, i);
@@ -1632,7 +1632,7 @@ void karamba::currentDesktopChanged( int i )
void karamba::currentWallpaperChanged(int i )
{
- //qDebug("karamba::currentWallpaperChanged");
+ //tqDebug("karamba::currentWallpaperChanged");
kroot->repaint( true );
if (pythonIface && pythonIface->isExtensionLoaded())
pythonIface->wallpaperChanged(this, i);
@@ -1703,14 +1703,14 @@ void karamba::step()
void karamba::widgetClosed()
{
- //qDebug("karamba::widgetClosed");
+ //tqDebug("karamba::widgetClosed");
if (pythonIface && pythonIface->isExtensionLoaded())
pythonIface->widgetClosed(this);
}
void karamba::slotToggleLocked()
{
- //qDebug("karamba::slotToggleLocked");
+ //tqDebug("karamba::slotToggleLocked");
if(toggleLocked->isChecked())
{
toggleLocked->setIconSet(SmallIconSet("lock"));
@@ -1723,7 +1723,7 @@ void karamba::slotToggleLocked()
void karamba::slotToggleFastTransforms()
{
- //qDebug("karamba::slotToggleFastTransforms");
+ //tqDebug("karamba::slotToggleFastTransforms");
// bool fastTransforms = toggleFastTransforms -> isChecked();
// if (toggleFastTransforms -> isChecked())
// {
@@ -1741,13 +1741,13 @@ void karamba::slotToggleFastTransforms()
bool karamba::useSmoothTransforms()
{
- //qDebug("karamba::useSmoothTransforms");
+ //tqDebug("karamba::useSmoothTransforms");
return !toggleFastTransforms -> isChecked();
}
void karamba::writeConfigData()
{
- //qDebug("karamba::writeConfigData");
+ //tqDebug("karamba::writeConfigData");
config -> setGroup("internal");
config -> writeEntry("lockedPosition", toggleLocked -> isChecked() );
config -> writeEntry("fastTransforms", toggleFastTransforms -> isChecked() );
@@ -1762,13 +1762,13 @@ void karamba::writeConfigData()
// write changes to DiskSensor
config -> sync();
- //qWarning("Config File ~/.superkaramba/%s.rc written.",
+ //tqWarning("Config File ~/.superkaramba/%s.rc written.",
// m_theme.name().ascii());
}
void karamba::slotToggleConfigOption(TQString key, bool value)
{
- //qDebug("karamba::slotToggleConfigOption");
+ //tqDebug("karamba::slotToggleConfigOption");
config -> setGroup("config menu");
config -> writeEntry(key, value);
passMenuOptionChanged(key, value);
@@ -1776,7 +1776,7 @@ void karamba::slotToggleConfigOption(TQString key, bool value)
void karamba::addMenuConfigOption(TQString key, TQString name)
{
- //qDebug("karamba::addMenuConfigOption");
+ //tqDebug("karamba::addMenuConfigOption");
kpop -> setItemEnabled(THEMECONF, true);
SignalBridge* action = new SignalBridge(TQT_TQOBJECT(this), key, menuAccColl);
@@ -1800,11 +1800,11 @@ void karamba::addMenuConfigOption(TQString key, TQString name)
bool karamba::setMenuConfigOption(TQString key, bool value)
{
- //qDebug("karamba::setMenuConfigOption");
+ //tqDebug("karamba::setMenuConfigOption");
KToggleAction* menuAction = ((KToggleAction*)menuAccColl -> action(key.ascii()));
if (menuAction == NULL)
{
- qWarning("Menu action %s not found.", key.ascii());
+ tqWarning("Menu action %s not found.", key.ascii());
return false;
}
else
@@ -1816,11 +1816,11 @@ bool karamba::setMenuConfigOption(TQString key, bool value)
bool karamba::readMenuConfigOption(TQString key)
{
- //qDebug("karamba::readMenuConfigOption");
+ //tqDebug("karamba::readMenuConfigOption");
KToggleAction* menuAction = ((KToggleAction*)menuAccColl -> action(key.ascii()));
if (menuAction == NULL)
{
- qWarning("Menu action %s not found.", key.ascii());
+ tqWarning("Menu action %s not found.", key.ascii());
return false;
}
else
@@ -1831,7 +1831,7 @@ bool karamba::readMenuConfigOption(TQString key)
void karamba::passMenuItemClicked(int id)
{
- //qDebug("karamba::passMenuItemClicked");
+ //tqDebug("karamba::passMenuItemClicked");
//Everything below is to call the python callback function
if (pythonIface && pythonIface->isExtensionLoaded())
{
@@ -1862,7 +1862,7 @@ void karamba::passMenuItemClicked(int id)
void karamba::activeTaskChanged(Task* t)
{
- //qDebug("karamba::activeTaskChanged");
+ //tqDebug("karamba::activeTaskChanged");
//Everything below is to call the python callback function
if (pythonIface && pythonIface->isExtensionLoaded())
pythonIface->activeTaskChanged(this, t);
@@ -1870,7 +1870,7 @@ void karamba::activeTaskChanged(Task* t)
void karamba::taskAdded(Task* t)
{
- //qDebug("karamba::taskAdded");
+ //tqDebug("karamba::taskAdded");
//Everything below is to call the python callback function
if (pythonIface && pythonIface->isExtensionLoaded())
pythonIface->taskAdded(this, t);
@@ -1878,7 +1878,7 @@ void karamba::taskAdded(Task* t)
void karamba::taskRemoved(Task* t)
{
- //qDebug("karamba::taskRemoved");
+ //tqDebug("karamba::taskRemoved");
//Everything below is to call the python callback function
if (pythonIface && pythonIface->isExtensionLoaded())
pythonIface->taskRemoved(this, t);
@@ -1886,7 +1886,7 @@ void karamba::taskRemoved(Task* t)
void karamba::startupAdded(Startup* t)
{
- //qDebug("karamba::startupAdded");
+ //tqDebug("karamba::startupAdded");
//Everything below is to call the python callback function
if (pythonIface && pythonIface->isExtensionLoaded())
pythonIface->startupAdded(this, t);
@@ -1894,7 +1894,7 @@ void karamba::startupAdded(Startup* t)
void karamba::startupRemoved(Startup* t)
{
- //qDebug("karamba::startupRemoved");
+ //tqDebug("karamba::startupRemoved");
//Everything below is to call the python callback function
if (pythonIface && pythonIface->isExtensionLoaded())
pythonIface->startupRemoved(this, t);
@@ -1902,14 +1902,14 @@ void karamba::startupRemoved(Startup* t)
void karamba::processExited (KProcess* proc)
{
- //qDebug("karamba::processExited");
+ //tqDebug("karamba::processExited");
if (pythonIface && pythonIface->isExtensionLoaded())
pythonIface->commandFinished(this, (int)proc->pid());
}
void karamba::receivedStdout (KProcess *proc, char *buffer, int)
{
- //qDebug("karamba::receivedStdout");
+ //tqDebug("karamba::receivedStdout");
//Everything below is to call the python callback function
if (pythonIface && pythonIface->isExtensionLoaded())
pythonIface->commandOutput(this, (int)proc->pid(), buffer);
@@ -1918,7 +1918,7 @@ void karamba::receivedStdout (KProcess *proc, char *buffer, int)
//For KDE session management
void karamba::saveProperties(KConfig* config)
{
- //qDebug("karamba::saveProperties");
+ //tqDebug("karamba::saveProperties");
config->setGroup("session");
config->writeEntry("theme", m_theme.file());
writeConfigData();
@@ -1927,7 +1927,7 @@ void karamba::saveProperties(KConfig* config)
//For KDE session management
void karamba::readProperties(KConfig* config)
{
- //qDebug("karamba::readProperties");
+ //tqDebug("karamba::readProperties");
config->setGroup("session");
TQString atheme = config->readEntry("theme");
}
@@ -1935,14 +1935,14 @@ void karamba::readProperties(KConfig* config)
//Register types of events that can be dragged on our widget
void karamba::dragEnterEvent(TQDragEnterEvent* event)
{
- //qDebug("karamba::dragEnterEvent");
+ //tqDebug("karamba::dragEnterEvent");
event->accept(TQTextDrag::canDecode(event));
}
//Handle the drop part of a drag and drop event.
void karamba::dropEvent(TQDropEvent* event)
{
- //qDebug("karamba::dropEvent");
+ //tqDebug("karamba::dropEvent");
TQString text;
if ( TQTextDrag::decode(event, text) )
@@ -1958,7 +1958,7 @@ void karamba::dropEvent(TQDropEvent* event)
void karamba::toDesktop(int id, int menuid)
{
- //qDebug("karamba::toDesktop");
+ //tqDebug("karamba::toDesktop");
int i;
desktop = id;
@@ -1980,14 +1980,14 @@ void karamba::toDesktop(int id, int menuid)
void karamba::systrayUpdated()
{
- //qDebug("karamba::systrayUpdated");
+ //tqDebug("karamba::systrayUpdated");
if (pythonIface && pythonIface->isExtensionLoaded())
pythonIface->systrayUpdated(this);
}
void karamba::toggleWidgetUpdate( bool b)
{
- //qDebug("karamba::toggleWidgetUpdate");
+ //tqDebug("karamba::toggleWidgetUpdate");
if (pythonIface && pythonIface->isExtensionLoaded())
widgetUpdate = b;
}
diff --git a/superkaramba/src/karamba_python.cpp b/superkaramba/src/karamba_python.cpp
index 9f09f79..8431cd3 100644
--- a/superkaramba/src/karamba_python.cpp
+++ b/superkaramba/src/karamba_python.cpp
@@ -469,7 +469,7 @@ bool KarambaPython::callObject(const char* func, PyObject* pArgs, bool lock)
bool result = false;
PyThreadState* myThreadState;
- //qDebug("Calling %s", func);
+ //tqDebug("Calling %s", func);
if (lock)
getLock(&myThreadState);
@@ -486,7 +486,7 @@ bool KarambaPython::callObject(const char* func, PyObject* pArgs, bool lock)
}
else
{
- qWarning("Call to %s failed", func);
+ tqWarning("Call to %s failed", func);
PyErr_Print();
}
}
diff --git a/superkaramba/src/karambaapp.cpp b/superkaramba/src/karambaapp.cpp
index f3231b2..259e3fd 100644
--- a/superkaramba/src/karambaapp.cpp
+++ b/superkaramba/src/karambaapp.cpp
@@ -114,14 +114,14 @@ void KarambaApplication::checkSuperKarambaDir()
TQDir configDir(TQDir::home().absPath() + "/.superkaramba");
if (!configDir.exists())
{
- qWarning("~/.superkaramba doesn't exist");
+ tqWarning("~/.superkaramba doesn't exist");
if(!configDir.mkdir(TQDir::home().absPath() + "/.superkaramba"))
{
- qWarning("Couldn't create Directory ~/.superkaramba");
+ tqWarning("Couldn't create Directory ~/.superkaramba");
}
else
{
- qWarning("created ~/.superkaramba");
+ tqWarning("created ~/.superkaramba");
}
}
}
@@ -323,13 +323,13 @@ bool KarambaApplication::lockKaramba()
fd = open(file.ascii(), O_CREAT | O_RDWR | O_TRUNC, mode);
if (fd < 0)
{
- qWarning("Open failed in lock.");
+ tqWarning("Open failed in lock.");
return false;
}
- //qDebug("lock %d", getpid());
+ //tqDebug("lock %d", getpid());
if(lockf(fd, F_LOCK, 0))
{
- qWarning("Lock failed.");
+ tqWarning("Lock failed.");
return false;
}
return true;
@@ -340,7 +340,7 @@ void KarambaApplication::unlockKaramba()
if(fd > 0)
{
lockf(fd, F_ULOCK, 0);
- //qDebug("Unlock %d", getpid());
+ //tqDebug("Unlock %d", getpid());
close(fd);
fd = -1;
}
diff --git a/superkaramba/src/karambasessionmanaged.cpp b/superkaramba/src/karambasessionmanaged.cpp
index a6cd2c3..8997561 100644
--- a/superkaramba/src/karambasessionmanaged.cpp
+++ b/superkaramba/src/karambasessionmanaged.cpp
@@ -52,7 +52,7 @@ bool KarambaSessionManaged::saveState(TQSessionManager&)
}
delete list; // delete the list, not the widgets
- qDebug("Open themes %s", openThemes.ascii());
+ tqDebug("Open themes %s", openThemes.ascii());
config->writeEntry("OpenThemes", openThemes);
return true;
}
diff --git a/superkaramba/src/main.cpp b/superkaramba/src/main.cpp
index c5a4d50..0808d42 100644
--- a/superkaramba/src/main.cpp
+++ b/superkaramba/src/main.cpp
@@ -52,7 +52,7 @@ static KCmdLineOptions options[] =
{ 0, 0, 0 }
};
-// This is for redirecting all qWarning, qDebug,... messages to file.
+// This is for redirecting all tqWarning, tqDebug,... messages to file.
// Usefull when testing session management issues etc.
// #define KARAMBA_LOG 1
@@ -148,7 +148,7 @@ int main(int argc, char **argv)
args->clear();
KarambaPython::initPython();
- //qDebug("startThemes");
+ //tqDebug("startThemes");
if(app.startThemes(lst) || mainAppId.isEmpty())
ret = app.exec();
KarambaPython::shutdownPython();
diff --git a/superkaramba/src/misc_python.cpp b/superkaramba/src/misc_python.cpp
index 018c66e..449fe44 100644
--- a/superkaramba/src/misc_python.cpp
+++ b/superkaramba/src/misc_python.cpp
@@ -175,7 +175,7 @@ long attachClickArea(long widget, long meter, TQString LeftButton, TQString Midd
image -> attachClickArea(LeftButton, MiddleButton, RightButton);
if (!meterAlreadyClickable)
{
- //qWarning("attachClickArea : meter is image");
+ //tqWarning("attachClickArea : meter is image");
currTheme -> clickList -> append(image);
}
}
@@ -185,14 +185,14 @@ long attachClickArea(long widget, long meter, TQString LeftButton, TQString Midd
text -> attachClickArea(LeftButton, MiddleButton, RightButton);
if (!meterAlreadyClickable)
{
- //qWarning("attachClickArea : meter is text");
+ //tqWarning("attachClickArea : meter is text");
currTheme -> clickList -> append(text);
}
}
else
{
//The given meter does not support attached clickAreas.
- qWarning("The given meter is not of type image or text");
+ tqWarning("The given meter is not of type image or text");
return 0;
}
return 1;
@@ -678,7 +678,7 @@ TQString getIp(char *device_name)
*/
if ((sd = socket(AF_INET,SOCK_DGRAM,0)) < 0)
{
- qWarning("Error: Unable to create socket (socket)");
+ tqWarning("Error: Unable to create socket (socket)");
return "Error";
}
@@ -691,7 +691,7 @@ TQString getIp(char *device_name)
ifc_conf.ifc_buf = ifc_conf_buf;
if (ioctl(sd,SIOCGIFCONF,&ifc_conf) < 0)
{
- qWarning("Error: Unable to get network interface conf (ioctl)");
+ tqWarning("Error: Unable to get network interface conf (ioctl)");
close(sd);
return "Error";
}
@@ -701,10 +701,10 @@ TQString getIp(char *device_name)
* have broadcast capability?
*/
numdevs = ifc_conf.ifc_len / sizeof (struct ifreq);
- //qDebug("numdevs = %d", numdevs);
+ //tqDebug("numdevs = %d", numdevs);
for (i = 0; i < numdevs; i++)
{
- //qDebug("iterations: %d", i);
+ //tqDebug("iterations: %d", i);
/* devptr points into an array of ifreq structs. */
devptr = &ifc_conf.ifc_req[i];
@@ -713,7 +713,7 @@ TQString getIp(char *device_name)
if (ioctl(sd,SIOCGIFFLAGS,devptr) < 0)
{
- qWarning("Error: Unable to get device interface flags (ioctl).");
+ tqWarning("Error: Unable to get device interface flags (ioctl).");
close(sd);
return "Error";
}
@@ -731,7 +731,7 @@ TQString getIp(char *device_name)
/* Get the broadcast address. */
if (ioctl(sd,SIOCGIFFLAGS,devptr) < 0)
{
- qWarning("Error: Unable to get device interface flags (ioctl).");
+ tqWarning("Error: Unable to get device interface flags (ioctl).");
close(sd);
return "Error";
}
diff --git a/superkaramba/src/networksensor.cpp b/superkaramba/src/networksensor.cpp
index 09de816..2320a6a 100644
--- a/superkaramba/src/networksensor.cpp
+++ b/superkaramba/src/networksensor.cpp
@@ -115,7 +115,7 @@ void NetworkSensor::getInOutBytes ( unsigned long &in,unsigned long &out) const
}
else
{
- qDebug("Network sensor: can not find %s", device.ascii());
+ tqDebug("Network sensor: can not find %s", device.ascii());
in = 0;
out = 0;
}
diff --git a/superkaramba/src/noatunsensor.cpp b/superkaramba/src/noatunsensor.cpp
index 798557f..129e8e0 100644
--- a/superkaramba/src/noatunsensor.cpp
+++ b/superkaramba/src/noatunsensor.cpp
@@ -139,7 +139,7 @@ TQString NoatunSensor::getTitle()
data, replyType, replyData))
{
result = "";
- qDebug("there was some error using DCOP.");
+ tqDebug("there was some error using DCOP.");
}
else
{
@@ -154,7 +154,7 @@ TQString NoatunSensor::getTitle()
else
{
result = "";
- qDebug("title returned an unexpected type of reply!");
+ tqDebug("title returned an unexpected type of reply!");
}
}
return result;
@@ -172,7 +172,7 @@ int NoatunSensor::getTime()
data, replyType, replyData))
{
result = 0;
- qDebug("there was some error using DCOP.");
+ tqDebug("there was some error using DCOP.");
}
else
{
@@ -184,7 +184,7 @@ int NoatunSensor::getTime()
else
{
result = 0;
- qDebug("title returned an unexpected type of reply!");
+ tqDebug("title returned an unexpected type of reply!");
}
}
return result;
@@ -202,7 +202,7 @@ int NoatunSensor::getLength()
data, replyType, replyData))
{
result = 0;
- qDebug("there was some error using DCOP.");
+ tqDebug("there was some error using DCOP.");
}
else
{
@@ -214,7 +214,7 @@ int NoatunSensor::getLength()
else
{
result = 0;
- qDebug("title returned an unexpected type of reply!");
+ tqDebug("title returned an unexpected type of reply!");
}
}
return result;
diff --git a/superkaramba/src/rsssensor.cpp b/superkaramba/src/rsssensor.cpp
index 5a999ec..7754a9c 100644
--- a/superkaramba/src/rsssensor.cpp
+++ b/superkaramba/src/rsssensor.cpp
@@ -62,16 +62,16 @@ void RssSensor::update()
}
else
{
- qDebug("Error on building DOM");
+ tqDebug("Error on building DOM");
}
}
else
{
- qDebug("Error opening file");
+ tqDebug("Error opening file");
}
}
else {
- qDebug( "Error Downloading: %s", source.ascii());
+ tqDebug( "Error Downloading: %s", source.ascii());
}
if ( OK )
@@ -116,13 +116,13 @@ void RssSensor::update()
}
else
{
- qDebug("Skipping");
+ tqDebug("Skipping");
}
}
}
else
{
- qDebug ("Document Node was null!!");
+ tqDebug ("Document Node was null!!");
}
++it;
diff --git a/superkaramba/src/task_python.cpp b/superkaramba/src/task_python.cpp
index 0b3f876..4b81f26 100644
--- a/superkaramba/src/task_python.cpp
+++ b/superkaramba/src/task_python.cpp
@@ -193,7 +193,7 @@ PyObject* getTaskInfo(long widget, long ctask)
}
else
{
- qWarning("Task not found.");
+ tqWarning("Task not found.");
return NULL;
}
}
diff --git a/superkaramba/src/taskbartest.cpp b/superkaramba/src/taskbartest.cpp
index 46d445d..f1d9386 100644
--- a/superkaramba/src/taskbartest.cpp
+++ b/superkaramba/src/taskbartest.cpp
@@ -96,10 +96,10 @@ int main(int argc, char **argv)
// if( args->arg(i) != "" )
// {
// TQFileInfo file( args->arg(i) );
-// //qDebug( file.dirPath(true) );
+// //tqDebug( file.dirPath(true) );
// if( file.exists() && !file.isDir() )
// {
-// //qDebug( "File exists" );
+// //tqDebug( "File exists" );
// mainWin = new karamba( ( args->arg(i) ));
// mainWin->show();
// OK = true;
diff --git a/superkaramba/src/themefile.cpp b/superkaramba/src/themefile.cpp
index 0e8c02f..a75cc14 100644
--- a/superkaramba/src/themefile.cpp
+++ b/superkaramba/src/themefile.cpp
@@ -68,13 +68,13 @@ class ZipFile
if(!m_zip->open(IO_ReadOnly))
{
- qDebug("Unable to open '%s' for reading.", zipfile.ascii());
+ tqDebug("Unable to open '%s' for reading.", zipfile.ascii());
return;
}
m_dir = m_zip->directory();
if(m_dir == 0)
{
- qDebug("Error reading directory contents of file %s", zipfile.ascii());
+ tqDebug("Error reading directory contents of file %s", zipfile.ascii());
return;
}
}
@@ -100,7 +100,7 @@ class ZipFile
else
{
if(!m_filename.isEmpty())
- qDebug("Error reading file %s from zip", m_filename.ascii());
+ tqDebug("Error reading file %s from zip", m_filename.ascii());
return TQByteArray();
}
}
diff --git a/superkaramba/src/xmmssensor.cpp b/superkaramba/src/xmmssensor.cpp
index 268700b..fd05744 100644
--- a/superkaramba/src/xmmssensor.cpp
+++ b/superkaramba/src/xmmssensor.cpp
@@ -164,13 +164,13 @@ void XMMSSensor::update()
{
isPlaying = xmms->isPlaying(0);
pos = xmms->getPlaylistPos(0);
- qDebug("unicode start");
+ tqDebug("unicode start");
title = codec->toUnicode( TQCString( xmms->getPlaylistTitle( 0, pos ) ) );
- qDebug("unicode end");
+ tqDebug("unicode end");
if( title.isEmpty() )
title = "XMMS";
- qDebug("Title: %s", title.ascii());
+ tqDebug("Title: %s", title.ascii());
songLength = xmms->getPlaylistTime( 0, pos );
currentTime = xmms->getOutputTime( 0 );
}