From 9c02dbb59ce57c68dc177d9294b980bf114a3e11 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 24 Jul 2013 15:59:03 -0500 Subject: Update to TDE R14 API --- doc/html/kfeedback_8h-source.html | 82 +++++++++++++++++++-------------------- 1 file changed, 41 insertions(+), 41 deletions(-) (limited to 'doc/html/kfeedback_8h-source.html') diff --git a/doc/html/kfeedback_8h-source.html b/doc/html/kfeedback_8h-source.html index c33797e..1f93c79 100644 --- a/doc/html/kfeedback_8h-source.html +++ b/doc/html/kfeedback_8h-source.html @@ -35,8 +35,8 @@ 00018 #include <config.h> 00019 #endif 00020 -00021 #include <qlistview.h> -00022 #include <qvbox.h> +00021 #include <ntqlistview.h> +00022 #include <ntqvbox.h> 00023 #include <kdialogbase.h> 00024 00025 @@ -49,7 +49,7 @@ 00032 class KFeedbackQuestionList; 00033 class KFeedbackQuestion; 00034 class KFeedbackAnswer; -00035 class QMultiLineEdit; +00035 class TQMultiLineEdit; 00036 00037 00042 class KFeedbackDialog: public KDialogBase @@ -58,8 +58,8 @@ 00045 00046 public: 00047 -00051 KFeedbackDialog( const QString & feedbackMailAddress, -00052 const QString & helpTopic = QString::null ); +00051 KFeedbackDialog( const TQString & feedbackMailAddress, +00052 const TQString & helpTopic = TQString::null ); 00053 00054 00058 virtual ~KFeedbackDialog(); @@ -83,13 +83,13 @@ 00089 }; 00090 00091 -00098 class KFeedbackForm: public QVBox +00098 class KFeedbackForm: public TQVBox 00099 { 00100 Q_OBJECT 00101 00102 public: -00106 KFeedbackForm( const QString & feedbackMailAddress, -00107 QWidget * parent ); +00106 KFeedbackForm( const TQString & feedbackMailAddress, +00107 TQWidget * parent ); 00108 00112 virtual ~KFeedbackForm(); 00113 @@ -118,41 +118,41 @@ 00168 00169 protected: 00170 -00174 QString formatComment(); +00174 TQString formatComment(); 00175 00176 -00177 QString _feedbackMailAddress; +00177 TQString _feedbackMailAddress; 00178 KFeedbackQuestionList * _questionList; -00179 QMultiLineEdit * _comment; +00179 TQMultiLineEdit * _comment; 00180 }; 00181 00182 00183 -00187 class KFeedbackQuestionList: public QListView +00187 class KFeedbackQuestionList: public TQListView 00188 { 00189 Q_OBJECT 00190 00191 public: 00192 -00196 KFeedbackQuestionList( QWidget *parent ); +00196 KFeedbackQuestionList( TQWidget *parent ); 00197 00201 virtual ~KFeedbackQuestionList(); 00202 00207 virtual bool isComplete(); 00208 -00212 QString result(); +00212 TQString result(); 00213 -00231 KFeedbackQuestion * addQuestion( const QString & text, -00232 const QString & id, +00231 KFeedbackQuestion * addQuestion( const TQString & text, +00232 const TQString & id, 00233 bool exclusiveAnswer = true, 00234 bool required = false ); 00235 -00239 void addYesNoQuestion( const QString & text, -00240 const QString & id, +00239 void addYesNoQuestion( const TQString & text, +00240 const TQString & id, 00241 bool required = false ); 00242 00247 KFeedbackQuestion * firstQuestion() const -00248 { return (KFeedbackQuestion *) QListView::firstChild(); } +00248 { return (KFeedbackQuestion *) TQListView::firstChild(); } 00249 00255 void questionAnswered(); 00256 @@ -163,83 +163,83 @@ 00269 }; 00270 00271 -00275 class KFeedbackQuestion: public QCheckListItem +00275 class KFeedbackQuestion: public TQCheckListItem 00276 { 00277 public: 00278 00300 KFeedbackQuestion( KFeedbackQuestionList * parent, -00301 const QString & text, -00302 const QString & id, +00301 const TQString & text, +00302 const TQString & id, 00303 bool exclusiveAnswer = true, 00304 bool required = false, 00305 bool open = true ); 00306 -00313 void addAnswer( const QString & text, -00314 const QString & id ); +00313 void addAnswer( const TQString & text, +00314 const TQString & id ); 00315 00319 bool isRequired() { return _required; } 00320 00324 bool isAnswered(); 00325 -00334 QString result(); +00334 TQString result(); 00335 -00339 QString id() { return _id; } +00339 TQString id() { return _id; } 00340 -00344 QString text(); +00344 TQString text(); 00345 00349 bool exclusiveAnswer() { return _exclusiveAnswer; } 00350 00351 -00357 virtual QString key( int column, bool ascending ) const; +00357 virtual TQString key( int column, bool ascending ) const; 00358 00362 KFeedbackQuestion * nextQuestion() const -00363 { return (KFeedbackQuestion *) QListViewItem::nextSibling(); } +00363 { return (KFeedbackQuestion *) TQListViewItem::nextSibling(); } 00364 00369 KFeedbackAnswer * firstAnswer() const -00370 { return (KFeedbackAnswer *) QListViewItem::firstChild(); } +00370 { return (KFeedbackAnswer *) TQListViewItem::firstChild(); } 00371 00376 KFeedbackQuestionList * questionList() const; 00377 00378 00379 protected: 00380 -00381 QString _id; +00381 TQString _id; 00382 bool _exclusiveAnswer; 00383 bool _required; 00384 int _no; 00385 }; 00386 00387 -00388 class KFeedbackAnswer: public QCheckListItem +00388 class KFeedbackAnswer: public TQCheckListItem 00389 { 00390 public: 00397 KFeedbackAnswer( KFeedbackQuestion * parent, -00398 const QString & text, -00399 const QString & id, +00398 const TQString & text, +00399 const TQString & id, 00400 bool exclusive = true ); 00401 -00405 QString id() { return _id; } +00405 TQString id() { return _id; } 00406 -00410 QString text(); +00410 TQString text(); 00411 00415 bool isExclusive() { return _exclusive; } 00416 -00420 bool isChecked() { return QCheckListItem::isOn(); } +00420 bool isChecked() { return TQCheckListItem::isOn(); } 00421 00425 KFeedbackAnswer * nextAnswer() const -00426 { return (KFeedbackAnswer *) QListViewItem::nextSibling(); } +00426 { return (KFeedbackAnswer *) TQListViewItem::nextSibling(); } 00427 00431 KFeedbackQuestion * question() const -00432 { return (KFeedbackQuestion *) QListViewItem::parent(); } +00432 { return (KFeedbackQuestion *) TQListViewItem::parent(); } 00433 -00439 virtual QString key( int column, bool ascending ) const; +00439 virtual TQString key( int column, bool ascending ) const; 00440 00441 00449 virtual void stateChange( bool newState ); 00450 00451 protected: 00452 -00453 QString _id; +00453 TQString _id; 00454 bool _exclusive; 00455 int _no; 00456 }; -- cgit v1.2.1