[mythtv] How to get the value of a HostLineEdit box in a plugin's settings window.

liran tal liransgarage at gmail.com
Thu Jun 29 10:02:54 UTC 2006


I'm writing a plugin for MythTV and I'd like to know how to receive the
value
the user writes on a HostLineEdit box after he presses enter, or when he
exists the window
by pressing the Finish button at the bottom.

The piece of code looks something like:

static HostLineEdit *MythEditBox()
{
       HostLineEdit *gc        gc->setLabel(QObject::tr("enter something here..."));

       // here comes the part where i need to know how to get the value
which is set for the edit box.
       // something like: variable 
       return gc;
}


The main purpose is that when the user inputs his settings and click the
finish button all the info will be
writen to a text file.


Thanks for the help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20060629/5c2332af/attachment.htm 


More information about the mythtv-dev mailing list