From 0d336f310b310ba18af70185eed58be6e07c26d8 Mon Sep 17 00:00:00 2001 From: harlekin Date: Mon, 19 Aug 2002 21:11:10 +0000 Subject: fixes --- (limited to 'noncore/multimedia/opieplayer2/inputDialog.cpp') diff --git a/noncore/multimedia/opieplayer2/inputDialog.cpp b/noncore/multimedia/opieplayer2/inputDialog.cpp index c13ea63..9edb1d3 100644 --- a/noncore/multimedia/opieplayer2/inputDialog.cpp +++ b/noncore/multimedia/opieplayer2/inputDialog.cpp @@ -26,12 +26,16 @@ InputDialog::InputDialog( QWidget* parent, const char* name, bool modal, WFlags LineEdit1 = new QLineEdit( this, "LineEdit1" ); LineEdit1->setGeometry( QRect( 4, 10, 190, 22 ) ); } - +/* + * return the current text(input) + */ +QString InputDialog::text() const { + return LineEdit1->text(); +} /* * Destroys the object and frees any allocated resources */ InputDialog::~InputDialog() { - inputText= LineEdit1->text(); } void InputDialog::browse() { -- cgit v0.9.0.2