summaryrefslogtreecommitdiffstats
path: root/src/projectsession.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /src/projectsession.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-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 '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;
};