summaryrefslogtreecommitdiffstats
path: root/src/projectsession.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/projectsession.h')
-rw-r--r--src/projectsession.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/projectsession.h b/src/projectsession.h
index 60c0b732..38e24883 100644
--- a/src/projectsession.h
+++ b/src/projectsession.h
@@ -17,10 +17,10 @@
#ifndef _PROJECTSESSION_H_
#define _PROJECTSESSION_H_
-#include <qobject.h>
-#include <qdom.h>
-#include <qdict.h>
-#include <qvaluelist.h>
+#include <tqobject.h>
+#include <tqdom.h>
+#include <tqdict.h>
+#include <tqvaluelist.h>
class QWidget;
class KURL;
@@ -41,17 +41,17 @@ public:
virtual ~ProjectSession();
/** Opens the .kdevses file and saves the project session in XML format to it. */
- bool saveToFile(const QString& fileName, const QValueList<KDevPlugin*> plugins );
+ bool saveToFile(const TQString& fileName, const TQValueList<KDevPlugin*> plugins );
/** Opens the .kdevses file and loads the project session from it. */
- bool restoreFromFile(const QString& fileName, const QValueList<KDevPlugin*> plugins );
+ bool restoreFromFile(const TQString& fileName, const TQValueList<KDevPlugin*> plugins );
signals:
- void sig_restoreMainWindowProperties(const QDomElement* el);
- void sig_saveMainWindowProperties(QDomElement* el);
+ void sig_restoreMainWindowProperties(const TQDomElement* el);
+ void sig_saveMainWindowProperties(TQDomElement* el);
- void sig_restoreAdditionalViewProperties(const QString& viewName, const QDomElement* el);
- void sig_saveAdditionalViewProperties(const QString& viewName, QDomElement* el);
+ void sig_restoreAdditionalViewProperties(const TQString& viewName, const TQDomElement* el);
+ void sig_saveAdditionalViewProperties(const TQString& viewName, TQDomElement* el);
private slots:
/**
@@ -61,28 +61,28 @@ private slots:
private:
/** Restores the part of the project session that concerns to the documents (files). */
- void recreateDocs(QDomElement& el);
+ void recreateDocs(TQDomElement& el);
/** recreates views and their properties of a certain document. */
- void recreateViews(KURL& url, QDomElement docEl, bool activate);
+ void recreateViews(KURL& url, TQDomElement docEl, bool activate);
/** setup a valid XML file. */
void initXMLTree();
// attributes
private:
/** the XML document object controlling the XML tree. */
- QDomDocument domdoc;
+ TQDomDocument domdoc;
struct DocumentData
{
DocumentData() : line(0) {}
KURL url;
int line;
- QString type;
+ TQString type;
bool activate;
- QString encoding;
+ TQString encoding;
};
- QValueList<DocumentData> _docDataList;
+ TQValueList<DocumentData> _docDataList;
};