summaryrefslogtreecommitdiffstats
path: root/test cases/frameworks/4 qt/manualinclude.cpp
blob: 60b94e510e125d0bcb03d82db2b773a0f5509d24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include"manualinclude.h"
#include<QCoreApplication>

#include<QObject>

ManualInclude::ManualInclude() {
}

void ManualInclude::myslot(void) {
    ;
}

class MocClass : public QObject {
    Q_OBJECT
};

int main(int argc, char **argv) {
    ManualInclude mi;
    MocClass mc;
    QObject::connect(&mi, SIGNAL(mysignal(void)),
                     &mi, SLOT(myslot(void)));
    emit mi.mysignal();
    return 0;
}

#include"manualinclude.moc"