summaryrefslogtreecommitdiffstats
path: root/quanta/project
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-16 14:35:51 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-16 14:35:51 +0000
commit7af884d886e2428d5b28e9cf7d81c97d7e378123 (patch)
tree64fe5f9f02f7d338baa54c3a380e43a66ae45f8f /quanta/project
parentaf2166652dfcfacffa91a7e1466e3abed19862ce (diff)
downloadtdewebdev-7af884d886e2428d5b28e9cf7d81c97d7e378123.tar.gz
tdewebdev-7af884d886e2428d5b28e9cf7d81c97d7e378123.zip
[kdewebdev/quanta] fix deprecation warnings; make compatible with QT_NO_ASCII_CAST flag
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1214823 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/project')
-rw-r--r--quanta/project/project.cpp6
-rw-r--r--quanta/project/projectnewweb.cpp2
-rw-r--r--quanta/project/uploadprofiles.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/quanta/project/project.cpp b/quanta/project/project.cpp
index abe47943..fa4af964 100644
--- a/quanta/project/project.cpp
+++ b/quanta/project/project.cpp
@@ -862,7 +862,7 @@ void Project::slotUpload()
if (!d->m_uploadDialog)
{
- d->m_uploadDialog = new ProjectUpload(KURL(), "", false, false, false, i18n("Upload project items..."));
+ d->m_uploadDialog = new ProjectUpload(KURL(), "", false, false, false, i18n("Upload project items...").ascii());
connect(d->m_uploadDialog, TQT_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )), this, TQT_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )));
d->m_uploadDialog->show();
} else
@@ -877,7 +877,7 @@ void Project::slotUploadURL(const KURL& urlToUpload, const TQString& profileName
KURL url = QExtFileInfo::toRelative( urlToUpload, d->baseURL);
if (!d->m_uploadDialog)
{
- d->m_uploadDialog = new ProjectUpload(url, profileName, false, quickUpload, markOnly, i18n("Upload project items..."));
+ d->m_uploadDialog = new ProjectUpload(url, profileName, false, quickUpload, markOnly, i18n("Upload project items...").ascii());
connect(d->m_uploadDialog, TQT_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )), this, TQT_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )));
d->m_uploadDialog->show();
} else
@@ -893,7 +893,7 @@ void Project::slotGetMessages(const TQString& data)
void Project::slotRescanPrjDir()
{
RescanPrj *dlg = new RescanPrj( d->m_projectFiles, d->baseURL, d->excludeRx,
- d->m_mainWindow, i18n("New Files in Project's Folder"));
+ d->m_mainWindow, i18n("New Files in Project's Folder").ascii());
if ( dlg->exec() )
{
d->insertFiles(dlg->files());
diff --git a/quanta/project/projectnewweb.cpp b/quanta/project/projectnewweb.cpp
index 5959d01e..a087497c 100644
--- a/quanta/project/projectnewweb.cpp
+++ b/quanta/project/projectnewweb.cpp
@@ -103,7 +103,7 @@ void ProjectNewWeb::slotStart()
{
if (baseURL.protocol() == "file")
{
- chdir( baseURL.path(1));
+ chdir( baseURL.path(1).ascii() );
proc = new KProcess();
proc ->clearArguments();
diff --git a/quanta/project/uploadprofiles.cpp b/quanta/project/uploadprofiles.cpp
index 669971ce..cb54c27f 100644
--- a/quanta/project/uploadprofiles.cpp
+++ b/quanta/project/uploadprofiles.cpp
@@ -85,7 +85,7 @@ TQWidget * UploadProfiles::createTreeview(const UploadProfile &profile)
KURL kurl = url(profile.domElement);
if (kurl.isValid() && ! kurl.isEmpty())
{
- widget = new ServerTreeView(quantaApp->config(), quantaApp, kurl, "ServerTreeView" + profile.name);
+ widget = new ServerTreeView(quantaApp->config(), quantaApp, kurl, TQString("ServerTreeView" + profile.name).ascii());
widget->setIcon(SmallIcon("up"));
widget->setCaption( i18n("Upload Profile") + ": " + profile.name );
quantaApp->addToolWindow(widget, quantaApp->prevDockPosition(widget, KDockWidget::DockRight), quantaApp->getMainDockWidget());