Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ComboboxHelper Struct Reference

ComboboxHelper with a small Helper for Configuring it. More...

#include </home/clem/local/src/opie/noncore/apps/opie-console/comboboxhelper.h>

List of all members.

Static Public Member Functions

static void setCurrent (const QString &, QComboBox *)
 Set string to be Current String inside the QCombox without duplicating it.


Detailed Description

ComboboxHelper with a small Helper for Configuring it.

ComboboxHelper contains methods for helping managing Comboboxes with 'dynamic' data. All Methods related to this class are static and operate on a QComboBox.

Definition at line 45 of file comboboxhelper.h.


Member Function Documentation

void ComboboxHelper::setCurrent const QString str,
QComboBox *  bo
[static]
 

Set string to be Current String inside the QCombox without duplicating it.

This method will make

str the current QString. If
the QString is already inside the QComboBox it will be set current. If it isn't it will be added.
Parameters:
str The QString to be set current
bo The QComboBox to operate on

Definition at line 44 of file comboboxhelper.cpp.

References i.

Referenced by ProfileEditorDialog::initUI(), SerialConfigWidget::load(), ModemConfigWidget::load(), and BTConfigWidget::load().


The documentation for this struct was generated from the following files:
Generated on Sat Nov 5 17:29:16 2005 for OPIE by  doxygen 1.4.2