derekwyatt/vim-config — Issue #1: Qt: defined signals are pulled into implementation file
Author: marvin2k
Created: 2011-12-20 20:53:04+00:00
State: open

Hi,

in the momet, when working with Qt, function defined after the "signal" keyword are pulled into the implementation file.

```c++
#include

class TestClass : public QObject
{
Q_OBJECT

public:

TestClass(QObject* parent=NULL);
virtual ~TestClass(){};

signals:
void example(int);

};
```
will be pulled as
```c++
#include "test.h"

TestClass::TestClass(QObject* parent)
{
}

void TestClass::example(int)
{
return /* something */;
}
```
...but in Qt, signals don't have an implementation file.