diff options
Diffstat (limited to 'parts/filelist/projectviewpart.h')
-rw-r--r-- | parts/filelist/projectviewpart.h | 42 |
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; }; |