Diffstat (limited to 'noncore/net/opieftp/inputDialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieftp/inputDialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/net/opieftp/inputDialog.cpp b/noncore/net/opieftp/inputDialog.cpp index 89b345e..373db3b 100644 --- a/noncore/net/opieftp/inputDialog.cpp +++ b/noncore/net/opieftp/inputDialog.cpp @@ -25,16 +25,20 @@ InputDialog::InputDialog( QWidget* parent, const char* name, bool modal, WFlags if ( !name ) setName( "InputDialog" ); resize( 234, 50 ); setMaximumSize( QSize( 240, 50 ) ); setCaption( tr(name ) ); LineEdit1 = new QLineEdit( this, "LineEdit1" ); LineEdit1->setGeometry( QRect( 10, 10, 216, 22 ) ); } InputDialog::~InputDialog() { inputText= LineEdit1->text(); } +void InputDialog::setTextEdit(const QString &string) +{ + LineEdit1->setText(string); +} |