diff options
Diffstat (limited to 'parts/fileview/filetreewidget.h')
-rw-r--r-- | parts/fileview/filetreewidget.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/parts/fileview/filetreewidget.h b/parts/fileview/filetreewidget.h index 53dc77d3..f9608029 100644 --- a/parts/fileview/filetreewidget.h +++ b/parts/fileview/filetreewidget.h @@ -14,7 +14,7 @@ #ifndef _FILETREEWIDGET_H_ #define _FILETREEWIDGET_H_ -#include <qguardedptr.h> +#include <tqguardedptr.h> #include <kfiletreeview.h> #include <kdevversioncontrol.h> @@ -48,20 +48,20 @@ class FileTreeWidget : public KFileTreeView { Q_OBJECT public: - FileTreeWidget( FileViewPart *part, QWidget *parent, KDevVCSFileInfoProvider *infoProvider ); + FileTreeWidget( FileViewPart *part, TQWidget *parent, KDevVCSFileInfoProvider *infoProvider ); virtual ~FileTreeWidget(); - void openDirectory(const QString &dirName); + void openDirectory(const TQString &dirName); bool shouldBeShown( KFileTreeViewItem* item ); - QString projectDirectory(); - bool isInProject(const QString &fileName) const; + TQString projectDirectory(); + bool isInProject(const TQString &fileName) const; FileViewPart *part() const { return m_part; } //KDevVCSFileInfoProvider *vcsFileInfoProvider() const; - void applyHidePatterns( const QString &hidePatterns ); - QString hidePatterns() const; + void applyHidePatterns( const TQString &hidePatterns ); + TQString hidePatterns() const; bool showNonProjectFiles() const; @@ -70,23 +70,23 @@ public slots: private slots: - void slotItemExecuted(QListViewItem *item); - void slotContextMenu(KListView *, QListViewItem *item, const QPoint &p); + void slotItemExecuted(TQListViewItem *item); + void slotContextMenu(KListView *, TQListViewItem *item, const TQPoint &p); - void changeActiveDirectory( const QString&, const QString& ); + void changeActiveDirectory( const TQString&, const TQString& ); void finishPopulate(KFileTreeViewItem* item); - void addProjectFiles( QStringList const & fileList, bool constructing = false ); - void removeProjectFiles( QStringList const & fileList ); + void addProjectFiles( TQStringList const & fileList, bool constructing = false ); + void removeProjectFiles( TQStringList const & fileList ); //! We must guard against unloading the used VCS plug-in when using it: we //! fall back to the implementation (a file view without VCS fields, only filenames) void slotImplementationInvalidated(); private: - bool matchesHidePattern(const QString &fileName); + bool matchesHidePattern(const TQString &fileName); KDevVersionControl *versionControl() const; - QStringList m_hidePatterns; + TQStringList m_hidePatterns; /** * @brief Set of all the files in this project. * @@ -99,13 +99,13 @@ private: * but rather a map with next-to-useless element value, * keyed by names of files. * QT3 does not seem to have a set datatype, - * thus we use the QMap type instead. + * thus we use the TQMap type instead. */ - QMap<QString, bool> m_projectFiles; + TQMap<TQString, bool> m_projectFiles; FileViewPart *m_part; KFileTreeBranch *m_rootBranch; - QGuardedPtr<FileTreeViewWidgetImpl> m_impl; + TQGuardedPtr<FileTreeViewWidgetImpl> m_impl; }; #endif |