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 /parts/filecreate/filecreate_widget3.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 'parts/filecreate/filecreate_widget3.cpp')
-rw-r--r-- | parts/filecreate/filecreate_widget3.cpp | 20 |
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; |