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/autolistviewitems.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/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; }; |