• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

messagelist

  • MessageList
  • Utils
  • ComboBoxUtils
Functions
MessageList::Utils::ComboBoxUtils Namespace Reference

Functions

void fillIntegerOptionCombo (KComboBox *combo, const QList< QPair< QString, int > > &optionDescriptors)
 
int getIntegerOptionComboValue (KComboBox *combo, int defaultValue)
 
void setIntegerOptionComboValue (KComboBox *combo, int value)
 

Detailed Description

Namespace containing some helper functions for KComboBox widgets.

Function Documentation

void MessageList::Utils::ComboBoxUtils::fillIntegerOptionCombo ( KComboBox *  combo,
const QList< QPair< QString, int > > &  optionDescriptors 
)

Fills the specified KComboBox with the options available in optionDescriptors.

Each option descriptor contains a description string and a distinct integer (possibly enum) identifier value.

Definition at line 29 of file comboboxutils.cpp.

int MessageList::Utils::ComboBoxUtils::getIntegerOptionComboValue ( KComboBox *  combo,
int  defaultValue 
)

Returns the identifier of the currently selected option in the specified combo.

If the combo has no current selection or something goes wrong then the defaultValue is returned instead.

Definition at line 71 of file comboboxutils.cpp.

void MessageList::Utils::ComboBoxUtils::setIntegerOptionComboValue ( KComboBox *  combo,
int  value 
)

Sets the currently selected option in the specified combo.

Definition at line 59 of file comboboxutils.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

messagelist

Skip menu "messagelist"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal