klineeditdlg.cpp
TQPushButton * addButton(const TQString &text, bool noexpand=false)
Add a new TQPushButton.
Definition: kbuttonbox.cpp:98
void layout()
This function must be called once after all buttons have been inserted.
Definition: kbuttonbox.cpp:163
A dialog base class with standard buttons and predefined layouts.
Definition: kdialogbase.h:192
void enableButton(ButtonCode id, bool state)
Enable or disable (gray out) a general action button.
Definition: kdialogbase.cpp:838
TQFrame * plainPage()
Retrieve the empty page when the predefined layout is used in Plain mode.
Definition: kdialogbase.cpp:420
void enableButtonOK(bool state)
Enable or disable (gray out) the OK button.
Definition: kdialogbase.cpp:848
void cancel()
Force closing the dialog, setting its result code to the one Esc would set.
Definition: kdialogbase.cpp:1632
static int spacingHint()
Return the number of pixels you shall use between widgets inside a dialog according to the KDE standa...
Definition: kdialog.cpp:110
virtual void setCaption(const TQString &caption)
Make a KDE compliant caption.
Definition: kdialog.cpp:122
Definition: klineeditdlg.h:39
KLineEditDlg(const TQString &_text, const TQString &_value, TQWidget *parent) TDE_DEPRECATED
Create a dialog that asks for a single line of text.
Definition: klineeditdlg.cpp:37
static TQString getText(const TQString &text, const TQString &value, bool *ok, TQWidget *parent, TQValidator *validator=0) TDE_DEPRECATED
Static convenience function to get a textual input from the user.
Definition: klineeditdlg.cpp:159
void slotTextChanged(const TQString &)
Enables and disables the OK button depending on the state returned by the lineedit's TQValidator.
Definition: klineeditdlg.cpp:139
virtual void setText(const TQString &)
Re-implemented to enable text squeezing.
Definition: klineedit.cpp:310
virtual void setCompletionObject(TDECompletion *, bool hsig=true)
Reimplemented for internal reasons, the API is not affected.
Definition: klineedit.cpp:1270
void setAutoDeleteCompletionObject(bool autoDelete)
TDEAction * clear(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Clear the content of the focus widget.
Definition: kstdaction.cpp:176
const TDEShortcut & completion()