Bug#2455: kdevelop: adding method at classview
Leonid Zeitlin
lz at kharkov.com
Tue Dec 28 16:06:07 UTC 1999
Package: kdevelop
Version: 1.0
Severity: normal
Bugreport ID : 17:49,28.12.99
Originator : Leonid Zeitlin
E-Mail : lz at kharkov.com
Subject : adding method at classview
Error Class : software bug
Error Location : class tree
Priority : medium
Bug Description ---------------------------
I started a project and added a dialog to it. The dialog was called TTestDlg.
This generated two files: ttestdlg.cpp and ttestdlgdata.cpp. Apprently,
the latter one gets regenerated each time I do "generate sources" in the
Dialog Editor.
Then I went to ClassView, right-clicked my TTestDlg class and selected
"Add member function" from the pop-up menu. After I filled the data
in the dialog box that appeared, a new method declaration was added
to ttestdlg.h, and the definition template was added to ttestdlgdata.cpp.
As soon as a regenerated the dialog sources, the new method definition
was LOST. I would expect that the definition should go to ttestdlg.cpp
rather that ttestdlgdata.cpp
How to repeat the error -------------------
Start a project
Add a dialog
Generate dialog sources
Add a member function via classview
Regenerate dialog sources
Bugfix or Workaround ----------------------
I'm not sure but perhaps something to do with the definedInFile member...
System Information ------------------------
KDevelop version : 1.0
KDE version : 1.1.1pre2
QT version : 1.44
OS/Distribution : Linux / Red Hat 6.0
Compiler : egcs-2.91.66
misc :
More information about the KDevelop-devel
mailing list