summaryrefslogtreecommitdiffstats
path: root/parts/filecreate/filecreate_widget3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/filecreate/filecreate_widget3.cpp')
-rw-r--r--parts/filecreate/filecreate_widget3.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/parts/filecreate/filecreate_widget3.cpp b/parts/filecreate/filecreate_widget3.cpp
index f766cbcf..5d307bff 100644
--- a/parts/filecreate/filecreate_widget3.cpp
+++ b/parts/filecreate/filecreate_widget3.cpp
@@ -1,7 +1,7 @@
/***************************************************************************
* Copyright (C) 2003 by Julian Rockey *
* linux@jrockey.com *
- * thanks: Roberto Raggi for QSimpleRichText stuff *
+ * thanks: Roberto Raggi for TQSimpleRichText stuff *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@@ -9,8 +9,8 @@
* (at your option) any later version. *
***************************************************************************/
-#include <qptrlist.h>
-#include <qwhatsthis.h>
+#include <tqptrlist.h>
+#include <tqwhatsthis.h>
#include <kparts/part.h>
#include <klibloader.h>
@@ -41,12 +41,12 @@ namespace FileCreate {
addColumn("");
addColumn("");
- QWhatsThis::add(this, i18n("<b>New file</b><p>This part makes the creation of new files easier. Select a type in the list to create a file. "
+ TQWhatsThis::add(this, i18n("<b>New file</b><p>This part makes the creation of new files easier. Select a type in the list to create a file. "
"The list of project file types can be configured in project settings dialog, <b>New File Wizard</b> tab. "
"Globally available file types are listed and can be configured in KDevelop settings dialog, <b>New File Wizard</b> tab."));
- connect( this, SIGNAL(clicked(QListViewItem*)), this, SLOT(slotTypeSelected(QListViewItem*)) );
+ connect( this, TQT_SIGNAL(clicked(TQListViewItem*)), this, TQT_SLOT(slotTypeSelected(TQListViewItem*)) );
}
@@ -57,7 +57,7 @@ namespace FileCreate {
void ListWidget::setCurrent(const FileType * current) {
bool found = false;
- QListViewItem * lvi = firstChild();
+ TQListViewItem * lvi = firstChild();
while(lvi && !found) {
ListItem * li = dynamic_cast<ListItem*>(lvi);
if (li) {
@@ -76,7 +76,7 @@ namespace FileCreate {
}
- void ListWidget::resizeEvent(QResizeEvent *event) {
+ void ListWidget::resizeEvent(TQResizeEvent *event) {
ListItem *li = dynamic_cast<ListItem*>(firstChild());
while(li) {
li->prepareResize();
@@ -87,12 +87,12 @@ namespace FileCreate {
void ListWidget::refresh() {
clear();
- QPtrList<FileType> filetypes = m_part->getFileTypes();
+ TQPtrList<FileType> filetypes = m_part->getFileTypes();
for(FileType * filetype = filetypes.first();
filetype!=NULL;
filetype=filetypes.next()) {
if (filetype->enabled()) {
- QPtrList<FileType> subtypes = filetype->subtypes();
+ TQPtrList<FileType> subtypes = filetype->subtypes();
if (subtypes.count()==0)
new ListItem( this, filetype );
for(FileType * subtype = subtypes.first();
@@ -105,7 +105,7 @@ namespace FileCreate {
}
}
- void ListWidget::slotTypeSelected(QListViewItem * item) {
+ void ListWidget::slotTypeSelected(TQListViewItem * item) {
ListItem * fileitem = dynamic_cast<ListItem*>(item);
if (!fileitem) return;