summaryrefslogtreecommitdiffstats
path: root/quanta/project/projectlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/project/projectlist.cpp')
-rw-r--r--quanta/project/projectlist.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/quanta/project/projectlist.cpp b/quanta/project/projectlist.cpp
index f5fdc24e..fabec2fd 100644
--- a/quanta/project/projectlist.cpp
+++ b/quanta/project/projectlist.cpp
@@ -15,9 +15,9 @@
***************************************************************************/
// qt includes
-#include <qdom.h>
-#include <qstring.h>
-#include <qfileinfo.h>
+#include <tqdom.h>
+#include <tqstring.h>
+#include <tqfileinfo.h>
// kde includes
#include <kprogress.h>
@@ -39,19 +39,19 @@ void ProjectList::clear()
ProjectUrlList::clear();
}
-bool ProjectList::readFromXML(QDomDocument &dom, const KURL &baseURL,
- const KURL &/*templateURL*/, const QRegExp &excludeRx)
+bool ProjectList::readFromXML(TQDomDocument &dom, const KURL &baseURL,
+ const KURL &/*templateURL*/, const TQRegExp &excludeRx)
{
clear(); // empty the list
m_baseURL = baseURL; // remember this
bool modified = false;
- QDomElement el;
- QDomNodeList nl = dom.firstChild().firstChild().childNodes();
+ TQDomElement el;
+ TQDomNodeList nl = dom.firstChild().firstChild().childNodes();
progressBar->setTotalSteps(nl.count() - 1);
progressBar->setValue(0);
progressBar->setTextEnabled(true);
- QString path;
- QString tmpString;
+ TQString path;
+ TQString tmpString;
uint nlCount = nl.count();
for ( uint i = 0; i < nlCount; i++ )
{
@@ -86,7 +86,7 @@ bool ProjectList::readFromXML(QDomDocument &dom, const KURL &baseURL,
//remove non-existent local files
if ( url.isLocalFile() )
{
- QFileInfo fi( url.path() );
+ TQFileInfo fi( url.path() );
if ( !fi.exists() )
{
el.parentNode().removeChild( el );
@@ -128,7 +128,7 @@ bool ProjectList::removeFromListAndXML(const KURL &url)
{
ProjectURL *p = find(url);
if (p) {
- QDomElement el = p->domElement;
+ TQDomElement el = p->domElement;
el.parentNode().removeChild(el);
remove(url.url(-1));
return true;
@@ -162,25 +162,25 @@ bool ProjectList::isFolder(const KURL &url) const
}
-void ProjectList::insert(const QString & key, const ProjectURL * item)
+void ProjectList::insert(const TQString & key, const ProjectURL * item)
{
ProjectUrlList::insert(key, item);
}
-ProjectURL * ProjectList::find ( const QString & key ) const
+ProjectURL * ProjectList::find ( const TQString & key ) const
{
return ProjectUrlList::find(key);
}
-bool ProjectList::remove ( const QString & key )
+bool ProjectList::remove ( const TQString & key )
{
return ProjectUrlList::remove(key);
}
-void ProjectList::replace(const QString & key, const ProjectURL * item)
+void ProjectList::replace(const TQString & key, const ProjectURL * item)
{
ProjectUrlList::replace(key, item);
}