diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /buildtools/autotools/autosubprojectview.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-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 'buildtools/autotools/autosubprojectview.h')
-rw-r--r-- | buildtools/autotools/autosubprojectview.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/buildtools/autotools/autosubprojectview.h b/buildtools/autotools/autosubprojectview.h index e49caddd..81c772dc 100644 --- a/buildtools/autotools/autosubprojectview.h +++ b/buildtools/autotools/autosubprojectview.h @@ -16,7 +16,7 @@ #ifndef AUTOSUBPROJECTVIEW_H #define AUTOSUBPROJECTVIEW_H -#include <qwidget.h> +#include <tqwidget.h> #include "autoprojectviewbase.h" @@ -31,23 +31,23 @@ class KListView; namespace AutoProjectPrivate { - bool isHeader( const QString& fileName ); + bool isHeader( const TQString& fileName ); } //with protected inheritance gcc 3.2.3 complains in autoprojectwidget.cpp, line 116 -//that it cannot access the base class QObject (for the connect() call), +//that it cannot access the base class TQObject (for the connect() call), //so in order to be able to compile this file I made the inheritance public again, Alex class AutoSubprojectView : public AutoProjectViewBase { Q_OBJECT public: - AutoSubprojectView( AutoProjectWidget* widget, AutoProjectPart* part, QWidget *parent, const char *name ); + AutoSubprojectView( AutoProjectWidget* widget, AutoProjectPart* part, TQWidget *parent, const char *name ); virtual ~AutoSubprojectView(); public: - void loadMakefileams ( const QString& dir ); + void loadMakefileams ( const TQString& dir ); void parse( SubprojectItem *item ); KListView* listView() const @@ -58,29 +58,29 @@ public: TargetItem *findNoinstHeaders( SubprojectItem *item ); signals: - void selectionChanged( QListViewItem* ); + void selectionChanged( TQListViewItem* ); protected: void initActions (); void parseKDEDOCS( SubprojectItem *item, - const QString &lhs, const QString &rhs ); + const TQString &lhs, const TQString &rhs ); void parseKDEICON( SubprojectItem *item, - const QString &lhs, const QString &rhs ); + const TQString &lhs, const TQString &rhs ); void parsePrimary( SubprojectItem *item, - const QString &lhs, const QString &rhs ); + const TQString &lhs, const TQString &rhs ); void parsePrefix( SubprojectItem *item, - const QString &lhs, const QString &rhs ); + const TQString &lhs, const TQString &rhs ); void parseSUBDIRS( SubprojectItem *item, - const QString &lhs, const QString &rhs ); - virtual void focusOutEvent( QFocusEvent *e ); - void expandCollapse( QListViewItem * item, bool expand ); - void expandCollapseFirst( QListViewItem * item, bool expand ); + const TQString &lhs, const TQString &rhs ); + virtual void focusOutEvent( TQFocusEvent *e ); + void expandCollapse( TQListViewItem * item, bool expand ); + void expandCollapseFirst( TQListViewItem * item, bool expand ); private: AutoProjectWidget* m_widget; AutoProjectPart* m_part; - QStringList headers; + TQStringList headers; bool m_kdeMode; @@ -100,13 +100,13 @@ private: KAction* expandAction; KAction* collapseAction; - QStringList m_commandList; - QValueList<int> m_commandTypeList; + TQStringList m_commandList; + TQValueList<int> m_commandTypeList; private slots: - void slotContextMenu( KListView *, QListViewItem *item, const QPoint &p ); - //void slotSubprojectExecuted(QListViewItem* item); - void slotSelectionChanged( QListViewItem* item ); + void slotContextMenu( KListView *, TQListViewItem *item, const TQPoint &p ); + //void slotSubprojectExecuted(TQListViewItem* item); + void slotSelectionChanged( TQListViewItem* item ); void slotAddApplication(); void slotSubprojectOptions(); void slotAddSubproject(); |