delay a few things on startup, such as setting the visibility mode, which ensures...
[personal-kdebase.git] / runtime / kcontrol / componentchooser / componentchooserfilemanager.h
blobe82f84c112870b9e282b169e495380f1e83ef317
1 /* This file is part of the KDE project
2 Copyright (C) 2008 David Faure <faure@kde.org>
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 ( at
7 your option ) version 3 or, at the discretion of KDE e.V. ( which shall
8 act as a proxy as in section 14 of the GPLv3 ), any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; see the file COPYING. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 Boston, MA 02110-1301, USA.
21 #ifndef COMPONENTCHOOSERFILEMANAGER_H
22 #define COMPONENTCHOOSERFILEMANAGER_H
24 #include "ui_filemanagerconfig_ui.h"
25 #include "componentchooser.h"
27 class CfgFileManager: public QWidget, public Ui::FileManagerConfig_UI, public CfgPlugin
29 Q_OBJECT
30 public:
31 CfgFileManager(QWidget *parent);
32 virtual ~CfgFileManager();
33 virtual void load(KConfig *cfg);
34 virtual void save(KConfig *cfg);
35 virtual void defaults();
37 protected Q_SLOTS:
38 void slotAddFileManager();
39 void configChanged();
41 Q_SIGNALS:
42 void changed(bool);
44 private:
45 QList<QObject *> mDynamicWidgets;
48 #endif