summaryrefslogtreecommitdiffstats
path: root/parts/fileview/filegroupsconfigwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /parts/fileview/filegroupsconfigwidget.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-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 'parts/fileview/filegroupsconfigwidget.cpp')
-rw-r--r--parts/fileview/filegroupsconfigwidget.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/parts/fileview/filegroupsconfigwidget.cpp b/parts/fileview/filegroupsconfigwidget.cpp
index 28a0441b..c1a4f5bc 100644
--- a/parts/fileview/filegroupsconfigwidget.cpp
+++ b/parts/fileview/filegroupsconfigwidget.cpp
@@ -11,7 +11,7 @@
#include "filegroupsconfigwidget.h"
-#include <qlistview.h>
+#include <tqlistview.h>
#include <knotifyclient.h>
#include <klocale.h>
@@ -21,7 +21,7 @@
FileGroupsConfigWidget::FileGroupsConfigWidget(FileGroupsPart *part,
- QWidget *parent, const char *name)
+ TQWidget *parent, const char *name)
: FileGroupsConfigWidgetBase(parent, name)
{
m_part = part;
@@ -38,15 +38,15 @@ FileGroupsConfigWidget::~FileGroupsConfigWidget()
void FileGroupsConfigWidget::readConfig()
{
- QDomDocument &dom = *m_part->projectDom();
+ TQDomDocument &dom = *m_part->projectDom();
DomUtil::PairList list = DomUtil::readPairListEntry(dom, "/kdevfileview/groups",
"group", "name", "pattern");
- QListViewItem *lastItem = 0;
+ TQListViewItem *lastItem = 0;
DomUtil::PairList::ConstIterator it;
for (it = list.begin(); it != list.end(); ++it) {
- QListViewItem *newItem = new QListViewItem(listview, (*it).first, (*it).second);
+ TQListViewItem *newItem = new TQListViewItem(listview, (*it).first, (*it).second);
if (lastItem)
newItem->moveItem(lastItem);
lastItem = newItem;
@@ -58,7 +58,7 @@ void FileGroupsConfigWidget::storeConfig()
{
DomUtil::PairList list;
- QListViewItem *item = listview->firstChild();
+ TQListViewItem *item = listview->firstChild();
while (item) {
list << DomUtil::Pair(item->text(0), item->text(1));
item = item->nextSibling();
@@ -76,7 +76,7 @@ void FileGroupsConfigWidget::addGroup()
if (!dlg.exec())
return;
- (void) new QListViewItem(listview, dlg.title(), dlg.pattern());
+ (void) new TQListViewItem(listview, dlg.title(), dlg.pattern());
}
@@ -106,7 +106,7 @@ void FileGroupsConfigWidget::moveUp()
return;
}
- QListViewItem *item = listview->firstChild();
+ TQListViewItem *item = listview->firstChild();
while (item->nextSibling() != listview->currentItem())
item = item->nextSibling();
item->moveItem(listview->currentItem());