[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde
Subject:    Re: [kde] QT or KDE ?What's my problem?I'm newbie
From:       Andy Teijelo =?iso-8859-1?q?P=E9rez?= <espino () infomed ! sld ! cu>
Date:       2005-01-21 19:46:16
Message-ID: 200501211446.17146.espino () infomed ! sld ! cu
[Download RAW message or body]

El Jueves, 20 de Enero de 2005 4:58, Mohsen Pahlevanzadeh escribió:
> 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();
Didn't you forget the "new" keyword in this line?
Didn't you mean:
   KTMainWindow x= new KTMainWindow();
>  x.setGeometry(100,100,200,100);
>  x.show();
>
>  return myapp.exec();
> }//end of program
>
Sorry if I'm wrong.

Andy
___________________________________________________
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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic