2 * Copyright (C) 2008 Aaron Seigo <aseigo@kde.org>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Library/Lesser General Public License
6 * version 2, or (at your option) any later version, as published by the
7 * Free Software Foundation
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
14 * You should have received a copy of the GNU Library/Lesser General Public
15 * License 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.
20 #ifndef PLASMA_OPENWIDGETASSISTANT_P_H
21 #define PLASMA_OPENWIDGETASSISTANT_P_H
23 #include <KAssistantDialog>
28 class QListWidgetItem
;
33 class OpenWidgetAssistant
: public KAssistantDialog
39 PackageStructureRole
= Qt::UserRole
+ 1
42 OpenWidgetAssistant(QWidget
*parent
);
45 void prepPage(KPageWidgetItem
*current
, KPageWidgetItem
*before
);
47 void slotHelpClicked();
48 void slotItemChanged();
51 KPageWidgetItem
*m_typePage
;
52 KPageWidgetItem
*m_filePage
;
53 KFileWidget
*m_fileDialog
;
54 QWidget
*m_filePageWidget
;
55 KListWidget
*m_widgetTypeList
;
56 KService::Ptr m_packageStructureService
;