diff options
Diffstat (limited to 'languages/kjssupport/kjsproblems.cpp')
-rw-r--r-- | languages/kjssupport/kjsproblems.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/languages/kjssupport/kjsproblems.cpp b/languages/kjssupport/kjsproblems.cpp index 20951af4..31882e7c 100644 --- a/languages/kjssupport/kjsproblems.cpp +++ b/languages/kjssupport/kjsproblems.cpp @@ -23,17 +23,17 @@ class KJSProblemItem: public KListViewItem { public: - KJSProblemItem( QListView* parent, const QString& level, const QString& problem, - const QString& file, const QString& line, const QString& column ) + KJSProblemItem( TQListView* parent, const TQString& level, const TQString& problem, + const TQString& file, const TQString& line, const TQString& column ) : KListViewItem( parent, level, problem, file, line, column ) {} - KJSProblemItem( QListViewItem* parent, const QString& level, const QString& problem, - const QString& file, const QString& line, const QString& column ) + KJSProblemItem( TQListViewItem* parent, const TQString& level, const TQString& problem, + const TQString& file, const TQString& line, const TQString& column ) : KListViewItem( parent, level, problem, file, line, column ) {} - int compare( QListViewItem* item, int column, bool ascending ) const + int compare( TQListViewItem* item, int column, bool ascending ) const { if( column == 2 || column == 3 ) { @@ -48,7 +48,7 @@ class KJSProblemItem: public KListViewItem }; -KJSProblems::KJSProblems(kjsSupportPart *part, QWidget *parent, const char *name) : KListView(parent,name), m_part(part) +KJSProblems::KJSProblems(kjsSupportPart *part, TQWidget *parent, const char *name) : KListView(parent,name), m_part(part) { addColumn ("File"); addColumn ("Line #"); @@ -68,9 +68,9 @@ void KJSProblems::clearItems() setIcon( SmallIcon("info") ); } -void KJSProblems::addLine(const QString &file, int lineNo, const QString &message) +void KJSProblems::addLine(const TQString &file, int lineNo, const TQString &message) { - new QListViewItem( this, file, QString::number( lineNo ), message); + new TQListViewItem( this, file, TQString::number( lineNo ), message); setIcon( SmallIcon("error") ); } |