diff options
Diffstat (limited to 'tdeui/tests')
-rw-r--r-- | tdeui/tests/itemcontainertest.h | 4 | ||||
-rw-r--r-- | tdeui/tests/kaboutdialogtest.cpp | 4 | ||||
-rw-r--r-- | tdeui/tests/kcolortest.cpp | 12 | ||||
-rw-r--r-- | tdeui/tests/kcompletiontest.cpp | 4 | ||||
-rw-r--r-- | tdeui/tests/kdialogbasetest.cpp | 4 | ||||
-rw-r--r-- | tdeui/tests/kdockwidgetdemo.cpp | 10 | ||||
-rw-r--r-- | tdeui/tests/kdockwidgettest.cpp | 8 | ||||
-rw-r--r-- | tdeui/tests/kdockwidgettest.h | 4 | ||||
-rw-r--r-- | tdeui/tests/kdualcolortest.cpp | 4 | ||||
-rw-r--r-- | tdeui/tests/kledtest.cpp | 2 | ||||
-rw-r--r-- | tdeui/tests/klineeditdlgtest.cpp | 4 | ||||
-rw-r--r-- | tdeui/tests/kmessageboxtest.cpp | 8 | ||||
-rw-r--r-- | tdeui/tests/krulertest.cpp | 2 | ||||
-rw-r--r-- | tdeui/tests/twindowtest.cpp | 2 |
14 files changed, 36 insertions, 36 deletions
diff --git a/tdeui/tests/itemcontainertest.h b/tdeui/tests/itemcontainertest.h index 4334bd805..86a356ab3 100644 --- a/tdeui/tests/itemcontainertest.h +++ b/tdeui/tests/itemcontainertest.h @@ -28,8 +28,8 @@ public slots: void slotListBoxExec( TQListBoxItem* item ); void slotToggleSingleColumn( bool b ); - void slotClicked( TQIconViewItem* ) { qDebug("CLICK");} - void slotDoubleClicked( TQIconViewItem* ) { qDebug("DOUBLE CLICK");} + void slotClicked( TQIconViewItem* ) { tqDebug("CLICK");} + void slotDoubleClicked( TQIconViewItem* ) { tqDebug("DOUBLE CLICK");} protected: KIconView* m_pIconView; KListView* m_pListView; diff --git a/tdeui/tests/kaboutdialogtest.cpp b/tdeui/tests/kaboutdialogtest.cpp index ea92096b0..6103c6ba4 100644 --- a/tdeui/tests/kaboutdialogtest.cpp +++ b/tdeui/tests/kaboutdialogtest.cpp @@ -28,7 +28,7 @@ int main(int argc, char** argv) pix=logo; about.setLogo(pix); } else { - qDebug("main: No logo loaded."); + tqDebug("main: No logo loaded."); } if(bg.load("background_1.png")) { @@ -39,7 +39,7 @@ int main(int argc, char** argv) //about.showBaseFrameTile(true); } else { - qDebug("main: No tile loaded."); + tqDebug("main: No tile loaded."); } // about.setButtonOKText // ("Cl&ose", "Close this dialog.", diff --git a/tdeui/tests/kcolortest.cpp b/tdeui/tests/kcolortest.cpp index 46f5b42bc..68f50371b 100644 --- a/tdeui/tests/kcolortest.cpp +++ b/tdeui/tests/kcolortest.cpp @@ -61,7 +61,7 @@ void KColorWidget::doIntensityLoop() Qt::CopyROP, true); } stop = t.elapsed(); - qDebug ("Total fullscreen %s dim time for %d steps : %f s", + tqDebug ("Total fullscreen %s dim time for %d steps : %f s", oldway?"(antonio)":"(intensity)", count, (stop - start)*1e-3); if (intvsfade) { @@ -75,14 +75,14 @@ void KColorWidget::doIntensityLoop() } } stop = t.elapsed(); - qDebug ("Total fullscreen (fade) dim time for %d steps : %f s", + tqDebug ("Total fullscreen (fade) dim time for %d steps : %f s", count, (stop - start)*1e-3); } else { image = original; image.detach(); - qDebug("Intensity test"); + tqDebug("Intensity test"); for(count=0; count < max; ++count){ KImageEffect::intensity(image, 1./max); pixmap.convertFromImage(image); @@ -98,7 +98,7 @@ void KColorWidget::doIntensityLoop() } image = original; image.detach(); - qDebug("Red channel intensity test"); + tqDebug("Red channel intensity test"); for(count=0; count < max; ++count){ KImageEffect::channelIntensity(image, -1./max, KImageEffect::Red); pixmap.convertFromImage(image); @@ -113,7 +113,7 @@ void KColorWidget::doIntensityLoop() } image = original; image.detach(); - qDebug("Green channel intensity test"); + tqDebug("Green channel intensity test"); for(count=0; count < max; ++count){ KImageEffect::channelIntensity(image, -1./max, KImageEffect::Green); pixmap.convertFromImage(image); @@ -128,7 +128,7 @@ void KColorWidget::doIntensityLoop() } image = original; image.detach(); - qDebug("Blue channel intensity test"); + tqDebug("Blue channel intensity test"); for(count=0; count < max; ++count){ KImageEffect::channelIntensity(image, -1./max, KImageEffect::Blue); pixmap.convertFromImage(image); diff --git a/tdeui/tests/kcompletiontest.cpp b/tdeui/tests/kcompletiontest.cpp index bdd47ab48..3e60a0ddd 100644 --- a/tdeui/tests/kcompletiontest.cpp +++ b/tdeui/tests/kcompletiontest.cpp @@ -142,13 +142,13 @@ Form1::~Form1() void Form1::slotAdd() { - qDebug("** adding: %s", LineEdit1->text().latin1() ); + tqDebug("** adding: %s", LineEdit1->text().latin1() ); edit->completionObject()->addItem( LineEdit1->text() ); TQStringList matches = edit->completionObject()->allMatches("S"); TQStringList::ConstIterator it = matches.begin(); for ( ; it != matches.end(); ++it ) - qDebug("-- %s", (*it).latin1()); + tqDebug("-- %s", (*it).latin1()); } void Form1::slotRemove() diff --git a/tdeui/tests/kdialogbasetest.cpp b/tdeui/tests/kdialogbasetest.cpp index 07e8a8ca9..c3653b59f 100644 --- a/tdeui/tests/kdialogbasetest.cpp +++ b/tdeui/tests/kdialogbasetest.cpp @@ -68,9 +68,9 @@ int main(int argc, char** argv) /* The dialog object is used just as any other TQDialog: */ if(dialog.exec()) { - qDebug("Accepted."); + tqDebug("Accepted."); } else { - qDebug("Rejected."); + tqDebug("Rejected."); } return 0; } diff --git a/tdeui/tests/kdockwidgetdemo.cpp b/tdeui/tests/kdockwidgetdemo.cpp index 15b83d14e..7847a6299 100644 --- a/tdeui/tests/kdockwidgetdemo.cpp +++ b/tdeui/tests/kdockwidgetdemo.cpp @@ -154,7 +154,7 @@ SFileDialog::SFileDialog( TQString initially, const TQStringList& filter, const connect( dockManager, TQT_SIGNAL(setDockDefaultPos(KDockWidget*)), this, TQT_SLOT(setDockDefaultPos(KDockWidget*))); setCaption("Open File"); resize(550,450); - qDebug("read config"); + tqDebug("read config"); dockManager->readConfig( 0L , name ); } @@ -170,7 +170,7 @@ SFileDialog::~SFileDialog() config->setGroup( TQString("SFileDialogData:") + name() ); config->writeEntry( "Bookmarks", fd->getBookmark() ); - qDebug("write config"); + tqDebug("write config"); dockManager->writeConfig( 0L , name() ); } @@ -773,11 +773,11 @@ int main(int argc, char* argv[]) { #if 0 SFileDialog* openfile = new SFileDialog(); openfile->exec(); - qDebug( openfile->fileName() ); + tqDebug( openfile->fileName() ); #endif #if 0 - qDebug ( SFileDialog::getOpenFileName( TQString::null, TQString::fromLatin1("All (*)"), + tqDebug ( SFileDialog::getOpenFileName( TQString::null, TQString::fromLatin1("All (*)"), TQString::fromLatin1("DockWidget Demo"), "dialog1" ) ); #endif @@ -786,7 +786,7 @@ int main(int argc, char* argv[]) { TQString::fromLatin1("DockWidget Demo"), "dialog1" ); TQStringList::Iterator it = s.begin(); for ( ; it != s.end(); ++it ){ - qDebug( "%s", (*it).local8Bit().data() ); + tqDebug( "%s", (*it).local8Bit().data() ); } #endif return 0; diff --git a/tdeui/tests/kdockwidgettest.cpp b/tdeui/tests/kdockwidgettest.cpp index 7d4625357..74d8ecac4 100644 --- a/tdeui/tests/kdockwidgettest.cpp +++ b/tdeui/tests/kdockwidgettest.cpp @@ -101,7 +101,7 @@ DockApplication::DockApplication( const char* name ) l->setBackgroundColor(white); l->setMinimumSize(100,100); dock5->setWidget(l); - if (::tqqt_cast<KDockContainer*>(l)) qDebug("KDockContainer created for dock 5"); + if (::tqqt_cast<KDockContainer*>(l)) tqDebug("KDockContainer created for dock 5"); /*****************************************************/ /*****************************************************/ @@ -112,7 +112,7 @@ DockApplication::DockApplication( const char* name ) l->setBackgroundColor(white); l->setMinimumSize(100,100); dock6->setWidget(l); - if (::tqqt_cast<KDockContainer*>(l)) qDebug("KDockContainer created for dock 6"); + if (::tqqt_cast<KDockContainer*>(l)) tqDebug("KDockContainer created for dock 6"); /*****************************************************/ @@ -143,7 +143,7 @@ DockApplication::DockApplication( const char* name ) setGeometry(200, 100, 500, 300); - qDebug("load config"); + tqDebug("load config"); readDockConfig(); updateButton(); @@ -151,7 +151,7 @@ DockApplication::DockApplication( const char* name ) DockApplication::~DockApplication() { - qDebug("Close & store config"); + tqDebug("Close & store config"); writeDockConfig(); } diff --git a/tdeui/tests/kdockwidgettest.h b/tdeui/tests/kdockwidgettest.h index 7ae2ab271..4cc952857 100644 --- a/tdeui/tests/kdockwidgettest.h +++ b/tdeui/tests/kdockwidgettest.h @@ -62,8 +62,8 @@ public: CTW(TQWidget *parent):TQTabWidget(parent,"MyDockContainer"),KDockContainer(){insertTab(new TQLabel("BLAH",this),"BLUP");} virtual ~CTW(){;} KDockWidget *parentDockWidget(){return ((KDockWidget*)parent());} - void insertWidget (KDockWidget *w, TQPixmap, const TQString &, int &){qDebug("widget inserted"); insertTab(w,"NO");} - void setToolTip (KDockWidget *, TQString &){qDebug("Tooltip set");} + void insertWidget (KDockWidget *w, TQPixmap, const TQString &, int &){tqDebug("widget inserted"); insertTab(w,"NO");} + void setToolTip (KDockWidget *, TQString &){tqDebug("Tooltip set");} }; diff --git a/tdeui/tests/kdualcolortest.cpp b/tdeui/tests/kdualcolortest.cpp index 2060a9842..6fa2d1571 100644 --- a/tdeui/tests/kdualcolortest.cpp +++ b/tdeui/tests/kdualcolortest.cpp @@ -44,9 +44,9 @@ void KDualColorWidget::slotBgChanged(const TQColor &c) void KDualColorWidget::slotCurrentChanged(KDualColorButton::DualColor current) { if(current == KDualColorButton::Foreground) - qDebug("Foreground Button Selected."); + tqDebug("Foreground Button Selected."); else - qDebug("Background Button Selected."); + tqDebug("Background Button Selected."); } int main(int argc, char **argv) diff --git a/tdeui/tests/kledtest.cpp b/tdeui/tests/kledtest.cpp index d68f1e366..54ae8b6e1 100644 --- a/tdeui/tests/kledtest.cpp +++ b/tdeui/tests/kledtest.cpp @@ -107,7 +107,7 @@ KLedTest::nextLook() { } ledlook = static_cast<KLed::Look>(tmp); l->setLook(ledlook); - //qDebug("painting look %i", ledlook); + //tqDebug("painting look %i", ledlook); //l->repaint(); } diff --git a/tdeui/tests/klineeditdlgtest.cpp b/tdeui/tests/klineeditdlgtest.cpp index e43085c0c..7db673bb1 100644 --- a/tdeui/tests/klineeditdlgtest.cpp +++ b/tdeui/tests/klineeditdlgtest.cpp @@ -10,9 +10,9 @@ int main(int argc, char** argv) KLineEditDlg dialog( "_text", "_value", 0L ); if(dialog.exec()) { - qDebug("Accepted."); + tqDebug("Accepted."); } else { - qDebug("Rejected."); + tqDebug("Rejected."); } return 0; } diff --git a/tdeui/tests/kmessageboxtest.cpp b/tdeui/tests/kmessageboxtest.cpp index 1b926739f..3603edf57 100644 --- a/tdeui/tests/kmessageboxtest.cpp +++ b/tdeui/tests/kmessageboxtest.cpp @@ -26,16 +26,16 @@ ExampleWidget::ExampleWidget( TQWidget *parent, const char *name ) TQSize sh; setText("<p>Hello.</p>"); sh = sizeHint(); - qWarning("SizeHint = %d x %d", sh.width(), sh.height()); + tqWarning("SizeHint = %d x %d", sh.width(), sh.height()); setText("Hello."); sh = sizeHint(); - qWarning("SizeHint = %d x %d", sh.width(), sh.height()); + tqWarning("SizeHint = %d x %d", sh.width(), sh.height()); setText("<p>Hello<br>World</p>"); sh = sizeHint(); - qWarning("SizeHint = %d x %d", sh.width(), sh.height()); + tqWarning("SizeHint = %d x %d", sh.width(), sh.height()); // setText("Hello\nWorld"); sh = sizeHint(); - qWarning("SizeHint = %d x %d", sh.width(), sh.height()); + tqWarning("SizeHint = %d x %d", sh.width(), sh.height()); setMinimumSize(sizeHint()); } diff --git a/tdeui/tests/krulertest.cpp b/tdeui/tests/krulertest.cpp index ad2f5630a..2f16605d9 100644 --- a/tdeui/tests/krulertest.cpp +++ b/tdeui/tests/krulertest.cpp @@ -63,7 +63,7 @@ KRulerTest::KRulerTest( const char *name ) bigwidget->setFrameStyle(TQFrame::WinPanel | TQFrame::Sunken); // TQRect bwrect = bigwidget->frameRect(); - // qDebug("big rect: top%i left%i bottom%i right%i", + // tqDebug("big rect: top%i left%i bottom%i right%i", // bwrect.top(), bwrect.left(), bwrect.bottom(), bwrect.right()); hruler = new KRuler(Horizontal, mainframe); // hruler->setRange( bwrect.left(), bwrect.right() ); diff --git a/tdeui/tests/twindowtest.cpp b/tdeui/tests/twindowtest.cpp index 9c4ac571a..02b47c2d8 100644 --- a/tdeui/tests/twindowtest.cpp +++ b/tdeui/tests/twindowtest.cpp @@ -378,7 +378,7 @@ testWindow::~testWindow () delete tb1; delete menuBar; - qDebug ("twindowtest finished"); + tqDebug ("twindowtest finished"); } void testWindow::beFixed() |