summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/projecttreeview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/treeviews/projecttreeview.cpp')
-rw-r--r--quanta/treeviews/projecttreeview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/quanta/treeviews/projecttreeview.cpp b/quanta/treeviews/projecttreeview.cpp
index 38aa26d9..205e5bf0 100644
--- a/quanta/treeviews/projecttreeview.cpp
+++ b/quanta/treeviews/projecttreeview.cpp
@@ -400,7 +400,7 @@ void ProjectTreeView::slotCreateFile()
url.setPath(url.directory() + "/" + fileName);
if (QExtFileInfo::exists(url, false, this))
{
- KMessageBox::error(this, i18n("<qt>Cannot create file, because a file named <b>%1</b> already exists.</qt>").tqarg(fileName), i18n("Error Creating File"));
+ KMessageBox::error(this, i18n("<qt>Cannot create file, because a file named <b>%1</b> already exists.</qt>").arg(fileName), i18n("Error Creating File"));
return;
}
KTempFile *tempFile = new KTempFile(tmpDir);
@@ -425,7 +425,7 @@ void ProjectTreeView::slotRemoveFromProject(int askForRemove)
TQString nice = QExtFileInfo::toRelative(url, m_projectBaseURL).path();
nice = KStringHandler::lsqueeze(nice, 60);
if ( !askForRemove ||
- KMessageBox::warningContinueCancel(this,i18n("<qt>Do you really want to remove <br><b>%1</b><br> from the project?</qt>").tqarg(nice), i18n("Remove From Project"), KStdGuiItem::remove(), "RemoveFromProject") == KMessageBox::Continue )
+ KMessageBox::warningContinueCancel(this,i18n("<qt>Do you really want to remove <br><b>%1</b><br> from the project?</qt>").arg(nice), i18n("Remove From Project"), KStdGuiItem::remove(), "RemoveFromProject") == KMessageBox::Continue )
{
if ( currentKFileTreeViewItem()->isDir() ) url.adjustPath(+1);
emit removeFromProject(url);
@@ -613,7 +613,7 @@ void ProjectTreeView::slotChangeDocumentFolderStatus()
m_documentFolderList.remove(currentURL());
emit changeUploadStatus(url, false);
}
- currentItem()->tqrepaint();
+ currentItem()->repaint();
}
bool ProjectTreeView::isDocumentFolder(const KURL &url)