diff options
Diffstat (limited to 'quanta/project/project.cpp')
-rw-r--r-- | quanta/project/project.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/quanta/project/project.cpp b/quanta/project/project.cpp index aed1942e..3e29c099 100644 --- a/quanta/project/project.cpp +++ b/quanta/project/project.cpp @@ -167,7 +167,7 @@ void Project::insertFile(const KURL& nameURL, bool repaint ) } -void Project::readConfig(KConfig *config) +void Project::readConfig(TDEConfig *config) { d->config = config; config->setGroup("General Options"); @@ -209,10 +209,10 @@ void Project::loadLastProject(bool reload) TQString tempPath = tempList[0]; TQString sessionTempPath = sessionTempList[0]; // test if the remote project is available - if ( KIO::NetAccess::exists(url, false, d->m_mainWindow) ) + if ( TDEIO::NetAccess::exists(url, false, d->m_mainWindow) ) { KURL tempURL = KURL().fromPathOrURL(tempPath); - if (KIO::NetAccess::exists(tempURL, false, d->m_mainWindow) && + if (TDEIO::NetAccess::exists(tempURL, false, d->m_mainWindow) && KMessageBox::questionYesNo(d->m_mainWindow, i18n("<qt>Found a backup for project <b>%1</b>.<br> Do you want to open it?</qt>").arg(url.prettyURL()), i18n("Open Project Backup"), KStdGuiItem::open(), i18n("Do Not Open") ) == KMessageBox::Yes) { @@ -448,7 +448,7 @@ void Project::slotRemove(const KURL& urlToRemove) TQString passwd = password(e.attribute("remote_protocol") + "://" + e.attribute("user") + "@" + e.attribute("remote_host")); baseUrl.setPass(passwd); baseUrl.addPath(urlPath); - KIO::NetAccess::del(baseUrl, d->m_mainWindow); + TDEIO::NetAccess::del(baseUrl, d->m_mainWindow); } } } @@ -997,7 +997,7 @@ KURL Project::projectBaseURL() void Project::savePassword(const TQString &entry, const TQString &passwd, bool store) { d->m_passwdList[entry] = passwd; - KConfig *config = kapp->config(); + TDEConfig *config = kapp->config(); config->setGroup("Projects"); if (store) { @@ -1017,7 +1017,7 @@ TQString Project::password(const TQString &entry) return d->m_passwdList[entry]; else { - KConfig *config = kapp->config(); + TDEConfig *config = kapp->config(); config->setGroup("Projects"); TQString passwd = KStringHandler::obscure(config->readEntry(d->projectName + " | " + entry,"")); // TQString passwd = config->readEntry(d->projectName + " | " + entry,""); @@ -1027,7 +1027,7 @@ TQString Project::password(const TQString &entry) bool Project::passwordSaved(const TQString &entry) { - KConfig *config = kapp->config(); + TDEConfig *config = kapp->config(); config->setGroup("Projects"); TQString passwd = KStringHandler::obscure(config->readEntry(d->projectName + " | " + entry,"")); // TQString passwd = config->readEntry(d->projectName + " | " + entry,""); |