Qt-interest Archive, July 2007
QLineEdit SIGNAL textEdited
Message 1 in thread
I would appreciate it if some one can tell me what I do wrong. I get a warning
"Object::connect: No such signal QLineEdit::textEdited(QString&text) "
QLineEdit *massEdit = new QLineEdit(this);
connect(massEdit, SIGNAL(textEdited ( const QString & text )), this,
SLOT(setModified( const QString & text)));
Any Help will be appreciated
Thanks in advance
Chris
--
[ signature omitted ]
Message 2 in thread
leave away the name of the parameters:
QLineEdit *massEdit = new QLineEdit(this);
connect(massEdit, SIGNAL(textEdited ( const QString &)), this,
SLOT(setModified( const QString &)));
Cheers,
Peter
> -----Original Message-----
> From: Chris [mailto:chris@xxxxxxxxxxxxxxx]
> Sent: Monday, July 02, 2007 3:13 PM
> To: qt-interest@xxxxxxxxxxxxx
> Subject: QLineEdit SIGNAL textEdited
>
> I would appreciate it if some one can tell me what I do wrong. I get a
> warning
> "Object::connect: No such signal QLineEdit::textEdited(QString&text) "
>
> QLineEdit *massEdit = new QLineEdit(this);
> connect(massEdit, SIGNAL(textEdited ( const QString & text )), this,
> SLOT(setModified( const QString & text)));
>
> Any Help will be appreciated
>
> Thanks in advance
>
> Chris
--
[ signature omitted ]
Message 3 in thread
On Monday 02 July 2007 16:14, Peter Prade wrote:
> leave away the name of the parameters:
> QLineEdit *massEdit = new QLineEdit(this);
> connect(massEdit, SIGNAL(textEdited ( const QString &)), this,
> SLOT(setModified( const QString &)));
>
> Cheers,
> Peter
>
> > -----Original Message-----
> > From: Chris [mailto:chris@xxxxxxxxxxxxxxx]
> > Sent: Monday, July 02, 2007 3:13 PM
> > To: qt-interest@xxxxxxxxxxxxx
> > Subject: QLineEdit SIGNAL textEdited
> >
> > I would appreciate it if some one can tell me what I do wrong. I get a
> > warning
> > "Object::connect: No such signal QLineEdit::textEdited(QString&text) "
> >
> > QLineEdit *massEdit = new QLineEdit(this);
> > connect(massEdit, SIGNAL(textEdited ( const QString & text )), this,
> > SLOT(setModified( const QString & text)));
> >
> > Any Help will be appreciated
> >
> > Thanks in advance
> >
> > Chris
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body. List archive and information:
> http://lists.trolltech.com/qt-interest/
Thank you very much
Chris
--
[ signature omitted ]