帮忙看下,这个槽错哪了

帮忙看下,这个槽哪里错了。为了测试 写了个槽函数 :类{…………slots:void do_test1(QStringList aa)…………}但是

帮忙看下,这个槽哪里错了。
为了测试 写了个槽函数 :

{
…………
slots:
  void do_test1(QStringList aa);
…………
}
但是运行时候系统报错  

./test_QStringList/mainwindow.h:22: error: expected primary-expression before ‘void’
../test_QStringList/mainwindow.h:22: error: ISO C++ forbids declaration of ‘type name’ with no type
../test_QStringList/mainwindow.h:22: error: expected ‘;’ before ‘void’

上面所指的22行就是void do………… 这行。



[解决办法]
改成
private slots:

或者public 就行了
[解决办法]
三楼的看法我同意