QString version of setGraphicSource added
This commit is contained in:
parent
1e71259406
commit
87f4d718c5
@ -158,6 +158,11 @@ void QskPushButton::setGraphicSource( const QUrl& url )
|
||||
Q_EMIT graphicSourceChanged();
|
||||
}
|
||||
|
||||
void QskPushButton::setGraphicSource(const QString &source)
|
||||
{
|
||||
setGraphicSource( QUrl( source ) );
|
||||
}
|
||||
|
||||
QUrl QskPushButton::graphicSource() const
|
||||
{
|
||||
return m_data->graphicSource;
|
||||
|
@ -63,6 +63,7 @@ public:
|
||||
public Q_SLOTS:
|
||||
void setText( const QString& text );
|
||||
void setGraphicSource( const QUrl& url );
|
||||
void setGraphicSource( const QString& source );
|
||||
void setGraphic( const QskGraphic& );
|
||||
|
||||
Q_SIGNALS:
|
||||
|
Loading…
x
Reference in New Issue
Block a user