diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-14 21:11:26 -0600 | 
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-14 21:11:26 -0600 | 
| commit | 41779dbbbd65199ac139aa5e06a88cb3fcd296d3 (patch) | |
| tree | 1cd10bb7f625f1f37bdbdd13bad89a1a29bda12c /src | |
| parent | 2e9176145347f4d40399f54ccea4e386a5b759f5 (diff) | |
| download | kvpnc-41779dbbbd65199ac139aa5e06a88cb3fcd296d3.tar.gz kvpnc-41779dbbbd65199ac139aa5e06a88cb3fcd296d3.zip  | |
Update various qt function definitions and static methods for tqt3
Diffstat (limited to 'src')
| -rw-r--r-- | src/kfeedback.cpp | 20 | 
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kfeedback.cpp b/src/kfeedback.cpp index b83e7cd..67ef633 100644 --- a/src/kfeedback.cpp +++ b/src/kfeedback.cpp @@ -42,7 +42,7 @@ KFeedbackDialog::KFeedbackDialog( const TQString & feedbackMailAddress,  	setHelp( helpTopic );      _form = new KFeedbackForm( feedbackMailAddress, plainPage() ); -    Q_CHECK_PTR( _form ); +    TQ_CHECK_PTR( _form );      layout->addWidget( _form );      checkSendButton(); @@ -96,7 +96,7 @@ KFeedbackForm::KFeedbackForm( const TQString &	feedbackMailAddress,      //      _questionList = new KFeedbackQuestionList( this ); -    Q_CHECK_PTR( _questionList ); +    TQ_CHECK_PTR( _questionList );      connect( _questionList, TQT_SIGNAL( checkComplete()     ),  	     this,	    TQT_SLOT  ( slotCheckComplete() ) ); @@ -107,21 +107,21 @@ KFeedbackForm::KFeedbackForm( const TQString &	feedbackMailAddress,      //      TQHBox * hbox = new TQHBox( this ); -    Q_CHECK_PTR( hbox ); +    TQ_CHECK_PTR( hbox );      TQSizePolicy pol( TQSizePolicy::Fixed, TQSizePolicy::Fixed ); // hor / vert      label = new TQLabel( i18n( "Questions marked with " ), hbox );  -    Q_CHECK_PTR( label ); +    TQ_CHECK_PTR( label );      label->setSizePolicy( pol );      label = new TQLabel( hbox ); -    Q_CHECK_PTR( label ); +    TQ_CHECK_PTR( label );      label->setPixmap( KGlobal::iconLoader()->loadIcon( "edit", KIcon::Small ) );      label->setSizePolicy( pol );      label = new TQLabel( i18n( " must be answered before a mail can be sent.") , hbox ); -    Q_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 );	Q_CHECK_PTR( label ); -    _comment = new TQMultiLineEdit( this );				Q_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 );      _comment->setWordWrap( TQMultiLineEdit::FixedColumnWidth ); @@ -290,7 +290,7 @@ KFeedbackQuestionList::addQuestion( const TQString & 	text,      KFeedbackQuestion * question = new KFeedbackQuestion( this, text, id,  							  exclusiveAnswer,  							  required ); -    Q_CHECK_PTR( question ); +    TQ_CHECK_PTR( question );      return question;  } @@ -305,7 +305,7 @@ KFeedbackQuestionList::addYesNoQuestion( const TQString & 	text,      KFeedbackQuestion * question = new KFeedbackQuestion( this, text, id,  							  true,	// exclusive  							  required ); -    Q_CHECK_PTR( question ); +    TQ_CHECK_PTR( question );      question->addAnswer( i18n( "yes" ), "yes" );      question->addAnswer( i18n( "no"  ), "no"  );  }  | 
