• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KDEUI

  • kdeui
  • dialogs
kassistantdialog.h
Go to the documentation of this file.
1/* This file is part of the KDE libraries
2 Copyright (C) 2006 Olivier Goffart <ogoffart at kde.org>
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License version 2 as published by the Free Software Foundation.
7
8 This library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 Library General Public License for more details.
12
13 You should have received a copy of the GNU Library General Public License
14 along with this library; see the file COPYING.LIB. If not, write to
15 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 Boston, MA 02110-1301, USA.
17*/
18
19
20#ifndef KASSISTANTDIALOG_H
21#define KASSISTANTDIALOG_H
22
23#include <kpagedialog.h>
24
54class KDEUI_EXPORT KAssistantDialog : public KPageDialog
55{
56 Q_OBJECT
57 public:
64 explicit KAssistantDialog(QWidget *parent=0, Qt::WindowFlags flags=0);
65 virtual ~KAssistantDialog();
66
76 void setValid(KPageWidgetItem* page, bool enable);
77
83 bool isValid(KPageWidgetItem *page) const;
84
99 void setAppropriate(KPageWidgetItem *page, bool appropriate);
100
106 bool isAppropriate(KPageWidgetItem *page) const;
107
108
109 public Q_SLOTS:
116 virtual void back();
117
124 virtual void next();
125
126 protected:
136 explicit KAssistantDialog(KPageWidget *widget, QWidget *parent=0, Qt::WindowFlags flags=0);
137
138 virtual void showEvent(QShowEvent * event);
139
140 private:
141 class Private;
142 Private * const d;
143
144 Q_PRIVATE_SLOT( d, void _k_slotUpdateButtons() )
145
146 Q_DISABLE_COPY( KAssistantDialog )
147};
148
149
150#endif
KAssistantDialog
This class provides a framework for assistant dialogs.
Definition: kassistantdialog.h:55
KPageDialog
A dialog base class which can handle multiple pages.
Definition: kpagedialog.h:66
KPageWidgetItem
KPageWidgetItem is used by KPageWidget and represents a page.
Definition: kpagewidgetmodel.h:51
KPageWidget
Page widget with many layouts (faces).
Definition: kpagewidget.h:37
QWidget
kpagedialog.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal