summaryrefslogtreecommitdiffstats
path: root/parts/filelist/projectviewpart.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /parts/filelist/projectviewpart.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/filelist/projectviewpart.h')
-rw-r--r--parts/filelist/projectviewpart.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/parts/filelist/projectviewpart.h b/parts/filelist/projectviewpart.h
index dd928f8b..741c4534 100644
--- a/parts/filelist/projectviewpart.h
+++ b/parts/filelist/projectviewpart.h
@@ -23,9 +23,9 @@
#include "fileinfo.h"
-#include <qvaluelist.h>
-#include <qmap.h>
-#include <qguardedptr.h>
+#include <tqvaluelist.h>
+#include <tqmap.h>
+#include <tqguardedptr.h>
#include <kdevplugin.h>
#include <kurl.h>
@@ -58,40 +58,40 @@ class ProjectviewPart: public KDevPlugin
Q_OBJECT
public:
- typedef QMap<QString, FileInfoList> ViewMap;
-// typedef QMap<KURL, FileInfo> FileInfoMap;
+ typedef TQMap<TQString, FileInfoList> ViewMap;
+// typedef TQMap<KURL, FileInfo> FileInfoMap;
- ProjectviewPart(QObject *parent, const char *name, const QStringList &args);
+ ProjectviewPart(TQObject *parent, const char *name, const TQStringList &args);
~ProjectviewPart();
// reimplemented from KDevPlugin
- void restorePartialProjectSession(const QDomElement * el);
- void savePartialProjectSession(QDomElement * el);
+ void restorePartialProjectSession(const TQDomElement * el);
+ void savePartialProjectSession(TQDomElement * el);
/**
*
* @return the current defaut view
*/
- inline QString getDefaultView() const {return m_defaultProjectView;};
+ inline TQString getDefaultView() const {return m_defaultProjectView;};
/**
*
* @param view new default view
*/
- inline void setDefaultView(const QString& view) {m_defaultProjectView = view;};
+ inline void setDefaultView(const TQString& view) {m_defaultProjectView = view;};
/**
* get all current views
- * @return QStringList of defined views
+ * @return TQStringList of defined views
*/
- inline QStringList getViewList() const {return m_projectViews.keys();};
+ inline TQStringList getViewList() const {return m_projectViews.keys();};
private slots:
void init();
- void insertConfigWidget(const KDialogBase *dlg, QWidget *page, unsigned int pageNo);
- void contextMenu(QPopupMenu *popup, const Context *context);
+ void insertConfigWidget(const KDialogBase *dlg, TQWidget *page, unsigned int pageNo);
+ void contextMenu(TQPopupMenu *popup, const Context *context);
void projectOpened();
void projectClosed();
@@ -99,7 +99,7 @@ private slots:
*
* @param view name of the project view
*/
- void slotDeleteProjectView(const QString &view);
+ void slotDeleteProjectView(const TQString &view);
/**
* Deletes the current project view
@@ -121,7 +121,7 @@ private slots:
*
* @param view name of the project view
*/
- void slotOpenProjectView(const QString &view);
+ void slotOpenProjectView(const TQString &view);
private:
/**
@@ -152,15 +152,15 @@ private:
KSelectAction *m_openPrjViewAction;
KSelectAction *m_deletePrjViewAction;
- QString m_currentProjectView;
- QString m_defaultProjectView; // load this after project loaded
+ TQString m_currentProjectView;
+ TQString m_defaultProjectView; // load this after project loaded
KURL m_projectBase; // project base folder
ConfigWidgetProxy *m_configProxy;
- QGuardedPtr<QWidget> m_widget;
- QGuardedPtr<ToolbarGUIBuilder> m_guibuilder;
- QWidget * m_toolbarWidget;
+ TQGuardedPtr<TQWidget> m_widget;
+ TQGuardedPtr<ToolbarGUIBuilder> m_guibuilder;
+ TQWidget * m_toolbarWidget;
bool m_restored;
};