kde2 templates

August Hörandl august.hoerandl at gmx.at
Sun Sep 10 23:53:18 BST 2000


I just compiled the new snapshot (kdevelop20000909) and tried to create 
a new kde2mdi projekt (actually i wanted to know how to change an old 
project which doesn't compile with the latest kde2 beta)

The fresh project doesn't compile:

there is a strange line in the application file (constructor):
  Kcad3dxxApp::Kcad3dxxApp(0,"Kcad3dxx"):KMainWindow(parent,name)
which should read (imho)
  Kcad3dxxApp::Kcad3dxxApp():KMainWindow(0,"Kcad3dxx")

is this an error in the new templates ?

after fixing this i get even more errors:

in Kcad3dxxApp::readOptions()
undefined 
  enableToolbar()
  enableStatusbar()

in Kcad3dxxApp::slotFileQuit()
 KTMainWindow is not a base type of KMainWindow

(btw: why isn't it possible to cut text out of the message window ?)

next try:
 a kde2normal application 
the compiler dislikes the line:
  void openDocumentFile(const KURL& url=0);

next try:
 a kde2 mini application - compiles without errors



is this a problem with my installation or is there a problem with the
templates ?

any help kindly accepted 

Gustl

-- 
August Hörandl                               august.hoerandl at gmx.at
Just when you thought life couldn't get any worse, it suddenly does.




More information about the KDevelop mailing list