QT or KDE ?What's my problem?I'm newbie

Esben Mose Hansen kde at mosehansen.dk
Thu Jan 20 23:45:32 GMT 2005

On Thursday 20 January 2005 21:58, Mohsen Pahlevanzadeh wrote:
> Dears,following is my program:
> #include <ktmainwindow.h>
> #include <qstring.h>
> #include <kapp.h>
> int main(int argc,char **argv)
> {
>  KApplication myapp(argc,argv);
>   KTMainWindow x= KTMainWindow();

You can't copy KTMainWindow (or any QWidget, for that matter).

regards. Esben
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

More information about the kde mailing list