From kde-devel Mon Jul 31 14:41:24 2006 From: =?windows-1252?Q?Miguel_=C1ngel_Tribaldos?= Date: Mon, 31 Jul 2006 14:41:24 +0000 To: kde-devel Subject: Re: kdepim headers problem Message-Id: <44CE1694.80609 () teleco ! upv ! es> X-MARC-Message: https://marc.info/?l=kde-devel&m=115435694715312 In that case, I don't understand why Qt designer allows the insertion of these widgets (KDateEdit, KTimeEdit) on a form. When copying these headers locally the compiler outputs: g++ -c -pipe -Wall -W -g -D_REENTRANT -DDISABLE_SIMULATION -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG -I/usr/lib/qt-3.3/mkspecs/default -I. -I. -I./include -I/usr/include/GL -I/usr/include/pgsql/server -I/usr/include/kde -I/usr/share/apps -I/usr/lib/qt-3.3/include/qwt -I/usr/local/include/apwidgets -I/usr/local/include/apcpp -I/usr/lib/qt-3.3/include -Ioutput/ -Ioutput/ -o output/BaseHistoryWidget.o output/BaseHistoryWidget.cpp output/BaseHistoryWidget.cpp: In constructor ‘BaseHistoryWidget::BaseHistoryWidget(QWidget*, const char*, uint)’: output/BaseHistoryWidget.cpp:925: error: no se encuentra una función coincidente para la llamada a ‘KTimeEdit::KTimeEdit(QFrame*&, const char [13])’ ./ktimeedit.h:49: nota: los candidatos son: KTimeEdit::KTimeEdit(QWidget*, QTime, const char*) ./ktimeedit.h:45: nota: KTimeEdit::KTimeEdit(const KTimeEdit&) output/BaseHistoryWidget.cpp:937: error: no se encuentra una función coincidente para la llamada a ‘KTimeEdit::KTimeEdit(QFrame*&, const char [11])’ ./ktimeedit.h:49: nota: los candidatos son: KTimeEdit::KTimeEdit(QWidget*, QTime, const char*) ./ktimeedit.h:45: nota: KTimeEdit::KTimeEdit(const KTimeEdit&) Sorry, the messages are in Spanish: Qt Designer assumes these widgets have the name of the widget as the 2nd parameter, but KTimeEdit has QTime as 2nd parameter. Thanks a lot. Bram Schoenmakers escribió: > Op maandag 17 juli 2006 14:02, schreef Miguel Ángel Tribaldos: > > Hi, > > >> I've recently found 2 issues using the KDateEdit and KTimeEdit classes >> (kdepim), with Fedora Core 5. >> I have installed kdepim and kdepim-devel and nevertheless: >> >> * I can't find kdateedit.h and ktimeedit.h headers anywhere. >> > > libkdepim is a private library, that means no header files are installed for > third party usage. > > >> * If I, by hand, copy these headers from kdepim sources, when using >> these classes from Qt Designer, a clash results between KTimeEdit header >> and that generated by uic. >> > > Any error messages? > > Kind regards, > > > ------------------------------------------------------------------------ > > > >>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << >>> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<