diff options
| author | Peter Penz <[email protected]> | 2006-12-07 17:22:51 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2006-12-07 17:22:51 +0000 |
| commit | ced7cbd022b68c8dedd61b5d34d27b9c1296df15 (patch) | |
| tree | 96b3098444d38fa84675364ee25cb4a033bf2c43 /src/viewpropertiesdialog.cpp | |
| parent | d3611c41f4c453c81d95e013c68ddf65c94e9bc0 (diff) | |
Use a KIO Job for applying the view properties recursively to sub directories.
svn path=/trunk/playground/utils/dolphin/; revision=611325
Diffstat (limited to 'src/viewpropertiesdialog.cpp')
| -rw-r--r-- | src/viewpropertiesdialog.cpp | 19 |
1 files changed, 4 insertions, 15 deletions
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; } |
