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

List:       kde-bugs-dist
Subject:    Bug#2455: kdevelop: adding method at classview
From:       Leonid Zeitlin <lz () kharkov ! com>
Date:       1999-12-28 16:06:07
[Download RAW message or body]

Package: kdevelop
Version: 1.0
Severity: normal

Bugreport ID : 17:49,28.12.99

Originator      : Leonid Zeitlin
E-Mail          : lz@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 :

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

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