diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:33:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:33:40 -0600 |
commit | 4fb897b216c41c13f128c71bcc66f60e2dc601c4 (patch) | |
tree | 2891b54cd6ec39db133da0110028ec93fc006751 /tdeui | |
parent | 8fc8811ef6079a15decd33f1ea5d95dd718e4557 (diff) | |
download | tdelibs-4fb897b216c41c13f128c71bcc66f60e2dc601c4.tar.gz tdelibs-4fb897b216c41c13f128c71bcc66f60e2dc601c4.zip |
Rename additional global TQt functions
Diffstat (limited to 'tdeui')
-rw-r--r-- | tdeui/kcharselect.cpp | 2 | ||||
-rw-r--r-- | tdeui/kcombobox.cpp | 2 | ||||
-rw-r--r-- | tdeui/kdialogbase.h | 2 | ||||
-rw-r--r-- | tdeui/kled.cpp | 8 | ||||
-rw-r--r-- | tdeui/kpassdlg.cpp | 2 | ||||
-rw-r--r-- | tdeui/kpopupmenu.cpp | 8 | ||||
-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 |
20 files changed, 48 insertions, 48 deletions
diff --git a/tdeui/kcharselect.cpp b/tdeui/kcharselect.cpp index 6cb1f0477..ace147496 100644 --- a/tdeui/kcharselect.cpp +++ b/tdeui/kcharselect.cpp @@ -491,7 +491,7 @@ void KCharSelect::fillFontCombo() { if ( !fontDataBase ) { fontDataBase = new TQFontDatabase(); - qAddPostRoutine( cleanupFontDatabase ); + tqAddPostRoutine( cleanupFontDatabase ); } fontList=fontDataBase->families(); fontCombo->insertStringList( fontList ); diff --git a/tdeui/kcombobox.cpp b/tdeui/kcombobox.cpp index df84d0032..198a1e200 100644 --- a/tdeui/kcombobox.cpp +++ b/tdeui/kcombobox.cpp @@ -186,7 +186,7 @@ void KComboBox::setTrapReturnKey( bool grab ) if ( d->klineEdit ) d->klineEdit->setTrapReturnKey( grab ); else - qWarning("KComboBox::setTrapReturnKey not supported with a non-KLineEdit."); + tqWarning("KComboBox::setTrapReturnKey not supported with a non-KLineEdit."); } bool KComboBox::trapReturnKey() const diff --git a/tdeui/kdialogbase.h b/tdeui/kdialogbase.h index f0da150b6..c47a6a2e9 100644 --- a/tdeui/kdialogbase.h +++ b/tdeui/kdialogbase.h @@ -1587,7 +1587,7 @@ class TDEUI_EXPORT KDialogBase : public KDialog void setButtonFocus( TQPushButton *p, bool isDefault, bool isFocus ); /** - * Prints an error message using qDebug if makeMainWidget , + * Prints an error message using tqDebug if makeMainWidget , * makeVBoxMainWidget , makeHBoxMainWidget or * makeGridMainWidget failed. */ diff --git a/tdeui/kled.cpp b/tdeui/kled.cpp index 7dd45f107..3a3aa2a83 100644 --- a/tdeui/kled.cpp +++ b/tdeui/kled.cpp @@ -129,7 +129,7 @@ KLed::paintEvent(TQPaintEvent *) paintRect(); break; default : - qWarning("%s: in class KLed: no KLed::Look set",tqApp->argv()[0]); + tqWarning("%s: in class KLed: no KLed::Look set",tqApp->argv()[0]); } break; case Circular: @@ -145,17 +145,17 @@ KLed::paintEvent(TQPaintEvent *) paintSunken(); break; default: - qWarning("%s: in class KLed: no KLed::Look set",tqApp->argv()[0]); + tqWarning("%s: in class KLed: no KLed::Look set",tqApp->argv()[0]); } break; default: - qWarning("%s: in class KLed: no KLed::Shape set",tqApp->argv()[0]); + tqWarning("%s: in class KLed: no KLed::Shape set",tqApp->argv()[0]); break; } #ifdef PAINT_BENCH } int ready = t.elapsed(); - qWarning("elapsed: %d msec. for %d rounds", ready, rounds); + tqWarning("elapsed: %d msec. for %d rounds", ready, rounds); #endif } diff --git a/tdeui/kpassdlg.cpp b/tdeui/kpassdlg.cpp index cdd238706..a9625b899 100644 --- a/tdeui/kpassdlg.cpp +++ b/tdeui/kpassdlg.cpp @@ -67,7 +67,7 @@ static int * ourMaxLength( const KPasswordEdit* const e ) { if ( !d_ptr ) { d_ptr = new TQPtrDict<int>; d_ptr->setAutoDelete(true); - qAddPostRoutine( cleanup_d_ptr ); + tqAddPostRoutine( cleanup_d_ptr ); } int* ret = d_ptr->find( (void*) e ); if ( ! ret ) { diff --git a/tdeui/kpopupmenu.cpp b/tdeui/kpopupmenu.cpp index a14575233..d910b7781 100644 --- a/tdeui/kpopupmenu.cpp +++ b/tdeui/kpopupmenu.cpp @@ -244,10 +244,10 @@ TQString KPopupMenu::title(int id) const if(item->widget()) return ((KPopupTitle *)item->widget())->title(); else - qWarning("KPopupMenu: title() called with non-title id %d.", id); + tqWarning("KPopupMenu: title() called with non-title id %d.", id); } else - qWarning("KPopupMenu: title() called with invalid id %d.", id); + tqWarning("KPopupMenu: title() called with invalid id %d.", id); return TQString::null; } @@ -258,10 +258,10 @@ TQPixmap KPopupMenu::titlePixmap(int id) const if(item->widget()) return ((KPopupTitle *)item->widget())->icon(); else - qWarning("KPopupMenu: titlePixmap() called with non-title id %d.", id); + tqWarning("KPopupMenu: titlePixmap() called with non-title id %d.", id); } else - qWarning("KPopupMenu: titlePixmap() called with invalid id %d.", id); + tqWarning("KPopupMenu: titlePixmap() called with invalid id %d.", id); TQPixmap tmp; return tmp; } 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() |