Plasma
Go to the documentation of this file.
20 #ifndef PLASMA_EXTENDERITEM_H
21 #define PLASMA_EXTENDERITEM_H
23 #include <QtGui/QGraphicsWidget>
25 #include <kconfiggroup.h>
36 class ExtenderItemPrivate;
84 Q_PROPERTY(
QString title READ title WRITE setTitle)
85 Q_PROPERTY(
QString name READ name WRITE setName)
86 Q_PROPERTY(
QIcon icon READ icon WRITE setIcon)
87 Q_PROPERTY(
Extender * extender READ extender WRITE setExtender)
88 Q_PROPERTY(
bool collapsed READ isCollapsed WRITE setCollapsed)
89 Q_PROPERTY(
bool detached READ isDetached)
90 Q_PROPERTY(uint autoExpireDelay READ autoExpireDelay WRITE setAutoExpireDelay)
107 KConfigGroup config() const;
125 void setTitle(const
QString &title);
138 void setName(const
QString &name);
151 void setIcon(const
QString &icon);
157 void setIcon(const
QIcon &icon);
203 bool isGroup() const;
209 void setAutoExpireDelay(uint time);
214 uint autoExpireDelay() const;
219 bool isDetached() const;
224 bool isCollapsed() const;
249 void setTransient(const
bool transient);
255 bool isTransient() const;
267 void setCollapsed(
bool collapsed);
272 void returnToSource();
278 void showCloseButton();
283 void hideCloseButton();
308 QSizeF sizeHint(Qt::SizeHint which, const
QSizeF &constraint) const;
311 Q_PRIVATE_SLOT(d,
void toggleCollapse())
312 Q_PRIVATE_SLOT(d,
void updateToolBox())
313 Q_PRIVATE_SLOT(d,
void themeChanged())
314 Q_PRIVATE_SLOT(d,
void sourceAppletRemoved())
315 Q_PRIVATE_SLOT(d,
void actionDestroyed(
QObject*))
317 ExtenderItemPrivate * const d;
321 friend class ExtenderPrivate;
322 friend class ExtenderItemPrivate;
325 #endif // PLASMA_EXTENDERITEM_H
Extends applets to allow detachable parts.
Allows for grouping of extender items.
Provides detachable items for an Extender.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:12 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.