summaryrefslogtreecommitdiffstats
path: root/src/UiGuiErrorMessage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/UiGuiErrorMessage.cpp')
-rwxr-xr-xsrc/UiGuiErrorMessage.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/UiGuiErrorMessage.cpp b/src/UiGuiErrorMessage.cpp
index 63aed21..fa04a7c 100755
--- a/src/UiGuiErrorMessage.cpp
+++ b/src/UiGuiErrorMessage.cpp
@@ -19,12 +19,12 @@
#include "UiGuiErrorMessage.h"
-#include <tqcheckbox.h>
+#include <tntqcheckbox.h>
/*!
\class UiGuiErrorMessage
\ingroup grp_Dialogs
- \brief UiGuiErrorMessage is a child of QErrorMessage. But QErrorMessages
+ \brief UiGuiErrorMessage is a child of TQErrorMessage. But TQErrorMessages
"Do not show again" didn't work with my strings, so this is my own, working
implementation of it.
*/
@@ -36,9 +36,9 @@
Retrieves the object pointer to the \a _showAgainCheckBox check box, sets the dialogs
modality and for a working translation sets the check box text.
*/
-UiGuiErrorMessage::UiGuiErrorMessage(QWidget *parent) : QErrorMessage(parent) {
- _showAgainCheckBox = findChild<QCheckBox *>();
- setWindowModality( Qt::ApplicationModal );
+UiGuiErrorMessage::UiGuiErrorMessage(TQWidget *parent) : TQErrorMessage(parent) {
+ _showAgainCheckBox = findChild<TQCheckBox *>();
+ setWindowModality( TQt::ApplicationModal );
_showAgainCheckBox->setText( tr("Show this message again") );
}
@@ -57,7 +57,7 @@ UiGuiErrorMessage::~UiGuiErrorMessage(void) {
already in that list and "Show this message again" is not checked, that
message will not be shown.
*/
-void UiGuiErrorMessage::showMessage( const QString &title, const QString &message ) {
+void UiGuiErrorMessage::showMessage( const TQString &title, const TQString &message ) {
bool showAgain = true;
if ( _showAgainCheckBox != 0 ) {
@@ -71,10 +71,10 @@ void UiGuiErrorMessage::showMessage( const QString &title, const QString &messag
if ( _showAgainCheckBox != 0 ) {
_showAgainCheckBox->setChecked(true);
}
- QErrorMessage::showMessage( message );
+ TQErrorMessage::showMessage( message );
}
else if ( showAgain ) {
- QErrorMessage::showMessage( message );
+ TQErrorMessage::showMessage( message );
}
}
@@ -82,6 +82,6 @@ void UiGuiErrorMessage::showMessage( const QString &title, const QString &messag
/*!
\brief For convinience, for showing a dialog box with the default title "UniversalIndentGUI".
*/
-void UiGuiErrorMessage::showMessage( const QString &message ) {
+void UiGuiErrorMessage::showMessage( const TQString &message ) {
showMessage( "UniversalIndentGUI", message );
}