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

List:       kdevelop-bugs
Subject:    [Bug 295683] 'Add private/public member' functionality made adding function to private/public slots
From:       Piotr Mierzwinski <piotr.mierzwinski () gmail ! com>
Date:       2012-03-29 18:36:35
Message-ID: bug-295683-40295-YF2aEjRQbb () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=295683

Piotr Mierzwinski <piotr.mierzwinski@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |---

--- Comment #1 from Piotr Mierzwinski <piotr.mierzwinski@gmail.com> ---
Example:
class MyClass {
   Q_OBJECT
public:
   MyClass();
private:
    void foo();
public slots:
  void slotFoo();
};

MyClass::MyClass() {
    newFoo();
}

Below header file after using assistant: Declare 'void newFoo()' as: 1 - public
function in MyClass   2 - private function in NewClass   0 - Hide". And
selected Alt+1 (public function).

class MyClass {
   Q_OBJECT
public:
   MyClass();
private:
    void foo();
public slots:
  void slotFoo();
  void newFoo();
};

Declaration: "void newFoo();" should be in section "public".

And one thing KDevelop not respect set (in configuration) separators when
inserts new function's declaration. I will request new bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

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