diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:15:35 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:15:35 -0600 |
commit | f78eb03afb8c9a380985d26286afc40b4c89b292 (patch) | |
tree | 3c087e2f119e645c902958c3bc3c802abf078ad0 /languages/kjssupport/kjsproblems.cpp | |
parent | da1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff) | |
download | tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'languages/kjssupport/kjsproblems.cpp')
-rw-r--r-- | languages/kjssupport/kjsproblems.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/languages/kjssupport/kjsproblems.cpp b/languages/kjssupport/kjsproblems.cpp index 31882e7c..1a13870e 100644 --- a/languages/kjssupport/kjsproblems.cpp +++ b/languages/kjssupport/kjsproblems.cpp @@ -20,17 +20,17 @@ #include "kjssupport_part.h" #include <kiconloader.h> -class KJSProblemItem: public KListViewItem +class KJSProblemItem: public TDEListViewItem { public: 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 ) + : TDEListViewItem( parent, level, problem, file, line, 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 ) + : TDEListViewItem( parent, level, problem, file, line, column ) {} int compare( TQListViewItem* item, int column, bool ascending ) const @@ -43,12 +43,12 @@ class KJSProblemItem: public KListViewItem return 0; return( a > b ? 1 : -1 ); } - return KListViewItem::compare( item, column, ascending ); + return TDEListViewItem::compare( item, column, ascending ); } }; -KJSProblems::KJSProblems(kjsSupportPart *part, TQWidget *parent, const char *name) : KListView(parent,name), m_part(part) +KJSProblems::KJSProblems(kjsSupportPart *part, TQWidget *parent, const char *name) : TDEListView(parent,name), m_part(part) { addColumn ("File"); addColumn ("Line #"); |