summaryrefslogtreecommitdiffstats
path: root/src/projectsession.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/projectsession.cpp')
-rw-r--r--src/projectsession.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/projectsession.cpp b/src/projectsession.cpp
index 1b8173fc..afdaf0b5 100644
--- a/src/projectsession.cpp
+++ b/src/projectsession.cpp
@@ -34,7 +34,7 @@
#include "domutil.h"
#include "documentationpart.h"
#include "toplevel.h"
-#include "tdevplugin.h"
+#include "kdevplugin.h"
#include "projectsession.h"
#include "projectsession.moc"
@@ -68,7 +68,7 @@ void ProjectSession::initXMLTree()
}
//---------------------------------------------------------------------------
-bool ProjectSession::restoreFromFile( const TQString & sessionFileName, const TQValueList< TDevPlugin * > plugins )
+bool ProjectSession::restoreFromFile( const TQString & sessionFileName, const TQValueList< KDevPlugin * > plugins )
{
bool bFileOpenOK = true;
@@ -105,10 +105,10 @@ bool ProjectSession::restoreFromFile( const TQString & sessionFileName, const TQ
// now also let the plugins load their session stuff
TQDomElement pluginListEl = session.namedItem("pluginList").toElement();
- TQValueList<TDevPlugin*>::ConstIterator it = plugins.begin();
+ TQValueList<KDevPlugin*>::ConstIterator it = plugins.begin();
while( it != plugins.end() )
{
- TDevPlugin* pPlugin = (*it);
+ KDevPlugin* pPlugin = (*it);
TQString pluginName = pPlugin->instance()->instanceName();
TQDomElement pluginEl = pluginListEl.namedItem(pluginName).toElement();
if (!pluginEl.isNull()) {
@@ -230,7 +230,7 @@ void ProjectSession::recreateViews(KURL& url, TQDomElement docEl, bool activate)
}
//---------------------------------------------------------------------------
-bool ProjectSession::saveToFile( const TQString & sessionFileName, const TQValueList< TDevPlugin * > plugins )
+bool ProjectSession::saveToFile( const TQString & sessionFileName, const TQValueList< KDevPlugin * > plugins )
{
TQString section, keyword;
TQDomElement session = domdoc.documentElement();
@@ -390,10 +390,10 @@ bool ProjectSession::saveToFile( const TQString & sessionFileName, const TQValue
}
}
- TQValueList<TDevPlugin*>::ConstIterator itt = plugins.begin();
+ TQValueList<KDevPlugin*>::ConstIterator itt = plugins.begin();
while( itt != plugins.end() )
{
- TDevPlugin* pPlugin = (*itt);
+ KDevPlugin* pPlugin = (*itt);
TQString pluginName = pPlugin->instance()->instanceName();
TQDomElement pluginEl = domdoc.createElement(pluginName);