ipsservices/nmipssettings/inc/nmipssettingslabeledcombobox.h
changeset 72 64e38f08e49c
parent 27 9ba4404ef423
equal deleted inserted replaced
65:478bc57ad291 72:64e38f08e49c
    16 */
    16 */
    17 
    17 
    18 #ifndef NMIPSSETTINGSLABELEDCOMBOBOX_H
    18 #ifndef NMIPSSETTINGSLABELEDCOMBOBOX_H
    19 #define NMIPSSETTINGSLABELEDCOMBOBOX_H
    19 #define NMIPSSETTINGSLABELEDCOMBOBOX_H
    20 
    20 
    21 #include <qstringlist.h>
    21 #include <QStringList>
    22 #include <hbwidget.h>
    22 #include <QHash>
    23 #include <qhash.h>
    23 #include <HbWidget>
    24 
    24 
    25 class QGraphicsLinearLayout;
    25 class QGraphicsLinearLayout;
    26 class QGraphicsItem;
    26 class QGraphicsItem;
    27 class HbComboBox;
    27 class HbComboBox;
    28 class HbLabel;
    28 class HbLabel;
    36     Q_PROPERTY(QStringList labelTexts READ labelTexts WRITE setLabelTexts)
    36     Q_PROPERTY(QStringList labelTexts READ labelTexts WRITE setLabelTexts)
    37 
    37 
    38 public:
    38 public:
    39 
    39 
    40     NmIpsSettingsLabeledComboBox(QGraphicsItem *parent = 0, Qt::WindowFlags wFlags = 0);
    40     NmIpsSettingsLabeledComboBox(QGraphicsItem *parent = 0, Qt::WindowFlags wFlags = 0);
    41     virtual ~NmIpsSettingsLabeledComboBox();
    41     ~NmIpsSettingsLabeledComboBox();
    42 
    42 
    43     int currentIndex() const;
    43     int currentIndex() const;
    44     void setCurrentIndex(int index);
    44     void setCurrentIndex(int index);
    45 
    45 
    46     QStringList comboItems() const;
    46     QStringList comboItems() const;