It mean that i must derive a class from KTMainwindow? > 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 > ___________________________________________________ > . > Account management: https://mail.kde.org/mailman/listinfo/kde. > Archives: http://lists.kde.org/. > More info: http://www.kde.org/faq.html. > ___________________________________________________ . Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.