]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/viewpropsprogressinfo.cpp
SVN_SILENT coding style fixes
[dolphin.git] / src / viewpropsprogressinfo.cpp
index 02e7fcaee3cc71739f0338a27cd01f418825bcaf..c841a13311ae51944ec53c8be7e43ef1d1660888 100644 (file)
@@ -46,7 +46,7 @@ ViewPropsProgressInfo::ViewPropsProgressInfo(QWidget* parent,
     const QSize minSize = minimumSize();
     setMinimumSize(QSize(320, minSize.height()));
 
-    setCaption(i18n("Applying View Properties"));
+    setCaption(i18nc("@title:window", "Applying View Properties"));
     setButtons(KDialog::Cancel);
 
     m_viewProps = new ViewProperties(dir);
@@ -106,7 +106,7 @@ void ViewPropsProgressInfo::updateProgress()
 {
     if (m_dirSizeJob != 0) {
         const int subdirs = m_dirSizeJob->totalSubdirs();
-        m_label->setText(i18n("Counting folders: %1", subdirs));
+        m_label->setText(i18nc("@info:progress", "Counting folders: %1", subdirs));
     }
 
     if (m_applyViewPropsJob != 0) {
@@ -122,7 +122,7 @@ void ViewPropsProgressInfo::applyViewProperties()
     }
 
     const int subdirs = m_dirSizeJob->totalSubdirs();
-    m_label->setText(i18n("Folders: %1", subdirs));
+    m_label->setText(i18nc("@info:progress", "Folders: %1", subdirs));
     m_progressBar->setMaximum(subdirs);
 
     m_dirSizeJob = 0;
@@ -135,11 +135,11 @@ void ViewPropsProgressInfo::applyViewProperties()
 void ViewPropsProgressInfo::cancelApplying()
 {
     if (m_dirSizeJob != 0) {
-        m_dirSizeJob->doKill();
+        m_dirSizeJob->kill();
     }
 
     if (m_applyViewPropsJob != 0) {
-        m_applyViewPropsJob->doKill();
+        m_applyViewPropsJob->kill();
     }
 }