KDEUI
ktip.cpp
Go to the documentation of this file.
369 if ( lastShown.secsTo( QDateTime::currentDateTime() ) < (oneDay + (KRandom::random() % (10 * oneDay))) )
QString i18n(const char *text)
void clear()
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
Type type() const
int width() const
KGuiItem back(BidiMode useBidi)
Returns the 'Back' gui item, like Konqueror's back button.
Definition: kstandardguiitem.cpp:206
QString appName() const
void setColor(ColorGroup group, ColorRole role, const QColor &color)
QString label(StandardShortcut id)
Returns a localized label for user-visible display.
Definition: kstandardshortcut.cpp:267
static QString locate(const char *type, const QString &filename, const KComponentData &cData=KGlobal::mainComponent())
static void showTip(QWidget *parent, const QString &tipFile=QString(), bool force=false)
Shows a tip.
Definition: ktip.cpp:345
void setPixmap(const QPixmap &)
KStandardDirs * dirs()
void setAlignment(QFlags< Qt::AlignmentFlag >)
void writeEntry(const QString &key, const QVariant &value, WriteConfigFlags pFlags=Normal)
int height() const
static void showMultiTip(QWidget *parent, const QStringList &tipFiles, bool force=false)
Shows a tip.
Definition: ktip.cpp:350
int x() const
int y() const
Definition: kdialog.h:138
const KAboutData * aboutData() const
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
virtual void setCaption(const QString &caption)
Make a KDE compliant caption.
Definition: kdialog.cpp:469
QString i18nc(const char *ctxt, const char *text)
void setWindowIcon(const QIcon &icon)
KSharedConfigPtr config()
int random()
void resize(int w, int h)
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
int count(const T &value) const
QString fromUtf8(const char *str, int size)
void setFocus()
bool isEmpty() const
bool isEmpty() const
const char * constData() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
void move(int x, int y)
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
virtual bool eventFilter(QObject *watched, QEvent *event)
T & first()
void setText(const QString &)
void setButtons(ButtonCodes buttonMask)
Creates (or recreates) the button box and all the buttons in it.
Definition: kdialog.cpp:206
void setMargin(int margin)
KTipDatabase(const QString &tipFile=QString())
This constructor reads in the tips from a file with the given name.
Definition: ktip.cpp:115
virtual void accept()
QRect rect() const
KAction * next(const QObject *recvr, const char *slot, QObject *parent)
Scroll down one page.
Definition: kstandardaction.cpp:414
KGuiItem forward(BidiMode useBidi)
Returns the 'Forward' gui item, like Konqueror's forward button.
Definition: kstandardguiitem.cpp:214
iterator end()
void setFont(const QFont &)
QString findResourceDir(const char *type, const QString &filename) const
QStringList resourceDirs(const char *type) const
KAction * replace(const QObject *recvr, const char *slot, QObject *parent)
Find and replace matches.
Definition: kstandardaction.cpp:344
int width() const
QString mid(int position, int n) const
KTipDialog(KTipDatabase *database, QWidget *parent=0)
Construct a tip dialog.
Definition: ktip.cpp:225
static QRect splashScreenDesktopGeometry()
This function returns the desktop geometry for an application's splash screen.
Definition: kglobalsettings.cpp:713
QWidget(QWidget *parent, QFlags< Qt::WindowType > f)
typedef ConstIterator
int height() const
Definition: kstandardguiitem.h:46
const KComponentData & mainComponent()
QString fromLatin1(const char *str, int size)
int size() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
void setDefault(bool)
T readEntry(const QString &key, const T &aDefault) const
iterator begin()
void addLayout(QLayout *layout, int stretch)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 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:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.