summaryrefslogtreecommitdiffstats
path: root/src/libgui/project_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/project_manager.h')
-rw-r--r--src/libgui/project_manager.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/libgui/project_manager.h b/src/libgui/project_manager.h
index 2939f33..6151713 100644
--- a/src/libgui/project_manager.h
+++ b/src/libgui/project_manager.h
@@ -24,8 +24,9 @@ namespace ProjectManager
class View : public ListView
{
Q_OBJECT
+ TQ_OBJECT
public:
- View(QWidget *parent);
+ View(TQWidget *tqparent);
virtual ~View();
bool editProject();
@@ -43,7 +44,7 @@ public:
void removeFile(const PURL::Url &url);
void select(const Editor *e);
void insertFile(const PURL::Url &url);
- bool contains(const PURL::Url &url) const { return findFileItem(url); }
+ bool tqcontains(const PURL::Url &url) const { return findFileItem(url); }
void addExternalFile(const PURL::Url &url, FileOrigin fileOrigin);
bool isExternalFile(const PURL::Url &url) const;
void removeExternalFiles();
@@ -60,9 +61,9 @@ public slots:
private slots:
void init();
- void contextMenu(QListViewItem *item, const QPoint &pos, int column);
- void clicked(int button, QListViewItem *item, const QPoint &pos, int column);
- void renamed(QListViewItem *item, int column, const QString &text);
+ void contextMenu(TQListViewItem *item, const TQPoint &pos, int column);
+ void clicked(int button, TQListViewItem *item, const TQPoint &pos, int column);
+ void renamed(TQListViewItem *item, int column, const TQString &text);
void modified(const PURL::Url &url);
void filesReordered();
@@ -77,9 +78,9 @@ private:
class ProjectData {
public:
PURL::FileType type;
- QMap<PURL::Url, FileOrigin> externals;
+ TQMap<PURL::Url, FileOrigin> externals;
};
- QMap<PURL::Url, ProjectData> _standaloneData;
+ TQMap<PURL::Url, ProjectData> _standaloneData;
ProjectData _projectData;
bool _modified;
@@ -87,13 +88,13 @@ private:
HeaderItem *headerItem(Group group);
FileItem *findFileItem(const PURL::Url &url) const;
FileItem *findFileItem(PURL::FileType type) const;
- QListViewItem *findItem(const QString &name) const;
- virtual QDragObject *dragObject();
- virtual bool acceptDrag(QDropEvent* e) const;
- virtual QString tooltip(QListViewItem *item, int col) const;
+ TQListViewItem *findItem(const TQString &name) const;
+ virtual TQDragObject *dragObject();
+ virtual bool acceptDrag(TQDropEvent* e) const;
+ virtual TQString tooltip(TQListViewItem *item, int col) const;
void addExternalFiles();
- void rightClicked(QListViewItem *item, const QPoint &pos);
- void leftClicked(QListViewItem *item);
+ void rightClicked(TQListViewItem *item, const TQPoint &pos);
+ void leftClicked(TQListViewItem *item);
void addFile(const PURL::Url &url, PURL::FileType type, FileOrigin origin);
void setProject(Project *project);
void initListView();