summaryrefslogtreecommitdiffstats
path: root/kompare/komparenavtreepart/komparenavtreepart.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:36 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:36 -0600
commit7716a5e605907a009e19f429cec4e6b5f346bd71 (patch)
tree16cf4a5d7a24db774f988022d514adefc75015c0 /kompare/komparenavtreepart/komparenavtreepart.h
parent0117fbed932653a04aeef16b2ed7edee858959ac (diff)
downloadtdesdk-7716a5e605907a009e19f429cec4e6b5f346bd71.tar.gz
tdesdk-7716a5e605907a009e19f429cec4e6b5f346bd71.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kompare/komparenavtreepart/komparenavtreepart.h')
-rw-r--r--kompare/komparenavtreepart/komparenavtreepart.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kompare/komparenavtreepart/komparenavtreepart.h b/kompare/komparenavtreepart/komparenavtreepart.h
index f535f676..b7df27b4 100644
--- a/kompare/komparenavtreepart/komparenavtreepart.h
+++ b/kompare/komparenavtreepart/komparenavtreepart.h
@@ -33,7 +33,7 @@
class KompareModelList;
class KomparePart;
-class KListView;
+class TDEListView;
namespace Diff2 {
class DiffModel;
@@ -88,10 +88,10 @@ private:
TQString compareFromEndAndReturnSame( const TQString& string1, const TQString& string2 );
void addDirToTreeView( enum Kompare::Target, const TQString& filename );
- KListViewItem* findDirInDirTree( const KListViewItem* parent, const TQString& dir );
+ TDEListViewItem* findDirInDirTree( const TDEListViewItem* parent, const TQString& dir );
-// KListViewItem* firstItem();
-// KListViewItem* lastItem();
+// TDEListViewItem* firstItem();
+// TDEListViewItem* lastItem();
private:
TQSplitter* m_splitter;
@@ -102,10 +102,10 @@ private:
TQPtrDict<KDirLVI> m_modelToSrcDirItemDict;
TQPtrDict<KDirLVI> m_modelToDestDirItemDict;
- KListView* m_srcDirTree;
- KListView* m_destDirTree;
- KListView* m_fileList;
- KListView* m_changesList;
+ TDEListView* m_srcDirTree;
+ TDEListView* m_destDirTree;
+ TDEListView* m_fileList;
+ TDEListView* m_changesList;
KDirLVI* m_srcRootItem;
KDirLVI* m_destRootItem;
@@ -122,10 +122,10 @@ private:
// These 3 classes are need to store the models into a tree so it is easier
// to extract the info we need for the navigation widgets
-class KChangeLVI : public KListViewItem
+class KChangeLVI : public TDEListViewItem
{
public:
- KChangeLVI( KListView* parent, Diff2::Difference* diff );
+ KChangeLVI( TDEListView* parent, Diff2::Difference* diff );
~KChangeLVI();
public:
Diff2::Difference* difference() { return m_difference; };
@@ -136,30 +136,30 @@ private:
Diff2::Difference* m_difference;
};
-class KFileLVI : public KListViewItem
+class KFileLVI : public TDEListViewItem
{
public:
- KFileLVI( KListView* parent, Diff2::DiffModel* model );
+ KFileLVI( TDEListView* parent, Diff2::DiffModel* model );
~KFileLVI();
public:
Diff2::DiffModel* model() { return m_model; };
- void fillChangesList( KListView* changesList, TQPtrDict<KChangeLVI>* diffToChangeItemDict );
+ void fillChangesList( TDEListView* changesList, TQPtrDict<KChangeLVI>* diffToChangeItemDict );
private:
Diff2::DiffModel* m_model;
};
-class KDirLVI : public KListViewItem
+class KDirLVI : public TDEListViewItem
{
public:
KDirLVI( KDirLVI* parent, TQString& dir );
- KDirLVI( KListView* parent, TQString& dir );
+ KDirLVI( TDEListView* parent, TQString& dir );
~KDirLVI();
public:
void addModel( TQString& dir, Diff2::DiffModel* model, TQPtrDict<KDirLVI>* modelToDirItemDict );
TQString& dirName() { return m_dirName; };
TQString fullPath( TQString& path );
KDirLVI* setSelected( TQString dir );
- void fillFileList( KListView* fileList, TQPtrDict<KFileLVI>* modelToFileItemDict );
+ void fillFileList( TDEListView* fileList, TQPtrDict<KFileLVI>* modelToFileItemDict );
bool isRootItem() { return m_rootItem; };
private:
KDirLVI* findChild( TQString dir );