From ced7cbd022b68c8dedd61b5d34d27b9c1296df15 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 7 Dec 2006 17:22:51 +0000 Subject: Use a KIO Job for applying the view properties recursively to sub directories. svn path=/trunk/playground/utils/dolphin/; revision=611325 --- src/viewpropertiesdialog.cpp | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'src/viewpropertiesdialog.cpp') diff --git a/src/viewpropertiesdialog.cpp b/src/viewpropertiesdialog.cpp index 0a4e8bd9d..de5c74a01 100644 --- a/src/viewpropertiesdialog.cpp +++ b/src/viewpropertiesdialog.cpp @@ -125,11 +125,11 @@ ViewPropertiesDialog::ViewPropertiesDialog(DolphinView* dolphinView) : connect(m_showHiddenFiles, SIGNAL(clicked()), this, SLOT(slotShowHiddenFilesChanged())); connect(m_applyToCurrentFolder, SIGNAL(clicked()), - this, SLOT(slotApplyToCurrentFolder())); + this, SLOT(markAsDirty())); connect(m_applyToSubFolders, SIGNAL(clicked()), - this, SLOT(slotApplyToSubFolders())); + this, SLOT(markAsDirty())); connect(m_applyToAllFolders, SIGNAL(clicked()), - this, SLOT(slotApplyToAllFolders())); + this, SLOT(markAsDirty())); connect(this, SIGNAL(okClicked()), this, SLOT(slotOk())); connect(this, SIGNAL(applyClicked()), this, SLOT(slotApply())); @@ -189,18 +189,7 @@ void ViewPropertiesDialog::slotShowHiddenFilesChanged() m_isDirty = true; } -void ViewPropertiesDialog::slotApplyToCurrentFolder() -{ - m_isDirty = true; -} - -void ViewPropertiesDialog::slotApplyToSubFolders() -{ - //m_viewProps->setValidForSubDirs(true); - m_isDirty = true; -} - -void ViewPropertiesDialog::slotApplyToAllFolders() +void ViewPropertiesDialog::markAsDirty() { m_isDirty = true; } -- cgit v1.3