Align text centered by default.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690976
This commit is contained in:
Andre Duffeck 2007-07-22 16:36:36 +00:00
parent c40241f72e
commit e7fa9f4480

View File

@ -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: