|
|
@ -33,7 +33,7 @@ class KEditListBoxPrivate;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* An editable listbox
|
|
|
|
* An editable listbox
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* This class provides a editable listbox ;-), this means
|
|
|
|
* This class provides an editable listbox ;-), this means
|
|
|
|
* a listbox which is accompanied by a line edit to enter new
|
|
|
|
* a listbox which is accompanied by a line edit to enter new
|
|
|
|
* items into the listbox and pushbuttons to add and remove
|
|
|
|
* items into the listbox and pushbuttons to add and remove
|
|
|
|
* items from the listbox and two buttons to move items up and down.
|
|
|
|
* items from the listbox and two buttons to move items up and down.
|
|
|
@ -199,25 +199,58 @@ public:
|
|
|
|
void changed();
|
|
|
|
void changed();
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* This signal is emitted when the user adds a new string to the list,
|
|
|
|
* This signal is emitted when the user adds a new string to the list.
|
|
|
|
* the parameter is the added string.
|
|
|
|
* @param text is the added string.
|
|
|
|
* @since 3.2
|
|
|
|
* @since 3.2
|
|
|
|
|
|
|
|
* @see added( int item, const TQString & text )
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
void added( const TQString & text );
|
|
|
|
void added( const TQString & text );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* This signal is emitted when the user removes a string from the list,
|
|
|
|
* This signal is emitted when the user adds a new string to the list.
|
|
|
|
* the parameter is the removed string.
|
|
|
|
* @param item is the added item's position in the list.
|
|
|
|
|
|
|
|
* @param text is the added string.
|
|
|
|
|
|
|
|
* @since R14.1.0
|
|
|
|
|
|
|
|
* @see added( const TQString & text )
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
void added( int item, const TQString & text );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* This signal is emitted when the user removes a string from the list.
|
|
|
|
|
|
|
|
* @param text is the removed string.
|
|
|
|
* @since 3.2
|
|
|
|
* @since 3.2
|
|
|
|
|
|
|
|
* @see removed( int item, const TQString & text )
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
void removed( const TQString & text );
|
|
|
|
void removed( const TQString & text );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* This signal is emitted when the user removes a string from the list.
|
|
|
|
|
|
|
|
* @param item is the removed item's position in the list.
|
|
|
|
|
|
|
|
* @param text is the removed string.
|
|
|
|
|
|
|
|
* @since R14.1.0
|
|
|
|
|
|
|
|
* @see removed( const TQString & text )
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
void removed( int item, const TQString & text );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* This signal is emitted when the user renames a list item.
|
|
|
|
* This signal is emitted when the user renames a list item.
|
|
|
|
|
|
|
|
* @param from is the original item's text.
|
|
|
|
|
|
|
|
* @param to is the new text of the item.
|
|
|
|
* @since R14.1.0
|
|
|
|
* @since R14.1.0
|
|
|
|
|
|
|
|
* @see renamed( int item, const TQString &from, const TQString &to )
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
void renamed( const TQString &from, const TQString &to );
|
|
|
|
void renamed( const TQString &from, const TQString &to );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* This signal is emitted when the user renames a list item.
|
|
|
|
|
|
|
|
* @param item is the renamed item's position in the list.
|
|
|
|
|
|
|
|
* @param from is the original item's text.
|
|
|
|
|
|
|
|
* @param to is the new text of the item.
|
|
|
|
|
|
|
|
* @since R14.1.0
|
|
|
|
|
|
|
|
* @see renamed( const TQString &from, const TQString &to )
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
void renamed( int item, const TQString &from, const TQString &to );
|
|
|
|
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
protected slots:
|
|
|
|
//the names should be self-explaining
|
|
|
|
//the names should be self-explaining
|
|
|
|
void moveItemUp();
|
|
|
|
void moveItemUp();
|
|
|
|