class KLineEditDlg

Dialog for user to enter a single line of text. More...

Definition#include <klineeditdlg.h>
InheritsKDialogBase
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots

Protected Slots

Protected Members


Detailed Description

Dialog for user to enter a single line of text. Includes support for URL completion with KURLCompletion.

KLineEditDlg ( const QString& _text, const QString& _value, QWidget *parent, bool _file_mode = FALSE )

Create a dialog that asks for a single line of text. _value is the initial value of the line. _text appears as label on top of the entry box.

Parameters:
_textText of the label
_valueInitial value of the inputline
_file_modeif set to TRUE, the editor widget will provide command completion ( Ctrl-S and Ctrl-D ), and a browse button for the local file system.

QString text ()

Returns: the value the user entered

void slotClear ()
[slot]

Clears the edit widget

void slotBrowse ()
[protected slot]

use a QFileDialog to find a file to view.

QLineEdit * edit
[protected]

The line edit widget

KURLCompletion * completion
[protected]

Completion helper ..