summaryrefslogtreecommitdiffstats
path: root/languages/cpp/problemreporter.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
commitf78eb03afb8c9a380985d26286afc40b4c89b292 (patch)
tree3c087e2f119e645c902958c3bc3c802abf078ad0 /languages/cpp/problemreporter.h
parentda1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff)
downloadtdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz
tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'languages/cpp/problemreporter.h')
-rw-r--r--languages/cpp/problemreporter.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/languages/cpp/problemreporter.h b/languages/cpp/problemreporter.h
index 79a1b77f..2a8bf10a 100644
--- a/languages/cpp/problemreporter.h
+++ b/languages/cpp/problemreporter.h
@@ -36,31 +36,31 @@ class KDialogBase;
class Problem;
class KURL;
-class EfficientKListView {
+class EfficientTDEListView {
public:
typedef __gnu_cxx::hash_multimap<HashedString, TQListViewItem*> Map;
typedef std::pair< Map::const_iterator, Map::const_iterator > Range;
- EfficientKListView( KListView* list = 0 ) : m_list( list ), m_insertionNumber( 0 ) {
+ EfficientTDEListView( TDEListView* list = 0 ) : m_list( list ), m_insertionNumber( 0 ) {
}
- EfficientKListView& operator = ( KListView* list ) {
+ EfficientTDEListView& operator = ( TDEListView* list ) {
m_list = list;
return *this;
}
- operator KListView* () {
+ operator TDEListView* () {
return m_list;
}
- operator const KListView* () const {
+ operator const TDEListView* () const {
return m_list;
}
- KListView* operator -> () {
+ TDEListView* operator -> () {
return m_list;
}
- const KListView* operator -> () const {
+ const TDEListView* operator -> () const {
return m_list;
}
@@ -88,7 +88,7 @@ private:
Map m_map;
typedef __gnu_cxx::hash_map<HashedString, int> InsertionMap;
InsertionMap m_insertionNumbers; //This is used to count which file was inserted first(higher insertion-number -> inserted later)
- KListView* m_list;
+ TDEListView* m_list;
};
namespace KParts
@@ -128,21 +128,21 @@ private slots:
private:
TQString levelToString( int level ) const;
int levelToMarkType( int level ) const;
- void InitListView( KListView* listview );
- void filterList( KListView* listview, const TQString& level );
- void updateCurrentWith( EfficientKListView& listview, const TQString& level, const TQString& filename );
+ void InitListView( TDEListView* listview );
+ void filterList( TDEListView* listview, const TQString& level );
+ void updateCurrentWith( EfficientTDEListView& listview, const TQString& level, const TQString& filename );
private:
TQGridLayout* m_gridLayout;
TQTabBar* m_tabBar;
TQWidgetStack* m_widgetStack;
- KListView* m_currentList;
+ TDEListView* m_currentList;
TQTimer* m_initCurrentTimer;
- EfficientKListView m_errorList;
- EfficientKListView m_fixmeList;
- EfficientKListView m_todoList;
- EfficientKListView m_warningList;
- KListView* m_filteredList;
+ EfficientTDEListView m_errorList;
+ EfficientTDEListView m_fixmeList;
+ EfficientTDEListView m_todoList;
+ EfficientTDEListView m_warningList;
+ TDEListView* m_filteredList;
KLineEdit* m_filterEdit;
CppSupportPart* m_cppSupport;