KIO
widgetsuntrustedprogramhandler.cpp
103QDialog *KIO::WidgetsUntrustedProgramHandler::createDialog(QWidget *parentWidget, const QString &programName)
116 const QIcon icon = baseDialog->style()->standardIcon(QStyle::SP_MessageBoxWarning, nullptr, baseDialog);
122 QString warningMessage = i18nc("program name follows in a line edit below", "This will start the program:");
161void KIO::WidgetsUntrustedProgramHandler::showUntrustedProgramWarning(KJob *job, const QString &programName)
187bool KIO::WidgetsUntrustedProgramHandler::execUntrustedProgramWarning(QWidget *window, const QString &programName)
static void assign(QPushButton *button, const KGuiItem &item)
SizeHuge
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QString i18n(const char *text, const TYPE &arg...)
QWidget * window(QObject *job)
KGuiItem cont()
void addLayout(QLayout *layout, int stretch)
void addStretch(int stretch)
void addWidget(QWidget *widget, int stretch, Qt::Alignment alignment)
Accepted
virtual void accept()
void accepted()
virtual int exec()
virtual void reject()
void rejected()
virtual void showEvent(QShowEvent *event) override
void accepted()
QPushButton * button(StandardButton which) const const
void rejected()
void setStandardButtons(StandardButtons buttons)
bool spontaneous() const const
QPixmap pixmap(QWindow *window, const QSize &size, Mode mode, State state) const const
void setPixmap(const QPixmap &)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void setReadOnly(bool ro)
void setPlainText(const QString &text)
void setDefault(bool)
size
int height() const const
int width() const const
Expanding
SP_MessageBoxWarning
virtual QIcon standardIcon(StandardPixmap standardIcon, const QStyleOption *option, const QWidget *widget) const const=0
ScrollBarAlwaysOff
TextWordWrap
WA_DeleteOnClose
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
void setMaximumHeight(int maxh)
void setMaximumWidth(int maxw)
QScreen * screen() const const
void setAttribute(Qt::WidgetAttribute attribute, bool on)
void setFocus()
void show()
void resize(const QSize &)
QStyle * style() const const
void setWindowTitle(const QString &)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:49:56 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:49:56 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.