diff options
Diffstat (limited to 'buildtools/autotools/autoprojectwidget.h')
-rw-r--r-- | buildtools/autotools/autoprojectwidget.h | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/buildtools/autotools/autoprojectwidget.h b/buildtools/autotools/autoprojectwidget.h index 0f4a8b13..6c578506 100644 --- a/buildtools/autotools/autoprojectwidget.h +++ b/buildtools/autotools/autoprojectwidget.h @@ -17,13 +17,13 @@ #ifndef _AUTOPROJECTWIDGET_H_ #define _AUTOPROJECTWIDGET_H_ -#include <qdict.h> -#include <qlistview.h> -#include <qmap.h> -#include <qvbox.h> -#include <qhbox.h> -#include <qlayout.h> -#include <qtoolbutton.h> +#include <tqdict.h> +#include <tqlistview.h> +#include <tqmap.h> +#include <tqvbox.h> +#include <tqhbox.h> +#include <tqlayout.h> +#include <tqtoolbutton.h> #include <kiconloader.h> #include <klocale.h> @@ -54,33 +54,33 @@ public: AutoProjectWidget( AutoProjectPart *part, bool kde ); ~AutoProjectWidget(); - void openProject( const QString &dirName ); + void openProject( const TQString &dirName ); void closeProject(); /** * A list of the (relative) names of all subprojects (== subdirectories) */ - QStringList allSubprojects(); + TQStringList allSubprojects(); /** * A list of all Subproject items in the overview KListView */ - QPtrList <SubprojectItem> allSubprojectItems(); + TQPtrList <SubprojectItem> allSubprojectItems(); /** * A list of the (relative) names of all libraries */ - QStringList allLibraries(); + TQStringList allLibraries(); /** * A list of all files that belong to the project **/ - QStringList allFiles(); + TQStringList allFiles(); /** * The top level directory of the project. **/ - QString projectDirectory() const; + TQString projectDirectory() const; /** * The directory of the currently shown subproject. */ - QString subprojectDirectory(); + TQString subprojectDirectory(); /** * Are we in KDE mode? */ @@ -93,12 +93,12 @@ public: * Sets the given target active. The argument is given * relative to the project directory. */ - void setActiveTarget( const QString &targetPath ); + void setActiveTarget( const TQString &targetPath ); /** * Returns the active target as path relative to * the project directory. */ - QString activeDirectory(); + TQString activeDirectory(); /** * Adds a file to the active target. @@ -106,12 +106,12 @@ public: * to the active target. * If it does contain "/" character(s), ... @todo .. add to appropriate target */ - void addFiles( const QStringList &list ); + void addFiles( const TQStringList &list ); /** * Removes the file fileName from the directory directory. * (not implemented currently) */ - void removeFiles( const QStringList &list ); + void removeFiles( const TQStringList &list ); /** * Returns the currently selected target. Returns 0 if @@ -134,13 +134,13 @@ public: /** * Creates a TargetItem instance without a parent item. */ - TargetItem *createTargetItem( const QString &name, - const QString &prefix, const QString &primary, + TargetItem *createTargetItem( const TQString &name, + const TQString &prefix, const TQString &primary, bool take = true ); /** * Creates a FileItem instance without a parent item. */ - FileItem *createFileItem( const QString &name, SubprojectItem *subproject ); + FileItem *createFileItem( const TQString &name, SubprojectItem *subproject ); /** * Returns the Subproject that contains the Active Target. The Active Target is a special target @@ -160,36 +160,36 @@ public: * absolute, or relative to the project directory. If no subproject item is found for the * path, null is returned. */ - SubprojectItem* subprojectItemForPath( const QString & path, bool pathIsAbsolute = false ); + SubprojectItem* subprojectItemForPath( const TQString & path, bool pathIsAbsolute = false ); /** * Returns the projectdir-relative path for a target item */ - QString pathForTarget( const TargetItem *item ) const; + TQString pathForTarget( const TargetItem *item ) const; /** * Adds file fileName to target titem in subproject spitem */ - void addToTarget( const QString & fileName, SubprojectItem* spitem, TargetItem* titem ); + void addToTarget( const TQString & fileName, SubprojectItem* spitem, TargetItem* titem ); /** * Restores the last settings of the AutoProjectWidget */ - void restoreSession ( const QDomElement* el ); + void restoreSession ( const TQDomElement* el ); /** * Saves the latest changes of the AutoProjectWidget to the session file. */ - void saveSession ( QDomElement* el ); + void saveSession ( TQDomElement* el ); AutoSubprojectView* getSubprojectView (); AutoDetailsView* getDetailsView (); - void emitAddedFile ( const QString& name ); - void emitAddedFiles( const QStringList &fileList ); - void emitRemovedFile ( const QString& name ); - void emitRemovedFiles( const QStringList &fileList ); + void emitAddedFile ( const TQString& name ); + void emitAddedFiles( const TQStringList &fileList ); + void emitRemovedFile ( const TQString& name ); + void emitRemovedFiles( const TQStringList &fileList ); void parse( SubprojectItem *item ); @@ -199,14 +199,14 @@ public: MakefileHandler* makefileHandler(); public slots: - void slotOverviewSelectionChanged( QListViewItem *item ); + void slotOverviewSelectionChanged( TQListViewItem *item ); protected: - void initOverview ( QWidget* parent ); - void initDetailview ( QWidget* parent ); + void initOverview ( TQWidget* parent ); + void initDetailview ( TQWidget* parent ); void initActions (); - virtual void focusInEvent( QFocusEvent *e ); + virtual void focusInEvent( TQFocusEvent *e ); private: |