summaryrefslogtreecommitdiffstats
path: root/kshowmail/kfeedback.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kshowmail/kfeedback.cpp')
-rw-r--r--kshowmail/kfeedback.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kshowmail/kfeedback.cpp b/kshowmail/kfeedback.cpp
index 7a9a7fb..431dfde 100644
--- a/kshowmail/kfeedback.cpp
+++ b/kshowmail/kfeedback.cpp
@@ -42,7 +42,7 @@ KFeedbackDialog::KFeedbackDialog( const TQString & feedbackMailAddress, const TQ
setHelp( helpTopic );
_form = new KFeedbackForm( feedbackMailAddress, plainPage() );
- CHECK_PTR( _form );
+ TQ_CHECK_PTR( _form );
layout->addWidget( _form );
checkSendButton();
@@ -96,7 +96,7 @@ KFeedbackForm::KFeedbackForm( const TQString & feedbackMailAddress,
//
_questionList = new KFeedbackQuestionList( this );
- CHECK_PTR( _questionList );
+ TQ_CHECK_PTR( _questionList );
connect( _questionList, SIGNAL( checkComplete() ),
this, SLOT ( slotCheckComplete() ) );
@@ -107,21 +107,21 @@ KFeedbackForm::KFeedbackForm( const TQString & feedbackMailAddress,
//
TQHBox * hbox = new TQHBox( this );
- CHECK_PTR( hbox );
+ TQ_CHECK_PTR( hbox );
TQSizePolicy pol( TQSizePolicy::Fixed, TQSizePolicy::Fixed ); // hor / vert
label = new TQLabel( i18n( "Questions marked with " ), hbox );
- CHECK_PTR( label );
+ TQ_CHECK_PTR( label );
label->setSizePolicy( pol );
label = new TQLabel( hbox );
- CHECK_PTR( label );
+ TQ_CHECK_PTR( label );
label->setPixmap( TDEGlobal::iconLoader()->loadIcon( "edit", TDEIcon::Small ) );
label->setSizePolicy( pol );
label = new TQLabel( i18n( " must be answered before a mail can be sent.") , hbox );
- CHECK_PTR( label );
+ TQ_CHECK_PTR( label );
label->setSizePolicy( pol );
new TQWidget( hbox ); // Fill any leftover space to the right.
@@ -131,8 +131,8 @@ KFeedbackForm::KFeedbackForm( const TQString & feedbackMailAddress,
// Free-text comment field
//
- label = new TQLabel( "\n" + i18n( "&Additional comments:" ), this ); CHECK_PTR( label );
- _comment = new TQMultiLineEdit( this ); CHECK_PTR( _comment );
+ label = new TQLabel( "\n" + i18n( "&Additional comments:" ), this ); TQ_CHECK_PTR( label );
+ _comment = new TQMultiLineEdit( this ); TQ_CHECK_PTR( _comment );
label->setBuddy( _comment );
#if (TQT_VERSION < 300)
@@ -293,7 +293,7 @@ KFeedbackQuestion* KFeedbackQuestionList::addQuestion( const TQString & text,
KFeedbackQuestion * question = new KFeedbackQuestion( this, text, id,
exclusiveAnswer,
required );
- CHECK_PTR( question );
+ TQ_CHECK_PTR( question );
return question;
}
@@ -308,7 +308,7 @@ KFeedbackQuestionList::addYesNoQuestion( const TQString & text,
KFeedbackQuestion * question = new KFeedbackQuestion( this, text, id,
true, // exclusive
required );
- CHECK_PTR( question );
+ TQ_CHECK_PTR( question );
question->addAnswer( i18n( "yes" ), "yes" );
question->addAnswer( i18n( "no" ), "no" );
}