summaryrefslogtreecommitdiffstats
path: root/buildtools/qmake/trollprojectwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/qmake/trollprojectwidget.h')
-rw-r--r--buildtools/qmake/trollprojectwidget.h55
1 files changed, 28 insertions, 27 deletions
diff --git a/buildtools/qmake/trollprojectwidget.h b/buildtools/qmake/trollprojectwidget.h
index 7983f4d7..9c5fac62 100644
--- a/buildtools/qmake/trollprojectwidget.h
+++ b/buildtools/qmake/trollprojectwidget.h
@@ -41,9 +41,10 @@ class TrollProjectPart;
class KListView;
class ProjectConfigurationDlg;
-class TrollProjectWidget : public QVBox
+class TrollProjectWidget : public TQVBox
{
Q_OBJECT
+ TQ_OBJECT
public:
TrollProjectWidget( TrollProjectPart *part );
@@ -93,7 +94,7 @@ public:
enum TrollProjectView { SubprojectView, DetailsView };
void setLastFocusedView( TrollProjectView view );
enum SaveType { AlwaysSave, NeverSave, Ask };
- QMakeScopeItem* currentSubproject();
+ TQMakeScopeItem* currentSubproject();
bool showFilenamesOnly() const;
bool showVariablesInTree() const;
@@ -131,43 +132,43 @@ private slots:
void slotDetailsExecuted( TQListViewItem *item );
void slotDetailsContextMenu( KListView *, TQListViewItem *item, const TQPoint &p );
void slotExcludeFileFromScopeButton();
- void slotAddSubproject( QMakeScopeItem *spitem = 0 );
- void slotRemoveSubproject( QMakeScopeItem *spitem = 0 );
- void slotCreateScope( QMakeScopeItem *spitem = 0 );
- void slotRemoveScope( QMakeScopeItem *spitem = 0 );
- void slotDisableSubproject( QMakeScopeItem* spitem = 0 );
+ void slotAddSubproject( TQMakeScopeItem *spitem = 0 );
+ void slotRemoveSubproject( TQMakeScopeItem *spitem = 0 );
+ void slotCreateScope( TQMakeScopeItem *spitem = 0 );
+ void slotRemoveScope( TQMakeScopeItem *spitem = 0 );
+ void slotDisableSubproject( TQMakeScopeItem* spitem = 0 );
void slotProjectDirty( const TQString& );
- void createQMakeScopeItems();
+ void createTQMakeScopeItems();
private:
- void cleanDetailView( QMakeScopeItem *item );
- void runClean( QMakeScopeItem*, const TQString& );
- void buildProjectDetailTree( QMakeScopeItem *item, KListView *listviewControl );
- void removeFile( QMakeScopeItem *spitem, FileItem *fitem );
- void addSubprojectToItem( QMakeScopeItem*, const TQString& );
+ void cleanDetailView( TQMakeScopeItem *item );
+ void runClean( TQMakeScopeItem*, const TQString& );
+ void buildProjectDetailTree( TQMakeScopeItem *item, KListView *listviewControl );
+ void removeFile( TQMakeScopeItem *spitem, FileItem *fitem );
+ void addSubprojectToItem( TQMakeScopeItem*, const TQString& );
void setupContext();
- // void parseScope(QMakeScopeItem *item,TQString scopeString, Scope *scope);
- GroupItem* getInstallRoot( QMakeScopeItem *item );
- GroupItem* getInstallObject( QMakeScopeItem *item, const TQString& objectname );
+ // void parseScope(TQMakeScopeItem *item,TQString scopeString, Scope *scope);
+ GroupItem* getInstallRoot( TQMakeScopeItem *item );
+ GroupItem* getInstallObject( TQMakeScopeItem *item, const TQString& objectname );
TQString constructMakeCommandLine( Scope* s = 0 );
- void createMakefileIfMissing( const TQString &dir, QMakeScopeItem *item );
+ void createMakefileIfMissing( const TQString &dir, TQMakeScopeItem *item );
- void runQMakeRecursive( QMakeScopeItem* proj);
- void buildFile( QMakeScopeItem* spitem, FileItem* fitem);
+ void runTQMakeRecursive( TQMakeScopeItem* proj);
+ void buildFile( TQMakeScopeItem* spitem, FileItem* fitem);
/*fileName: full base file name like TQFileInfo::baseName ( true )*/
- TQPtrList<QMakeScopeItem> findSubprojectForFile( TQFileInfo fi );
- void findSubprojectForFile( TQPtrList<QMakeScopeItem> &list, QMakeScopeItem * item, TQString absFilePath );
- QMakeScopeItem* findSubprojectForPath( const TQString& );
+ TQPtrList<TQMakeScopeItem> findSubprojectForFile( TQFileInfo fi );
+ void findSubprojectForFile( TQPtrList<TQMakeScopeItem> &list, TQMakeScopeItem * item, TQString absFilePath );
+ TQMakeScopeItem* findSubprojectForPath( const TQString& );
// TQString makeEnvironment();
TrollProjectWidget::SaveType dialogSaveBehaviour() const;
- QMakeScopeItem *findSubprojectForScope( QMakeScopeItem *scope );
+ TQMakeScopeItem *findSubprojectForScope( TQMakeScopeItem *scope );
- void reloadProjectFromFile( QMakeScopeItem* item );
+ void reloadProjectFromFile( TQMakeScopeItem* item );
TQMap<TQString,TQString> qmakeEnvironment() const;
TQVBox *overviewContainer;
@@ -196,8 +197,8 @@ private:
TQToolButton *excludeFileFromScopeButton;
DomUtil::PairList m_subclasslist;
- QMakeScopeItem *m_shownSubproject;
- QMakeScopeItem *m_rootSubproject;
+ TQMakeScopeItem *m_shownSubproject;
+ TQMakeScopeItem *m_rootSubproject;
Scope* m_rootScope;
TrollProjectPart *m_part;
ProjectConfigurationDlg* m_configDlg;
@@ -215,4 +216,4 @@ private:
#endif
-// kate: space-indent on; indent-width 4; tab-width 4; replace-tabs on
+// kate: space-indent on; indent-width 4; tab-width 4; tqreplace-tabs on