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/qmake/disablesubprojectdlg.cpp | |
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/qmake/disablesubprojectdlg.cpp')
-rw-r--r-- | buildtools/qmake/disablesubprojectdlg.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/buildtools/qmake/disablesubprojectdlg.cpp b/buildtools/qmake/disablesubprojectdlg.cpp index 335bf33f..c05c70c9 100644 --- a/buildtools/qmake/disablesubprojectdlg.cpp +++ b/buildtools/qmake/disablesubprojectdlg.cpp @@ -11,16 +11,16 @@ #include "disablesubprojectdlg.h" #include <klistview.h> -#include <qstringlist.h> +#include <tqstringlist.h> #include "scope.h" #include "qmakescopeitem.h" -DisableSubprojectDlg::DisableSubprojectDlg( const QStringList& projects, QWidget* parent, const char* name, WFlags fl ) +DisableSubprojectDlg::DisableSubprojectDlg( const TQStringList& projects, TQWidget* parent, const char* name, WFlags fl ) : DisableSubprojectDlgBase( parent, name, fl ) { - for( QStringList::const_iterator it = projects.begin(); it != projects.end(); ++it ) + for( TQStringList::const_iterator it = projects.begin(); it != projects.end(); ++it ) { - new QCheckListItem(subprojects_view, *it, QCheckListItem::CheckBox); + new TQCheckListItem(subprojects_view, *it, TQCheckListItem::CheckBox); } } @@ -28,13 +28,13 @@ DisableSubprojectDlg::~DisableSubprojectDlg() { } -QStringList DisableSubprojectDlg::selectedProjects() +TQStringList DisableSubprojectDlg::selectedProjects() { - QStringList result; - QListViewItem* item = subprojects_view->firstChild(); + TQStringList result; + TQListViewItem* item = subprojects_view->firstChild(); while( item ) { - QCheckListItem* ci = dynamic_cast<QCheckListItem*>(item); + TQCheckListItem* ci = dynamic_cast<TQCheckListItem*>(item); if( ci && ci->isOn() ) { result << ci->text(0); |