KUtils
kcmultidialog.cpp
Go to the documentation of this file.
83 void KCMultiDialogPrivate::_k_slotCurrentPageChanged( KPageWidgetItem *current, KPageWidgetItem *previous )
127 q->disconnect(q->button(KDialog::Apply), SIGNAL(authorized(KAuth::Action*)), q, SLOT(slotApplyClicked()));
133 q->disconnect(q->button(KDialog::Ok), SIGNAL(authorized(KAuth::Action*)), q, SLOT(slotOkClicked()));
140 q->connect(q->button(KDialog::Apply), SIGNAL(authorized(KAuth::Action*)), SLOT(slotApplyClicked()));
209 q->setButtons(KDialog::Help | KDialog::Default |KDialog::Cancel | KDialog::Apply | KDialog::Ok | KDialog::Reset);
239 KCMultiDialog::KCMultiDialog(KCMultiDialogPrivate &dd, KPageWidget *pageWidget, QWidget *parent, Qt::WindowFlags flags)
354 if ( docUrl.protocol() == "help" || docUrl.protocol() == "man" || docUrl.protocol() == "info" ) {
391 item->setHeader( "<b>"+moduleInfo.comment() + "</b><br><i>" + kcm->rootOnlyMessage() + "</i>" );
443 connect(kcm->realModule(), SIGNAL(rootOnlyMessageChanged(bool,QString)), this, SLOT(_k_updateHeader(bool,QString)));
KGuiItem cancel()
QString i18n(const char *text)
bool noDisplay() const
void _k_slotCurrentPageChanged(KPageWidgetItem *current, KPageWidgetItem *previous)
Definition: kcmultidialog.cpp:83
KGuiItem discard()
QStringList componentNames
Definition: kcmultidialog_p.h:46
KPageWidgetItem * addModule(const QString &module, const QStringList &args=QStringList())
Add a module.
Definition: kcmultidialog.cpp:362
QVariant property(const QString &_name, QVariant::Type t) const
virtual QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
virtual int rowCount(const QModelIndex &parent=QModelIndex()) const
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void _k_updateHeader(bool use, const QString &message)
Definition: kcmultidialog.cpp:175
void setIcon(const KIcon &icon)
static int warningYesNoCancel(QWidget *parent, const QString &text, const QString &caption=QString(), const KGuiItem &buttonYes=KStandardGuiItem::yes(), const KGuiItem &buttonNo=KStandardGuiItem::no(), const KGuiItem &buttonCancel=KStandardGuiItem::cancel(), const QString &dontAskAgainName=QString(), Options options=Notify)
bool needsAuthorization() const
void slotApplyClicked()
This slot is called when the user presses the "Apply" Button.
Definition: kcmultidialog.cpp:322
void load()
Calling it will cause the contained module to run its load() routine.
Definition: kcmoduleproxy.cpp:265
QString protocol() const
void setButtons(ButtonCodes buttonMask)
Reimplemented for internal reasons.
Definition: kcmultidialog.cpp:475
Definition: kcmultidialog_p.h:31
KGuiItem apply()
void slotDefaultClicked()
This slot is called when the user presses the "Default" Button.
Definition: kcmultidialog.cpp:249
QWidget * widget() const
KPageWidgetItem * item(const QModelIndex &index) const
void slotUser1Clicked()
This slot is called when the user presses the "Reset" Button.
Definition: kcmultidialog.cpp:265
void slotOkClicked()
This slot is called when the user presses the "OK" Button.
Definition: kcmultidialog.cpp:330
QString name
void setHeader(const QString &header)
virtual void _k_clientChanged()
Definition: kcmultidialog.cpp:108
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
void setParentWidget(QWidget *parent)
void slotHelpClicked()
This slot is called when the user presses the "Help" Button.
Definition: kcmultidialog.cpp:338
A class that offers a KPageDialog containing arbitrary KControl Modules.
Definition: kcmultidialog.h:37
void save()
Calling it will cause the contained module to run its save() routine.
Definition: kcmoduleproxy.cpp:275
static void invokeBrowser(const QString &url, const QByteArray &startup_id=QByteArray())
KAuth::Action * authAction() const
static Ptr serviceByStorageId(const QString &_storageId)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.