X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/ced7cbd022b68c8dedd61b5d34d27b9c1296df15..862ceee323ad3b474ce9de11eefbddd99c528fac:/src/viewpropertiesdialog.h diff --git a/src/viewpropertiesdialog.h b/src/viewpropertiesdialog.h index 24accfed0..0c130ffcd 100644 --- a/src/viewpropertiesdialog.h +++ b/src/viewpropertiesdialog.h @@ -15,8 +15,9 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * ***************************************************************************/ + #ifndef VIEWPROPERTIESDIALOG_H #define VIEWPROPERTIESDIALOG_H @@ -31,18 +32,16 @@ class DolphinView; /** * @brief Dialog for changing the current view properties of a directory. * - * It is possible to specify the view mode and whether hidden files - * should be shown. The properties can be assigned to the current folder, - * recursively to all sub folders or to all folders. - * - * @author Peter Penz + * It is possible to specify the view mode, the sorting order, whether hidden files + * and previews should be shown. The properties can be assigned to the current folder, + * or recursively to all sub folders. */ class ViewPropertiesDialog : public KDialog { Q_OBJECT public: - ViewPropertiesDialog(DolphinView* dolphinView); + explicit ViewPropertiesDialog(DolphinView* dolphinView); virtual ~ViewPropertiesDialog(); private slots: @@ -50,7 +49,10 @@ private slots: void slotApply(); void slotViewModeChanged(int index); void slotSortingChanged(int index); - void slotSortOrderChanged(int index); + void slotSortOrderChanged(); + void slotCategorizedSortingChanged(); + void slotAdditionalInfoChanged(int index); + void slotShowPreviewChanged(); void slotShowHiddenFilesChanged(); void markAsDirty(); @@ -61,11 +63,15 @@ private: QComboBox* m_viewMode; QComboBox* m_sorting; - QComboBox* m_sortOrder; + QAction* m_descendingAction; + QAction* m_showInGroupsAction; + QComboBox* m_additionalInfo; + QCheckBox* m_showPreview; QCheckBox* m_showHiddenFiles; QRadioButton* m_applyToCurrentFolder; QRadioButton* m_applyToSubFolders; QRadioButton* m_applyToAllFolders; + QCheckBox* m_useAsDefault; void applyViewProperties(); };