┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/additionalinfodialog.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-10-30 20:52:03 +0000
committerPeter Penz <[email protected]>2007-10-30 20:52:03 +0000
commit496872dddcd6f50ba8addaf16b6b0d5c8f52bc71 (patch)
treed467370b68fb8c003e82badc33531741d419b2c6 /src/additionalinfodialog.h
parentd9f5e191a6bd32a4dc15b3a3eb34795cda7697dd (diff)
allow to configure the additional information of the view inside the viewproperties dialog
svn path=/trunk/KDE/kdebase/apps/; revision=731150
Diffstat (limited to 'src/additionalinfodialog.h')
-rw-r--r--src/additionalinfodialog.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/additionalinfodialog.h b/src/additionalinfodialog.h
new file mode 100644
index 000000000..9771960f0
--- /dev/null
+++ b/src/additionalinfodialog.h
@@ -0,0 +1,53 @@
+/***************************************************************************
+ * Copyright (C) 2007 by Peter Penz ([email protected]) *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * 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., *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
+ ***************************************************************************/
+
+#ifndef ADDITIONALINFODIALOG_H
+#define ADDITIONALINFODIALOG_H
+
+#include <kdialog.h>
+#include <kfileitemdelegate.h>
+
+class QCheckBox;
+
+/**
+ * @brief Dialog for changing the additional information properties of a directory.
+ */
+class AdditionalInfoDialog : public KDialog
+{
+ Q_OBJECT
+
+public:
+ explicit AdditionalInfoDialog(QWidget* parent, KFileItemDelegate::InformationList info);
+ virtual ~AdditionalInfoDialog();
+ KFileItemDelegate::InformationList additionalInfo() const;
+
+private slots:
+ void slotOk();
+
+private:
+ KFileItemDelegate::InformationList m_info;
+ QCheckBox* m_size;
+ QCheckBox* m_date;
+ QCheckBox* m_permissions;
+ QCheckBox* m_owner;
+ QCheckBox* m_group;
+ QCheckBox* m_type;
+};
+
+#endif