<HTML> <HEAD> <TITLE>class KLineEditDlg</TITLE> <META NAME="Generator" CONTENT="KDOC "> </HEAD> <BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff"> <TABLE WIDTH="100%" BORDER="0"> <TR> <TD> <TABLE BORDER="0"> <TR><TD valign="top" align="left" cellspacing="10"> <h1>class KLineEditDlg</h1> </TD> <TD valign="top" align="right" colspan="1"> Dialog for user to enter a single line of text. <small><A HREF="#longdesc">More...</A></small></TD></TR> </TABLE> <HR> <TABLE BORDER="0"> <TR><TH>Definition</TH><TD><code>#include <<A HREF="klineeditdlg_h.html">klineeditdlg.h</A>></code></TD></TR> <TR><TH>Inherits</TH><TD><A HREF="KDialogBase.html">KDialogBase</A> <small>[public ]</small></TD></TR> <TR><TH><A HREF="full-list-KLineEditDlg.html">List of all Methods</A></TH></TR> </TABLE> </TD> <TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR> <TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR> <TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR> <TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR> <TR><TD><small><A HREF="index.html">Index</A></small></TD></TR> </TABLE></TD></TR></TABLE> <h4>Public Methods</h4><ul><LI> <b><A HREF="#ref1">KLineEditDlg</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _text, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _value, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent ) </LI> <LI>virtual <b><A HREF="#ref2">~KLineEditDlg</A></b> () </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> <b><A HREF="#ref3">text</A></b> () </LI> </ul><h4>Public Slots</h4><ul><LI>void <b><A HREF="#ref5">slotClear</A></b> () </LI> </ul><h4>Public Static Methods</h4><ul><LI>static <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> <b><A HREF="#ref4">getText</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &_text, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _value, bool *ok, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent ) </LI> </ul><h4>Protected Members</h4><ul><LI>QLineEdit *<b><A HREF="#ref6">edit</A></b></LI> </ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> Dialog for user to enter a single line of text. </p> <p></p> <A NAME="KLineEditDlg"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>KLineEditDlg</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _text, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _value, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent ) <br></td><td align="right"><h3><strong>KLineEditDlg</strong></h3></td></tr></table><p></p><p> 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. </p> <p></p> <p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5"> <TR><TD align="left" valign="top"><i>_text</i></TD><TD align="left" valign="top">Text of the label </TD></TR> <TR><TD align="left" valign="top"><i>_value</i></TD><TD align="left" valign="top">Initial value of the inputline </TD></TR> </TABLE></P> <A NAME="~KLineEditDlg"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>~KLineEditDlg</strong> () <br></td><td align="right"><h3><strong>~KLineEditDlg</strong></h3></td></tr></table><p> <small>[virtual]</small></p><A NAME="text"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> <strong>text</strong> () <br></td><td align="right"><h3><strong>text</strong></h3></td></tr></table><p></p><p> </p> <p><b>Returns</b>: the value the user entered </p> <A NAME="getText"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> <strong>getText</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &_text, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _value, bool *ok, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent ) <br></td><td align="right"><h3><strong>getText</strong></h3></td></tr></table><p> <small>[static]</small></p><p> Static convenience function to get a textual input from the user. </p> <p></p> <p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5"> <TR><TD align="left" valign="top"><i>_text</i></TD><TD align="left" valign="top">Text of the label </TD></TR> <TR><TD align="left" valign="top"><i>_value</i></TD><TD align="left" valign="top">Initial value of the inputline </TD></TR> <TR><TD align="left" valign="top"><i>ok</i></TD><TD align="left" valign="top">this bool will be set to true if user pressed "Ok" </TD></TR> </TABLE></P> <A NAME="slotClear"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>slotClear</strong> () <br></td><td align="right"><h3><strong>slotClear</strong></h3></td></tr></table><p> <small>[slot]</small></p><p> Clears the edit widget </p> <A NAME="edit"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qlineedit.html">QLineEdit</A> * <strong>edit</strong> </td><td align="right"><h3><strong>edit</strong></h3></td></tr></table><p> <small>[protected]</small></p><HR><UL><LI><i>Version</i>: $Id: klineeditdlg.h,v 1.9 2000/03/24 18:25:19 wgreven Exp $ </LI><LI><i>Author</i>: David Faure <faure@kde.org>, layout management by Preston Brown <pbrown@kde.org> </LI><LI><i>Generated</i>: qateam on updates.mandrakesoft.com on Mon Dec 30 16:09:05 2002, using kdoc 2.0a53.</LI></UL></BODY></HTML>