delay a few things on startup, such as setting the visibility mode, which ensures...
[personal-kdebase.git] / apps / dolphin / src / settings / additionalinfodialog.h
blob9771960f0f2ed0e50470d7eac06ddc5e8586e4a6
1 /***************************************************************************
2 * Copyright (C) 2007 by Peter Penz (peter.penz@gmx.at) *
3 * *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 * *
9 * This program is distributed in the hope that it will be useful, *
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12 * GNU General Public License for more details. *
13 * *
14 * You should have received a copy of the GNU General Public License *
15 * along with this program; if not, write to the *
16 * Free Software Foundation, Inc., *
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
18 ***************************************************************************/
20 #ifndef ADDITIONALINFODIALOG_H
21 #define ADDITIONALINFODIALOG_H
23 #include <kdialog.h>
24 #include <kfileitemdelegate.h>
26 class QCheckBox;
28 /**
29 * @brief Dialog for changing the additional information properties of a directory.
31 class AdditionalInfoDialog : public KDialog
33 Q_OBJECT
35 public:
36 explicit AdditionalInfoDialog(QWidget* parent, KFileItemDelegate::InformationList info);
37 virtual ~AdditionalInfoDialog();
38 KFileItemDelegate::InformationList additionalInfo() const;
40 private slots:
41 void slotOk();
43 private:
44 KFileItemDelegate::InformationList m_info;
45 QCheckBox* m_size;
46 QCheckBox* m_date;
47 QCheckBox* m_permissions;
48 QCheckBox* m_owner;
49 QCheckBox* m_group;
50 QCheckBox* m_type;
53 #endif