[eaf] connect

  • From: Kovács Gábor <zonder@xxxxxxxxxxxx>
  • To: eaf@xxxxxxxxxxxxx
  • Date: Sun, 06 May 2007 19:59:41 +0200

qmake et futtasd csak igy simán az fog csinálni egy moc_akármi.cpp nevü
fájlt



>From: "KELECSENYI Zoltan" <dolphinz@xxxxxxxxxxx>
>Reply-To: eaf@xxxxxxxxxxxxx
>To: eaf@xxxxxxxxxxxxx
>Subject: [eaf] connect
>Date: Mon, 23 Apr 2007 20:10:26 +0200
>
>Sziasztok!
>
>A Designerrel letettem egy QPushButton-t és ezután származtattam a Form1
>osztályt. osztáíy def. elejére odaírtam a Q_OBJECT- et.
>
>egy slot-ot is készítettem, ami most csak kiír valamit a konsole-ra.
>
>connect (((QPushButton*)pbutton_login), SIGNAL (clicked() ), this, SLOT
>(slotCheck() ) );
>
>fordítás után ezt a hibát kapom:
>
>mozilogin.h:20: error: no matching function for call to
>�MoziLogin::connect(QPushButton*, const char [11], MoziLogin* const, const
>char [13])�
>/usr/qt/3/include/qobject.h:116: note: candidates are: static bool
>QObject::connect(const QObject*, const char*, const QObject*, const char*)
>/usr/qt/3/include/qobject.h:226: note:                 bool
>QObject::connect(const QObject*, const char*, const char*) const
>make: *** [.obj/main.o] Error 1
>

-- 
Zonder

Other related posts: