summaryrefslogtreecommitdiffstats
path: root/kompare/komparenavtreepart/komparenavtreepart.h
diff options
context:
space:
mode:
Diffstat (limited to 'kompare/komparenavtreepart/komparenavtreepart.h')
-rw-r--r--kompare/komparenavtreepart/komparenavtreepart.h66
1 files changed, 33 insertions, 33 deletions
diff --git a/kompare/komparenavtreepart/komparenavtreepart.h b/kompare/komparenavtreepart/komparenavtreepart.h
index e2563d63..a126cfe5 100644
--- a/kompare/komparenavtreepart/komparenavtreepart.h
+++ b/kompare/komparenavtreepart/komparenavtreepart.h
@@ -20,10 +20,10 @@
#ifndef KOMPARENAVTREEPART_H
#define KOMPARENAVTREEPART_H
-#include <qptrdict.h>
-#include <qptrlist.h>
-#include <qsplitter.h>
-#include <qlistview.h>
+#include <tqptrdict.h>
+#include <tqptrlist.h>
+#include <tqsplitter.h>
+#include <tqlistview.h>
#include <kparts/factory.h>
#include <kparts/part.h>
@@ -49,7 +49,7 @@ class KompareNavTreePart : public KParts::ReadOnlyPart
Q_OBJECT
public:
- KompareNavTreePart( QWidget* parent = 0L, const char* name = 0L );
+ KompareNavTreePart( TQWidget* parent = 0L, const char* name = 0L );
virtual ~KompareNavTreePart();
public:
@@ -66,10 +66,10 @@ signals:
void selectionChanged( const Diff2::Difference* diff );
private slots:
- void slotSrcDirTreeSelectionChanged ( QListViewItem* item );
- void slotDestDirTreeSelectionChanged( QListViewItem* item );
- void slotFileListSelectionChanged ( QListViewItem* item );
- void slotChangesListSelectionChanged( QListViewItem* item );
+ void slotSrcDirTreeSelectionChanged ( TQListViewItem* item );
+ void slotDestDirTreeSelectionChanged( TQListViewItem* item );
+ void slotFileListSelectionChanged ( TQListViewItem* item );
+ void slotChangesListSelectionChanged( TQListViewItem* item );
void slotApplyDifference( bool apply );
void slotApplyAllDifferences( bool apply );
@@ -84,22 +84,22 @@ private:
void buildDirectoryTree();
- QString compareFromEndAndReturnSame( const QString& string1, const QString& string2 );
- void addDirToTreeView( enum Kompare::Target, const QString& filename );
+ TQString compareFromEndAndReturnSame( const TQString& string1, const TQString& string2 );
+ void addDirToTreeView( enum Kompare::Target, const TQString& filename );
- KListViewItem* findDirInDirTree( const KListViewItem* parent, const QString& dir );
+ KListViewItem* findDirInDirTree( const KListViewItem* parent, const TQString& dir );
// KListViewItem* firstItem();
// KListViewItem* lastItem();
private:
- QSplitter* m_splitter;
+ TQSplitter* m_splitter;
const Diff2::DiffModelList* m_modelList;
- QPtrDict<KChangeLVI> m_diffToChangeItemDict;
- QPtrDict<KFileLVI> m_modelToFileItemDict;
- QPtrDict<KDirLVI> m_modelToSrcDirItemDict;
- QPtrDict<KDirLVI> m_modelToDestDirItemDict;
+ TQPtrDict<KChangeLVI> m_diffToChangeItemDict;
+ TQPtrDict<KFileLVI> m_modelToFileItemDict;
+ TQPtrDict<KDirLVI> m_modelToSrcDirItemDict;
+ TQPtrDict<KDirLVI> m_modelToDestDirItemDict;
KListView* m_srcDirTree;
KListView* m_destDirTree;
@@ -112,8 +112,8 @@ private:
const Diff2::DiffModel* m_selectedModel;
const Diff2::Difference* m_selectedDifference;
- QString m_source;
- QString m_destination;
+ TQString m_source;
+ TQString m_destination;
struct Kompare::Info* m_info;
};
@@ -128,7 +128,7 @@ public:
~KChangeLVI();
public:
Diff2::Difference* difference() { return m_difference; };
- virtual int compare( QListViewItem* item, int column, bool ascending ) const;
+ virtual int compare( TQListViewItem* item, int column, bool ascending ) const;
void setDifferenceText();
private:
@@ -142,7 +142,7 @@ public:
~KFileLVI();
public:
Diff2::DiffModel* model() { return m_model; };
- void fillChangesList( KListView* changesList, QPtrDict<KChangeLVI>* diffToChangeItemDict );
+ void fillChangesList( KListView* changesList, TQPtrDict<KChangeLVI>* diffToChangeItemDict );
private:
Diff2::DiffModel* m_model;
};
@@ -150,21 +150,21 @@ private:
class KDirLVI : public KListViewItem
{
public:
- KDirLVI( KDirLVI* parent, QString& dir );
- KDirLVI( KListView* parent, QString& dir );
+ KDirLVI( KDirLVI* parent, TQString& dir );
+ KDirLVI( KListView* parent, TQString& dir );
~KDirLVI();
public:
- void addModel( QString& dir, Diff2::DiffModel* model, QPtrDict<KDirLVI>* modelToDirItemDict );
- QString& dirName() { return m_dirName; };
- QString fullPath( QString& path );
- KDirLVI* setSelected( QString dir );
- void fillFileList( KListView* fileList, QPtrDict<KFileLVI>* modelToFileItemDict );
+ 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 );
bool isRootItem() { return m_rootItem; };
private:
- KDirLVI* findChild( QString dir );
+ KDirLVI* findChild( TQString dir );
private:
Diff2::DiffModelList m_modelList;
- QString m_dirName;
+ TQString m_dirName;
bool m_rootItem;
};
@@ -178,9 +178,9 @@ class KompareNavTreePartFactory : public KParts::Factory
public:
KompareNavTreePartFactory();
virtual ~KompareNavTreePartFactory();
- virtual KParts::Part* createPartObject( QWidget *parentWidget, const char *widgetName,
- QObject *parent, const char *name,
- const char *classname, const QStringList &args );
+ virtual KParts::Part* createPartObject( TQWidget *parentWidget, const char *widgetName,
+ TQObject *parent, const char *name,
+ const char *classname, const TQStringList &args );
static KInstance* instance();
private: