Bug#2605: Using CV's add member function on a dialog from the dialog editor adds the function to the *data.cpp file instead of the file intended to be edited.

Steven Brown swbrown at ucsd.edu
Tue Feb 1 07:40:31 UTC 2000


Package: kdevelop
Version: 1.1-beta1.0
Severity: normal

Bugreport ID : 23:33,31.01.00

Originator	: Steven Brown
E-Mail		: swbrown at ucsd.edu

Subject : Using CV's add member function on a dialog from the dialog editor adds the function to the *data.cpp file instead of the file intended to be edited.

Error Class	: software bug
Error Location	: class tree
Priority	: low
Bug Description ---------------------------

I created a dialog SearchDialog with kdevelop's dialog editor.  It creates
a searchdialog.cpp (for user editing) and searchdialogdata.cpp with the
form's data which is not to be edited.  When I use the right-click menu's
add member function on the CV window, the new member is added to
searchdialogdata.cpp instead of the other file.


How to repeat the error -------------------

I assume it might be random as to which file it places it in, so try a
couple times, it should happen.

Bugfix or Workaround ----------------------

Provide a field in the add member dialog for which file to insert to.  The
default for this field should be the file where the default constructor
is defined, or if there is none, any constructor, if none then any 
function, if none of those too, the lowercase+".cpp" of the class.


System Information ------------------------

KDevelop version	: 1.1-beta1.0
KDE version		: 1.1.2
QT version		: 1.44
OS/Distribution		: rh6.1
Compiler		: egcs-2.91.66

misc :




More information about the KDevelop-devel mailing list