implement the setter
svn path=/trunk/KDE/kdelibs/; revision=1161802
This commit is contained in:
parent
84233ee261
commit
fa1350c34c
@ -332,6 +332,11 @@ int ComboBox::currentIndex() const
|
||||
return nativeWidget()->currentIndex();
|
||||
}
|
||||
|
||||
void ComboBox::setCurrentIndex(int index)
|
||||
{
|
||||
nativeWidget()->setCurrentIndex(index);
|
||||
}
|
||||
|
||||
} // namespace Plasma
|
||||
|
||||
#include <combobox.moc>
|
||||
|
@ -99,6 +99,12 @@ public:
|
||||
*/
|
||||
int currentIndex() const;
|
||||
|
||||
/**
|
||||
* Sets the current index of the combobox
|
||||
* @since 4.6
|
||||
*/
|
||||
void setCurrentIndex(int index);
|
||||
|
||||
public Q_SLOTS:
|
||||
void clear();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user