Bug#2848: marked as done (Class browser cannot switch to a class definition) by Falk Brettschneider <gigafalk at yahoo.com>
Stephan Kulow
owner at bugs.kde.org
Thu Jan 24 01:09:43 UTC 2002
Your message with subj: should be possible since 2.0.2
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
has caused the attached bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Stephan Kulow
(administrator, KDE bugs database)
Received: (at submit) by bugs.kde.org; 16 Mar 2000 08:39:27 +0000
>From axel.pauli at alcatel.de Thu Mar 16 09:39:27 2000
Received: from mailrelay1.alcatel.de ([194.113.59.75]:4761 "HELO
mailrelay1.alcatel.de") by max.tat.physik.uni-tuebingen.de with SMTP
id <S742173AbQCPIjU>; Thu, 16 Mar 2000 09:39:20 +0100
Received: from slbh00.bln.sel.alcatel.de by mailrelay1.alcatel.de with SMTP (XT-PP); Thu, 16 Mar 2000 09:38:29 +0100
Received: from slbh08 (slbh08 [149.204.63.208]) by slbh00.bln.sel.alcatel.de (8.9.3/8.9.3) with ESMTP id JAA17037 for <submit at bugs.kde.org>; Thu, 16 Mar 2000 09:39:09 +0100 (MET)
Received: from alcatel.de by slbh08 (8.9.3+Sun) id JAA14506; Thu, 16 Mar 2000 09:39:09 +0100 (MET)
Sender: Axel.Pauli at alcatel.de
Message-ID: <38D09DAD.B5930AF5 at alcatel.de>
Date: Thu, 16 Mar 2000 09:39:09 +0100
From: Axel Pauli <axel.pauli at alcatel.de>
Organization: Alcatel-SEL AG Berlin
X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.7 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: submit at bugs.kde.org
Subject: Class browser cannot switch to a class definition
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Return-Path: <axel.pauli at alcatel.de>
X-Orcpt: rfc822;submit at bugs.kde.org
Package: kdevelop
Version: 1.1
Severity: normal
Bugreport ID : 21:01,15.03.00
Originator : Axel Pauli
E-Mail : axel.pauli at alcatel.de
Subject : Class browser cannot switch to a class definition
Error Class : software bug
Error Location : class browser
Priority : high
Bug Description ---------------------------
When a method uses a return code enumration, defined in the class
declaration it is not necessary, to declare it together with the class
name. But the definition of the method requires the full qualified
name.
example:
declaration: RetCodes readSomething();
definition: Beispiel::RetCodes readSomething(){}
If I make such allowed definition, the class browser is not able to
find the definition of the method.
How to repeat the error
-------------------
Please use the following files:
class Beispiel
{
public:
// return codes used by class methods
enum RetCodes {
Success,
ProcessingError
};
// constructor of class
Beispiel();
// destructor
virtual ~Beispiel();
RetCodes readSomething();
void setSomeThing(int arg1, int arg2, int arg3, int arg4);
RetCodes writeSomething();
int doSomething() { return 1;};
const char *getSomething();
};
#include "Beispiel.h"
Beispiel::Beispiel() {};
Beispiel::~Beispiel() {};
Beispiel::RetCodes Beispiel::readSomething()
{
return Beispiel::ProcessingError;
};
void Beispiel::setSomeThing(int arg1, int arg2, int arg3, int arg4)
{};
Beispiel::RetCodes Beispiel::writeSomething()
{
return Beispiel::Success;
};
const char *Beispiel::getSomething()
{
return (char *) 0;
};
Bugfix or Workaround ----------------------
System Information ------------------------
KDevelop version : 1.1
KDE version : 1.1.2
QT version :
OS/Distribution : Suse 6.3
Compiler : g++
misc :
More information about the KDevelop-devel
mailing list