以下成員源於類 QTextCharFormat 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
QString
|
anchorName () const |
(obsolete)
void
|
setAnchorName (const QString & name ) |
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
This function is deprecated. Use anchorNames () 代替。
Returns the anchor name associated with this text format, or an empty string if none has been set. If the anchor name is set, text with this format can be the destination of a hypertext link.
另請參閱 setAnchorName ().
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
This function is deprecated. Use setAnchorNames () 代替。
設置文本格式的錨點 name . For the anchor to work as a hyperlink, the destination must be set with setAnchorHref () and the anchor must be enabled with setAnchor ().
另請參閱 anchorName ().