summaryrefslogtreecommitdiffstats
path: root/parts/fileview/filegroupsconfigwidget.cpp
diff options
context:
space:
mode:
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());