diff options
Diffstat (limited to 'buildtools/autotools/autolistviewitems.h')
-rw-r--r-- | buildtools/autotools/autolistviewitems.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/buildtools/autotools/autolistviewitems.h b/buildtools/autotools/autolistviewitems.h index 0dece2a2..008fecc4 100644 --- a/buildtools/autotools/autolistviewitems.h +++ b/buildtools/autotools/autolistviewitems.h @@ -15,9 +15,9 @@ #ifndef AUTOLISTVIEWITEMS_H #define AUTOLISTVIEWITEMS_H -#include <qptrlist.h> +#include <tqptrlist.h> -#include <qlistview.h> +#include <tqlistview.h> class TargetItem; class FileItem; @@ -31,10 +31,10 @@ class ProjectItem : public QListViewItem public: enum Type { Subproject, Target, File }; - ProjectItem( Type type, QListView *parent, const QString &text ); - ProjectItem( Type type, ProjectItem *parent, const QString &text ); + ProjectItem( Type type, TQListView *parent, const TQString &text ); + ProjectItem( Type type, ProjectItem *parent, const TQString &text ); - void paintCell( QPainter *p, const QColorGroup &cg, + void paintCell( TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment ); void setBold( bool b ) { @@ -62,21 +62,21 @@ private: class SubprojectItem : public ProjectItem { public: - SubprojectItem( QListView *parent, const QString &text ); - SubprojectItem( SubprojectItem *parent, const QString &text ); + SubprojectItem( TQListView *parent, const TQString &text ); + SubprojectItem( SubprojectItem *parent, const TQString &text ); /** name of the directory */ - QString subdir; + TQString subdir; /** absolute path */ - QString path; + TQString path; /** mapping from prefix to path */ - QMap<QString, QString> prefixes; + TQMap<TQString, TQString> prefixes; /** mapping from variable name to value */ - QMap<QString, QString> variables; + TQMap<TQString, TQString> variables; /** list of targets */ - QPtrList<TargetItem> targets; + TQPtrList<TargetItem> targets; - QString relativePath(); + TQString relativePath(); private: void init(); @@ -99,28 +99,28 @@ class TargetItem : public ProjectItem public: //enum TargetKind { Program, Library, DataGroup, IconGroup, DocGroup }; - TargetItem( QListView *lv, bool group, const QString &text ); + TargetItem( TQListView *lv, bool group, const TQString &text ); // Target kind - not used currently //TargetKind kind; //! Name of target, e.g. foo - QString name; + TQString name; //! One of PROGRAMS, LIBRARIES, LTLIBRARIES, SCRIPTS, HEADERS, DATA, JAVA //! In addition to these automake primaries, we use KDEICON and KDEDOCS //! for am_edit magic - QString primary; + TQString primary; //! May be bin, pkglib, noinst, check, sbin, pkgdata, java... - QString prefix; + TQString prefix; //! Content of foo_SOURCES (or java_JAVA) assignment - QPtrList<FileItem> sources; + TQPtrList<FileItem> sources; //! Content of foo_LDFLAGS assignment - QString ldflags; + TQString ldflags; //! Content of foo_LDADD assignment - QString ldadd; + TQString ldadd; //! Content of foo_LIBADD assignment - QString libadd; + TQString libadd; //! Content of foo_DEPENDENCIES assignment - QString dependencies; + TQString dependencies; }; @@ -129,12 +129,12 @@ class FileItem : public ProjectItem { public: - FileItem( QListView *lv, const QString &text, bool set_is_subst = false ); + FileItem( TQListView *lv, const TQString &text, bool set_is_subst = false ); void changeSubstitution(); - void changeMakefileEntry( const QString& ); + void changeMakefileEntry( const TQString& ); - QString name; - QString uiFileLink; + TQString name; + TQString uiFileLink; const bool is_subst; }; |