From a2ed8321f92fb758686153707bfe295f4e932e64 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 27 Oct 2018 23:55:07 +0900 Subject: Removed obsolete CHECK_PTR and replaced CHECK_PTR/Q_CHECK_PTR with TQ_CHECK_PTR. Signed-off-by: Michele Calgaro --- doc/html/kfeedback_8cpp-source.html | 20 ++++++++++---------- doc/html/kshowmailfeedback_8cpp-source.html | 2 +- kshowmail/kfeedback.cpp | 20 ++++++++++---------- kshowmail/kshowmailfeedback.cpp | 2 +- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/doc/html/kfeedback_8cpp-source.html b/doc/html/kfeedback_8cpp-source.html index 2906555..d99eb10 100644 --- a/doc/html/kfeedback_8cpp-source.html +++ b/doc/html/kfeedback_8cpp-source.html @@ -59,7 +59,7 @@ 00042 setHelp( helpTopic ); 00043 00044 _form = new KFeedbackForm( feedbackMailAddress, plainPage() ); -00045 CHECK_PTR( _form ); +00045 TQ_CHECK_PTR( _form ); 00046 00047 layout->addWidget( _form ); 00048 checkSendButton(); @@ -113,7 +113,7 @@ 00096 // 00097 00098 _questionList = new KFeedbackQuestionList( this ); -00099 CHECK_PTR( _questionList ); +00099 TQ_CHECK_PTR( _questionList ); 00100 00101 connect( _questionList, SIGNAL( checkComplete() ), 00102 this, SLOT ( slotCheckComplete() ) ); @@ -124,21 +124,21 @@ 00107 // 00108 00109 TQHBox * hbox = new TQHBox( this ); -00110 CHECK_PTR( hbox ); +00110 TQ_CHECK_PTR( hbox ); 00111 00112 TQSizePolicy pol( TQSizePolicy::Fixed, TQSizePolicy::Fixed ); // hor / vert 00113 00114 label = new TQLabel( i18n( "Questions marked with " ), hbox ); -00115 CHECK_PTR( label ); +00115 TQ_CHECK_PTR( label ); 00116 label->setSizePolicy( pol ); 00117 00118 label = new TQLabel( hbox ); -00119 CHECK_PTR( label ); +00119 TQ_CHECK_PTR( label ); 00120 label->setPixmap( TDEGlobal::iconLoader()->loadIcon( "edit", TDEIcon::Small ) ); 00121 label->setSizePolicy( pol ); 00122 00123 label = new TQLabel( i18n( " must be answered before a mail can be sent.") , hbox ); -00124 CHECK_PTR( label ); +00124 TQ_CHECK_PTR( label ); 00125 label->setSizePolicy( pol ); 00126 00127 new TQWidget( hbox ); // Fill any leftover space to the right. @@ -148,8 +148,8 @@ 00131 // Free-text comment field 00132 // 00133 -00134 label = new TQLabel( "\n" + i18n( "&Additional comments:" ), this ); CHECK_PTR( label ); -00135 _comment = new TQMultiLineEdit( this ); CHECK_PTR( _comment ); +00134 label = new TQLabel( "\n" + i18n( "&Additional comments:" ), this ); TQ_CHECK_PTR( label ); +00135 _comment = new TQMultiLineEdit( this ); TQ_CHECK_PTR( _comment ); 00136 00137 label->setBuddy( _comment ); 00138 #if (TQT_VERSION < 300) @@ -310,7 +310,7 @@ 00293 KFeedbackQuestion * question = new KFeedbackQuestion( this, text, id, 00294 exclusiveAnswer, 00295 required ); -00296 CHECK_PTR( question ); +00296 TQ_CHECK_PTR( question ); 00297 00298 return question; 00299 } @@ -325,7 +325,7 @@ 00308 KFeedbackQuestion * question = new KFeedbackQuestion( this, text, id, 00309 true, // exclusive 00310 required ); -00311 CHECK_PTR( question ); +00311 TQ_CHECK_PTR( question ); 00312 question->addAnswer( i18n( "yes" ), "yes" ); 00313 question->addAnswer( i18n( "no" ), "no" ); 00314 } diff --git a/doc/html/kshowmailfeedback_8cpp-source.html b/doc/html/kshowmailfeedback_8cpp-source.html index 7e502cb..d3a2365 100644 --- a/doc/html/kshowmailfeedback_8cpp-source.html +++ b/doc/html/kshowmailfeedback_8cpp-source.html @@ -40,7 +40,7 @@ 00023 void KShowMailApp::slotSendFeedbackMail() 00024 { 00025 KFeedbackDialog* feedbackDialog = new KFeedbackDialog( "eggert.ehmke@berlin.de", "feedback_mail" ); -00026 CHECK_PTR( feedbackDialog ); +00026 TQ_CHECK_PTR( feedbackDialog ); 00027 00028 KFeedbackQuestionList * list = feedbackDialog->form()->questionList(); 00029 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" ); } diff --git a/kshowmail/kshowmailfeedback.cpp b/kshowmail/kshowmailfeedback.cpp index 073e529..8bb995f 100644 --- a/kshowmail/kshowmailfeedback.cpp +++ b/kshowmail/kshowmailfeedback.cpp @@ -23,7 +23,7 @@ void KShowMailApp::slotSendFeedbackMail() { KFeedbackDialog* feedbackDialog = new KFeedbackDialog( "eggert.ehmke@berlin.de, ulrich.weigelt@gmx.de", "feedback_mail" ); - CHECK_PTR( feedbackDialog ); + TQ_CHECK_PTR( feedbackDialog ); KFeedbackQuestionList * list = feedbackDialog->form()->questionList(); -- cgit v1.2.3