diff options
Diffstat (limited to 'kxsldbg/kxsldbgpart/xsldbgoutputview.cpp')
-rw-r--r-- | kxsldbg/kxsldbgpart/xsldbgoutputview.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kxsldbg/kxsldbgpart/xsldbgoutputview.cpp b/kxsldbg/kxsldbgpart/xsldbgoutputview.cpp index 1b6ee2bc..c07d928b 100644 --- a/kxsldbg/kxsldbgpart/xsldbgoutputview.cpp +++ b/kxsldbg/kxsldbgpart/xsldbgoutputview.cpp @@ -33,7 +33,7 @@ XsldbgMsgDialogImpl::XsldbgMsgDialogImpl(TQWidget *parent, TQMessageBox::Icon icon, const TQString &title, const TQString &msg) - : XsldbgMsgDialog(parent, "XsldbgMsgDialogImpl" , TRUE ) + : XsldbgMsgDialog(parent, "XsldbgMsgDialogImpl" , true ) { setCaption(title); @@ -62,17 +62,17 @@ XsldbgOutputView::XsldbgOutputView(TQWidget * parent) setText(i18n("\t\txsldbg output capture ready\n\n")); dlg = 0L; show(); - setReadOnly(TRUE); + setReadOnly(true); } void XsldbgOutputView::slotProcShowMessage(TQString msg) { - bool processed = FALSE; + bool processed = false; // Is this a result of an evaluate command if ((msg[0] == TQChar('=')) && (msg[1] == TQChar(' '))){ int endPosition = msg.find(TQChar('\n')); if (endPosition >= 0){ - processed = TRUE; + processed = true; showDialog(TQMessageBox::Information, i18n("Result of evaluation"), msg.mid(endPosition + 1)); } @@ -92,10 +92,10 @@ void XsldbgOutputView::slotProcShowMessage(TQString msg) (msg.find("Load of data deferred") == -1) ) showDialog(TQMessageBox::Warning, i18n("Request Failed "), msg); - processed = TRUE; + processed = true; } - if (processed == FALSE){ - if (isVisible() == FALSE) + if (processed == false){ + if (isVisible() == false) show(); append(msg); } |