.TH "KComboBox" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KComboBox \- An enhanced combo box.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kcombobox.h>\fP
.PP
Inherits \fBQComboBox\fP, and \fBKCompletionBase\fP.
.PP
Inherited by \fBKFontCombo\fP, \fBKHistoryCombo\fP, and \fBKURLComboBox\fP.
.PP
.SS "Public Slots"

.in +1c
.ti -1c
.RI "void \fBrotateText\fP (\fBKCompletionBase::KeyBindingType\fP type)"
.br
.ti -1c
.RI "virtual void \fBsetCompletedText\fP (const \fBQString\fP &)"
.br
.ti -1c
.RI "void \fBsetCompletedItems\fP (const \fBQStringList\fP &items)"
.br
.ti -1c
.RI "void \fBsetCurrentItem\fP (const \fBQString\fP &item, bool insert=false, int index=-1)"
.br
.ti -1c
.RI "void \fBsetCurrentItem\fP (int index)"
.br
.in -1c
.SS "Signals"

.in +1c
.ti -1c
.RI "void \fBreturnPressed\fP ()"
.br
.ti -1c
.RI "void \fBreturnPressed\fP (const \fBQString\fP &)"
.br
.ti -1c
.RI "void \fBcompletion\fP (const \fBQString\fP &)"
.br
.ti -1c
.RI "void \fBsubstringCompletion\fP (const \fBQString\fP &)"
.br
.ti -1c
.RI "void \fBtextRotation\fP (\fBKCompletionBase::KeyBindingType\fP)"
.br
.ti -1c
.RI "void \fBcompletionModeChanged\fP (\fBKGlobalSettings::Completion\fP)"
.br
.ti -1c
.RI "void \fBaboutToShowContextMenu\fP (\fBQPopupMenu\fP *p)"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKComboBox\fP (\fBQWidget\fP *parent=0, const char *name=0)"
.br
.ti -1c
.RI "\fBKComboBox\fP (bool rw, \fBQWidget\fP *parent=0, const char *name=0)"
.br
.ti -1c
.RI "virtual \fB~KComboBox\fP ()"
.br
.ti -1c
.RI "void \fBsetEditURL\fP (const \fBKURL\fP &url)"
.br
.ti -1c
.RI "void \fBinsertURL\fP (const \fBKURL\fP &url, int index=-1)"
.br
.ti -1c
.RI "void \fBinsertURL\fP (const \fBQPixmap\fP &\fBpixmap\fP, const \fBKURL\fP &url, int index=-1)"
.br
.ti -1c
.RI "void \fBchangeURL\fP (const \fBKURL\fP &url, int index)"
.br
.ti -1c
.RI "void \fBchangeURL\fP (const \fBQPixmap\fP &\fBpixmap\fP, const \fBKURL\fP &url, int index)"
.br
.ti -1c
.RI "int \fBcursorPosition\fP () const "
.br
.ti -1c
.RI "virtual void \fBsetAutoCompletion\fP (bool autocomplete)"
.br
.ti -1c
.RI "bool \fBautoCompletion\fP () const "
.br
.ti -1c
.RI "virtual void \fBsetContextMenuEnabled\fP (bool showMenu)"
.br
.ti -1c
.RI "bool \fBisContextMenuEnabled\fP () const "
.br
.ti -1c
.RI "void \fBsetURLDropsEnabled\fP (bool enable)"
.br
.ti -1c
.RI "bool \fBisURLDropsEnabled\fP () const "
.br
.ti -1c
.RI "bool \fBcontains\fP (const \fBQString\fP &\fBtext\fP) const "
.br
.ti -1c
.RI "void \fBsetTrapReturnKey\fP (bool trap)"
.br
.ti -1c
.RI "bool \fBtrapReturnKey\fP () const "
.br
.ti -1c
.RI "virtual bool \fBeventFilter\fP (\fBQObject\fP *, \fBQEvent\fP *)"
.br
.ti -1c
.RI "\fBKCompletionBox\fP * \fBcompletionBox\fP (bool create=true)"
.br
.ti -1c
.RI "virtual void \fBsetLineEdit\fP (\fBQLineEdit\fP *)"
.br
.in -1c
.SS "Protected Slots"

.in +1c
.ti -1c
.RI "virtual void \fBitemSelected\fP (\fBQListBoxItem\fP *)"
.br
.ti -1c
.RI "virtual void \fBmakeCompletion\fP (const \fBQString\fP &)"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBsetCompletedText\fP (const \fBQString\fP &, bool)"
.br
.ti -1c
.RI "virtual void \fBcreate\fP (WId=0, bool initializeWindow=true, bool destroyOldWindow=true)"
.br
.ti -1c
.RI "virtual void \fBwheelEvent\fP (\fBQWheelEvent\fP *ev)"
.br
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SS "Properties"

.in +1c
.ti -1c
.RI "bool \fBautoCompletion\fP"
.br
.ti -1c
.RI "bool \fBcontextMenuEnabled\fP"
.br
.ti -1c
.RI "bool \fBurlDropsEnabled\fP"
.br
.ti -1c
.RI "bool \fBtrapReturnKey\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
An enhanced combo box. 

A combined button, line-edit and a popup list widget.
.PP
\fBDetail\fP 
.br
.PP
This widget inherits from \fBQComboBox\fP and implements the following additional functionalities: a completion object that provides both automatic and manual text completion as well as text rotation features, configurable key-bindings to activate these features, and a popup-menu item that can be used to allow the user to change the text completion mode on the fly.
.PP
To support these new features KComboBox emits a few additional signals such as \fBcompletion( const QString& )\fP and textRotation( KeyBindgingType ). The completion signal can be connected to a slot that will assist the user in filling out the remaining text while the rotation signal can be used to traverse through all possible matches whenever text completion results in multiple matches. Additionally, a \fBreturnPressed()\fP and a \fBreturnPressed( const QString& )\fP signals are emitted when the user presses the Enter/Return key.
.PP
KCombobox by default creates a completion object when you invoke the \fBcompletionObject( bool )\fP member function for the first time or explicitly use \fBsetCompletionObject( KCompletion*, bool )\fP to assign your own completion object. Additionally, to make this widget more functional, KComboBox will by default handle text rotation and completion events internally whenever a completion object is created through either one of the methods mentioned above. If you do not need this functionality, simply use \fBKCompletionBase::setHandleSignals(bool)\fP or alternatively set the boolean parameter in the \fCsetCompletionObject\fP call to false.
.PP
Beware: The completion object can be deleted on you, especially if a call such as setEditable(false) is made. Store the pointer at your own risk, and consider using QGuardedPtr<KCompletion>.
.PP
The default key-bindings for completion and rotation is determined from the global settings in \fBKStdAccel\fP. These values, however, can be overridden locally by invoking \fBKCompletionBase::setKeyBinding()\fP. The values can easily be reverted back to the default setting, by simply calling useGlobalSettings(). An alternate method would be to default individual key-bindings by usning \fBsetKeyBinding()\fP with the default second argument.
.PP
A non-editable combobox only has one completion mode, \fCCompletionAuto\fP. Unlike an editable combobox the CompletionAuto mode, works by matching any typed key with the first letter of entries in the combobox. Please note that if you call setEditable( false ) to change an editable combobox to a non-editable one, the text completion object associated with the combobox will no longer exist unless you created the completion object yourself and assigned it to this widget or you called setAutoDeleteCompletionObject( false ). In other words do not do the following:
.PP
.PP
.nf
 KComboBox* combo = new KCompletionBox(true, this, 'mywidget');
 KCompletion* comp = combo->completionObject();
 combo->setEditable( false );
 comp->clear(); // CRASH: completion object does not exist anymore.
.fi
.PP
.PP
A read-only KComboBox will have the same background color as a disabled KComboBox, but its foreground color will be the one used for the read-write mode. This differs from QComboBox's implementation and is done to give visual distinction between the three different modes: disabled, read-only, and read-write.
.PP
\fBUsage\fP 
.br
.PP
To enable the basic completion feature:
.PP
.PP
.nf
 KComboBox *combo = new KComboBox( true, this, 'mywidget' );
 KCompletion *comp = combo->completionObject();
 // Connect to the return pressed signal - optional
 connect(combo,SIGNAL(returnPressed(const QString&)),comp,SLOT(addItem(const QString&)));

 // Provide the to be completed strings. Note that those are separate from the combo's
 // contents.
 comp->insertItems( someQStringList );
.fi
.PP
.PP
To use your own completion object:
.PP
.PP
.nf
 KComboBox *combo = new KComboBox( this,'mywidget' );
 KURLCompletion *comp = new KURLCompletion();
 combo->setCompletionObject( comp );
 // Connect to the return pressed signal - optional
 connect(combo,SIGNAL(returnPressed(const QString&)),comp,SLOT(addItem(const QString&)));
.fi
.PP
.PP
Note that you have to either delete the allocated completion object when you don't need it anymore, or call setAutoDeleteCompletionObject( true );
.PP
Miscellaneous function calls:
.PP
.PP
.nf
 // Tell the widget not to handle completion and rotation
 combo->setHandleSignals( false );
 // Set your own completion key for manual completions.
 combo->setKeyBinding( KCompletionBase::TextCompletion, Qt::End );
 // Hide the context (popup) menu
 combo->setContextMenuEnabled( false );
.fi
.PP
.PP
\fBAuthor:\fP
.RS 4
Dawit Alemayehu <adawit@kde.org> 
.RE
.PP

.PP
Definition at line 144 of file kcombobox.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KComboBox::KComboBox (\fBQWidget\fP * parent = \fC0\fP, const char * name = \fC0\fP)"
.PP
Constructs a read-only or rather select-only combo box with a parent object and a name. 
.PP
\fBParameters:\fP
.RS 4
\fIparent\fP The parent object of this widget 
.br
\fIname\fP The name of this widget 
.RE
.PP

.PP
Definition at line 59 of file kcombobox.cpp.
.SS "KComboBox::KComboBox (bool rw, \fBQWidget\fP * parent = \fC0\fP, const char * name = \fC0\fP)"
.PP
Constructs a 'read-write' or 'read-only' combo box depending on the value of the first argument( \fCrw\fP ) with a parent, a name. 
.PP
\fBParameters:\fP
.RS 4
\fIrw\fP When \fCtrue\fP, widget will be editable. 
.br
\fIparent\fP The parent object of this widget. 
.br
\fIname\fP The name of this widget. 
.RE
.PP

.PP
Definition at line 65 of file kcombobox.cpp.
.PP
References setLineEdit().
.SS "KComboBox::~\fBKComboBox\fP ()\fC [virtual]\fP"
.PP
Destructor. 
.PP
Definition at line 77 of file kcombobox.cpp.
.SH "Member Function Documentation"
.PP 
.SS "void KComboBox::setEditURL (const \fBKURL\fP & url)"
.PP
Sets \fCurl\fP into the edit field of the combobox. 
.PP
It uses \fBKURL::prettyURL()\fP so that the url is properly decoded for displaying. 
.PP
Definition at line 197 of file kcombobox.cpp.
.PP
References QComboBox::setEditText().
.SS "void KComboBox::insertURL (const \fBKURL\fP & url, int index = \fC-1\fP)"
.PP
Inserts \fCurl\fP at position \fCindex\fP into the combobox. 
.PP
The item will be appended if \fCindex\fP is negative. \fBKURL::prettyURL()\fP is used so that the url is properly decoded for displaying. 
.PP
Definition at line 202 of file kcombobox.cpp.
.PP
References QComboBox::insertItem().
.SS "void KComboBox::insertURL (const \fBQPixmap\fP & pixmap, const \fBKURL\fP & url, int index = \fC-1\fP)"
.PP
Inserts \fCurl\fP with the pixmap &p pixmap at position \fCindex\fP into the combobox. 
.PP
The item will be appended if \fCindex\fP is negative. \fBKURL::prettyURL()\fP is used so that the url is properly decoded for displaying. 
.PP
Definition at line 207 of file kcombobox.cpp.
.PP
References QComboBox::insertItem().
.SS "void KComboBox::changeURL (const \fBKURL\fP & url, int index)"
.PP
Replaces the item at position \fCindex\fP with \fCurl\fP. 
.PP
\fBKURL::prettyURL()\fP is used so that the url is properly decoded for displaying. 
.PP
Definition at line 212 of file kcombobox.cpp.
.PP
References QComboBox::changeItem().
.SS "void KComboBox::changeURL (const \fBQPixmap\fP & pixmap, const \fBKURL\fP & url, int index)"
.PP
Replaces the item at position \fCindex\fP with \fCurl\fP and pixmap \fCpixmap\fP. 
.PP
\fBKURL::prettyURL()\fP is used so that the url is properly decoded for displaying. 
.PP
Definition at line 217 of file kcombobox.cpp.
.PP
References QComboBox::changeItem().
.SS "int KComboBox::cursorPosition () const\fC [inline]\fP"
.PP
Returns the current cursor position. 
.PP
This method always returns a -1 if the combo-box is \fInot\fP editable (read-write).
.PP
\fBReturns:\fP
.RS 4
Current cursor position. 
.RE
.PP

.PP
Definition at line 223 of file kcombobox.h.
.PP
References QComboBox::lineEdit().
.SS "void KComboBox::setAutoCompletion (bool autocomplete)\fC [virtual]\fP"
.PP
Re-implemented from \fBQComboBox\fP. 
.PP
If \fCtrue\fP, the completion mode will be set to automatic. Otherwise, it is defaulted to the global setting. This method has been replaced by the more comprehensive \fBsetCompletionMode()\fP.
.PP
\fBParameters:\fP
.RS 4
\fIautocomplete\fP Flag to enable/disable automatic completion mode. 
.RE
.PP

.PP
Reimplemented from \fBQComboBox\fP.
.PP
Definition at line 107 of file kcombobox.cpp.
.PP
References KCompletionBase::setCompletionMode().
.SS "bool KComboBox::autoCompletion () const\fC [inline]\fP"
.PP
Re-implemented from \fBQComboBox\fP. 
.PP
Returns \fCtrue\fP if the current completion mode is set to automatic. See its more comprehensive replacement \fBcompletionMode()\fP.
.PP
\fBReturns:\fP
.RS 4
\fCtrue\fP when completion mode is automatic. 
.RE
.PP

.PP
Reimplemented from \fBQComboBox\fP.
.PP
Definition at line 246 of file kcombobox.h.
.PP
References KCompletionBase::completionMode().
.SS "void KComboBox::setContextMenuEnabled (bool showMenu)\fC [virtual]\fP"
.PP
Enables or disable the popup (context) menu. 
.PP
This method only works if this widget is editable, i.e. read-write and allows you to enable/disable the context menu. It does nothing if invoked for a none-editable combo-box. Note that by default the mode changer item is made visiable whenever the context menu is enabled. Use hideModechanger() if you want to hide this item. Also by default, the context menu is created if this widget is editable. Call this function with the argument set to false to disable the popup menu.
.PP
\fBParameters:\fP
.RS 4
\fIshowMenu\fP If \fCtrue\fP, show the context menu. 
.RE
.PP

.PP
Definition at line 124 of file kcombobox.cpp.
.SS "bool KComboBox::isContextMenuEnabled () const\fC [inline]\fP"
.PP
Returns \fCtrue\fP when the context menu is enabled. 
.PP
Definition at line 270 of file kcombobox.h.
.SS "void KComboBox::setURLDropsEnabled (bool enable)"
.PP
Enables/Disables handling of URL drops. 
.PP
If enabled and the user drops an URL, the decoded URL will be inserted. Otherwise the default behavior of \fBQComboBox\fP is used, which inserts the encoded URL.
.PP
\fBParameters:\fP
.RS 4
\fIenable\fP If \fCtrue\fP, insert decoded URLs 
.RE
.PP

.PP
Definition at line 131 of file kcombobox.cpp.
.SS "bool KComboBox::isURLDropsEnabled () const"
.PP
Returns \fCtrue\fP when decoded URL drops are enabled. 
.PP
Definition at line 137 of file kcombobox.cpp.
.SS "bool KComboBox::contains (const \fBQString\fP & text) const"
.PP
Convenience method which iterates over all items and checks if any of them is equal to \fCtext\fP. 
.PP
If \fCtext\fP is an empty string, \fCfalse\fP is returned.
.PP
\fBReturns:\fP
.RS 4
\fCtrue\fP if an item with the string \fCtext\fP is in the combobox. 
.RE
.PP

.PP
Definition at line 93 of file kcombobox.cpp.
.PP
References QComboBox::count(), and QComboBox::text().
.PP
Referenced by KHistoryCombo::addToHistory(), and KHistoryCombo::keyPressEvent().
.SS "void KComboBox::setTrapReturnKey (bool trap)"
.PP
By default, KComboBox recognizes Key_Return and Key_Enter and emits the \fBreturnPressed()\fP signals, but it also lets the event pass, for example causing a dialog's default-button to be called. 
.PP
Call this method with \fCtrap\fP equal to true to make KComboBox stop these events. The signals will still be emitted of course.
.PP
Only affects read-writable comboboxes.
.PP
\fBSee also:\fP
.RS 4
\fBsetTrapReturnKey()\fP 
.RE
.PP

.PP
Definition at line 183 of file kcombobox.cpp.
.SS "bool KComboBox::trapReturnKey () const"
.PP
\fBReturns:\fP
.RS 4
\fCtrue\fP if keyevents of Key_Return or Key_Enter will be stopped or if they will be propagated.
.RE
.PP
\fBSee also:\fP
.RS 4
\fBsetTrapReturnKey\fP () 
.RE
.PP

.SS "bool KComboBox::eventFilter (\fBQObject\fP *, \fBQEvent\fP *)\fC [virtual]\fP"
.PP
Re-implemented for internal reasons. 
.PP
API not affected. 
.PP
Definition at line 178 of file kcombobox.cpp.
.SS "\fBKCompletionBox\fP * KComboBox::completionBox (bool create = \fCtrue\fP)"
.PP
\fBReturns:\fP
.RS 4
the completion-box, that is used in completion mode \fBKGlobalSettings::CompletionPopup\fP and \fBKGlobalSettings::CompletionPopupAuto\fP. This method will create a completion-box by calling \fBKLineEdit::completionBox\fP, if none is there, yet.
.RE
.PP
\fBParameters:\fP
.RS 4
\fIcreate\fP Set this to false if you don't want the box to be created i.e. to test if it is available. 
.RE
.PP

.PP
Definition at line 228 of file kcombobox.cpp.
.SS "void KComboBox::setLineEdit (\fBQLineEdit\fP *)\fC [virtual]\fP"
.PP
Re-implemented for internal reasons. 
.PP
API remains unaffected. NOTE: Only editable comboboxes can have a line editor. As such any attempt to assign a line-edit to a non-editable combobox will simply be ignored. 
.PP
Reimplemented from \fBQComboBox\fP.
.PP
Definition at line 248 of file kcombobox.cpp.
.PP
References aboutToShowContextMenu(), QComboBox::activated(), completion(), completionModeChanged(), QComboBox::editable(), returnPressed(), KCompletionBase::setDelegate(), QComboBox::setLineEdit(), substringCompletion(), and textRotation().
.PP
Referenced by KComboBox().
.SS "void KComboBox::returnPressed ()\fC [signal]\fP"
.PP
Emitted when the user presses the Enter key. 
.PP
Note that this signal is only emitted when the widget is editable. 
.PP
Referenced by setLineEdit().
.SS "void KComboBox::returnPressed (const \fBQString\fP &)\fC [signal]\fP"
.PP
Emitted when the user presses the Enter key. 
.PP
The argument is the current text being edited. This signal is just like \fBreturnPressed()\fP except it contains the current text as its argument.
.PP
Note that this signal is only emitted when the widget is editable. 
.SS "void KComboBox::completion (const \fBQString\fP &)\fC [signal]\fP"
.PP
Emitted when the completion key is pressed. 
.PP
The argument is the current text being edited.
.PP
Note that this signal is \fInot\fP available when the widget is non-editable or the completion mode is set to \fC\fBKGlobalSettings::CompletionNone\fP\fP. 
.PP
Referenced by setLineEdit().
.SS "void KComboBox::substringCompletion (const \fBQString\fP &)\fC [signal]\fP"
.PP
Emitted when the shortcut for substring completion is pressed. 
.PP
Referenced by setLineEdit().
.SS "void KComboBox::textRotation (\fBKCompletionBase::KeyBindingType\fP)\fC [signal]\fP"
.PP
Emitted when the text rotation key-bindings are pressed. 
.PP
The argument indicates which key-binding was pressed. In this case this can be either one of four values: \fCPrevCompletionMatch\fP, \fCNextCompletionMatch\fP, \fCRotateUp\fP or \fCRotateDown\fP. See \fBKCompletionBase::setKeyBinding()\fP for details.
.PP
Note that this signal is \fINOT\fP emitted if the completion mode is set to CompletionNone. 
.PP
Referenced by setLineEdit().
.SS "void KComboBox::completionModeChanged (\fBKGlobalSettings::Completion\fP)\fC [signal]\fP"
.PP
Emitted whenever the completion mode is changed by the user through the context menu. 
.PP
Referenced by setLineEdit().
.SS "void KComboBox::aboutToShowContextMenu (\fBQPopupMenu\fP * p)\fC [signal]\fP"
.PP
Emitted before the context menu is displayed. 
.PP
The signal allows you to add your own entries into the context menu. Note that you MUST NOT store the pointer to the \fBQPopupMenu\fP since it is created and deleted on demand. Otherwise, you can crash your app.
.PP
\fBParameters:\fP
.RS 4
\fIp\fP the context menu about to be displayed 
.RE
.PP

.PP
Referenced by setLineEdit().
.SS "void KComboBox::rotateText (\fBKCompletionBase::KeyBindingType\fP type)\fC [slot]\fP"
.PP
Iterates through all possible matches of the completed text or the history list. 
.PP
Depending on the value of the argument, this function either iterates through the history list of this widget or the all possible matches in whenever multiple matches result from a text completion request. Note that the all-possible-match iteration will not work if there are no previous matches, i.e. no text has been completed and the *nix shell history list rotation is only available if the insertion policy for this widget is set either \fCQComobBox::AtTop\fP or \fCQComboBox::AtBottom\fP. For other insertion modes whatever has been typed by the user when the rotation event was initiated will be lost.
.PP
\fBParameters:\fP
.RS 4
\fItype\fP The key-binding invoked. 
.RE
.PP

.PP
Definition at line 171 of file kcombobox.cpp.
.SS "void KComboBox::setCompletedText (const \fBQString\fP &)\fC [virtual, slot]\fP"
.PP
Sets the completed text in the line-edit appropriately. 
.PP
This function is an implementation for \fBKCompletionBase::setCompletedText\fP. 
.PP
Implements \fBKCompletionBase\fP.
.PP
Definition at line 149 of file kcombobox.cpp.
.SS "void KComboBox::setCompletedItems (const \fBQStringList\fP & items)\fC [virtual, slot]\fP"
.PP
Sets \fCitems\fP into the completion-box if \fBcompletionMode()\fP is CompletionPopup. 
.PP
The popup will be shown immediately. 
.PP
Implements \fBKCompletionBase\fP.
.PP
Definition at line 222 of file kcombobox.cpp.
.SS "void KComboBox::setCurrentItem (const \fBQString\fP & item, bool insert = \fCfalse\fP, int index = \fC-1\fP)\fC [slot]\fP"
.PP
Selects the first item that matches \fCitem\fP. 
.PP
If there is no such item, it is inserted at position \fCindex\fP if \fCinsert\fP is true. Otherwise, no item is selected. 
.PP
Definition at line 305 of file kcombobox.cpp.
.PP
References QComboBox::count(), QComboBox::insertItem(), and QComboBox::text().
.PP
Referenced by KHistoryCombo::addToHistory(), makeCompletion(), and KToolBar::setCurrentComboItem().
.SS "void KComboBox::setCurrentItem (int index)\fC [inline, slot]\fP"
.PP
Simply calls QComboBox' implementation. 
.PP
Only here to not become shadowed. 
.PP
Reimplemented from \fBQComboBox\fP.
.PP
Reimplemented in \fBKFontCombo\fP.
.PP
Definition at line 453 of file kcombobox.h.
.PP
References QComboBox::setCurrentItem().
.SS "virtual void KComboBox::itemSelected (\fBQListBoxItem\fP *)\fC [inline, protected, virtual, slot]\fP"
.PP
\fBDeprecated\fP
.RS 4
.RE
.PP

.PP
Definition at line 460 of file kcombobox.h.
.SS "void KComboBox::makeCompletion (const \fBQString\fP &)\fC [protected, virtual, slot]\fP"
.PP
Completes text according to the completion mode. 
.PP
Note: this method is \fCnot\fP invoked if the completion mode is set to CompletionNone. Also if the mode is set to \fCCompletionShell\fP and multiple matches are found, this method will complete the text to the first match with a beep to inidicate that there are more matches. Then any successive completion key event iterates through the remaining matches. This way the rotation functionality is left to iterate through the list as usual. 
.PP
Definition at line 155 of file kcombobox.cpp.
.PP
References QComboBox::listBox(), and setCurrentItem().
.SS "void KComboBox::create (WId = \fC0\fP, bool initializeWindow = \fCtrue\fP, bool destroyOldWindow = \fCtrue\fP)\fC [protected, virtual]\fP"
.PP
Reimplemented for internal reasons, the API is not affected. 
.PP
Definition at line 236 of file kcombobox.cpp.
.PP
References QComboBox::lineEdit(), and KCursor::setAutoHideCursor().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdeui Library from the source code.
