Align text centered by default.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690976
This commit is contained in:
parent
c40241f72e
commit
e7fa9f4480
@ -51,7 +51,7 @@ class PLASMA_EXPORT Flash : public QObject, public QGraphicsItem
|
||||
void setColor( const QColor & );
|
||||
void setDuration( int duration );
|
||||
|
||||
void flash( const QString &text, const QTextOption &option = QTextOption(), int duration = 0 );
|
||||
void flash( const QString &text, const QTextOption &option = QTextOption(Qt::AlignCenter), int duration = 0 );
|
||||
void flash( const QPixmap &pixmap, Qt::Alignment align = Qt::AlignCenter, int duration = 0 );
|
||||
|
||||
protected Q_SLOTS:
|
||||
|
Loading…
Reference in New Issue
Block a user