# class KFontAction

###

Module | kdeui
Namespace |
Class | KFontAction
Inherits | KSelectAction

An action to select a font family. On a toolbar this will show a combobox with all the fonts on the system.

### methods

- KFontAction (fontListCriteria, parent)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  fontListCriteria | uint |
  parent | QObject |

- KFontAction (parent)

  returns ctor
  KDE 4.1.0 and later only

  Argument | Type | Default
  --- | --- | ---
  parent | QObject |

- KFontAction (text, parent)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  text | QString |
  parent | QObject |

- KFontAction (icon, text, parent)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  icon | KIcon |
  text | QString |
  parent | QObject |

- KFontAction (a0)

  returns ctor
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QObject |

- createWidget (parent)

  returns QWidget

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget |

- font ( )

  returns QString

- setFont (family)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  family | QString |