|
this, SLOT(fooBarMessage( const QCString &, const QByteArray &)) );
下面将具体的通信过程举例如下,在需要接收消息的类(如Window1)中定义管道:
QCopChannel *doChannel = new QCopChannel("QPE/Do", this);
connect(doChannel, SIGNAL(received(const QCString &, const QByteArray &)),
th页码:[1] [2] [3] [4] [5] [6] 第2页、共6页 |