KIOSlave
kcookiewin.cpp
Go to the documentation of this file.
70 KWindowSystem::setMainWindow( this, reinterpret_cast<WId>( cookieList.first().windowIds().first() ) );
96 QString txt = QLatin1String("<html><body style=\"p {line-height: 150%}; text-align: center;\">");
106 cookie.isCrossDomain() ? i18nc("@item:intext cross domain cookie", " [Cross Domain]") : QString());
140 m_allCookiesDomain->setWhatsThis(i18n("Select this option to accept or reject all cookies from "
173 setButtonToolTip(KDialog::User1, i18n("Accept cookie(s) until the end of the current session"));
QString i18n(const char *text)
#define kapp
QString fromAce(const QByteArray &domain)
void setModal(bool modal)
int IconSize(KIconLoader::Group group)
void setDomainAdvice(const QString &_domain, KCookieAdvice _advice)
This function sets the advice for all cookies originating from _domain.
Definition: kcookiejar.cpp:1080
virtual QSize sizeHint() const
void setShowCookieDetails(bool value)
Sets the user's preference of level of detail displayed by the cookie dialog.
Definition: kcookiejar.h:376
KCookieAdvice advice(KCookieJar *cookiejar, const KHttpCookie &cookie)
Definition: kcookiewin.cpp:186
void addWidget(QWidget *widget, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
Definition: kcookiejar.h:49
void clicked(bool checked)
QString label(StandardShortcut id)
void setPixmap(const QPixmap &)
Definition: kcookiejar.h:43
const T & at(int i) const
int exec()
void setAlignment(QFlags< Qt::AlignmentFlag >)
virtual void done(int r)
const QPixmap * icon() const
QString & remove(int position, int n)
KCookieDetail(KHttpCookieList cookieList, int cookieCount, QWidget *parent=0)
Definition: kcookiewin.cpp:219
QString i18nc(const char *ctxt, const char *text)
void setWindowIcon(const QIcon &icon)
Definition: kcookiejar.h:359
void setTime_t(qint64 seconds)
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
int count(const T &value) const
Definition: kcookiejar.h:45
void setLayout(QLayout *layout)
QString i18ncp(const char *ctxt, const char *sing, const char *plur, const A1 &a1)
void setGlobalAdvice(KCookieAdvice _advice)
This function sets the global advice for cookies.
Definition: kcookiejar.cpp:1126
void setObjectName(const QString &name)
bool isEmpty() const
QPoint pos() const
int result() const
WId winId() const
T & first()
KCookieWin(QWidget *parent, KHttpCookieList cookieList, int defaultButton=0, bool showDetails=false)
Definition: kcookiewin.cpp:56
Definition: kcookiejar.h:113
static void setState(WId win, unsigned long state)
void setFixedSize(const QSize &s)
QString formatDateTime(const QDateTime &dateTime, DateFormat format=ShortDate, bool includeSecs=false) const
static void setMainWindow(QWidget *subwindow, WId mainwindow)
KLocale * locale()
void setChecked(bool)
virtual void slotButtonClicked(int button)
Definition: kcookiewin.cpp:333
void setWhatsThis(const QString &)
Definition: kcookiejar.h:44
void setMaximumWidth(int maxw)
QFontMetrics fontMetrics() const
Definition: kcookiejar.h:129
void setColumnStretch(int column, int stretch)
void setTitle(const QString &title)
void addItem(QLayoutItem *item, int row, int column, int rowSpan, int columnSpan, QFlags< Qt::AlignmentFlag > alignment)
void setPreferredDefaultPolicy(KCookieDefaultPolicy value)
Sets the user's default preference cookie policy.
Definition: kcookiejar.h:370
void setCaption(const QString &c)
virtual QSize sizeHint() const
void setSpacing(int space)
QString left(int n) const
void setToolTip(const QString &)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
virtual void setReadOnly(bool)
Definition: kcookiewin.h:37
virtual void setText(const QString &)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.