simply use: this
simply use: this
Do you mean in this way?
I get this error: connect was not declered in this scopeQt Code:
connect(&process, SIGNAL(readyReadStandardError()), this, SLOT(updateError()));To copy to clipboard, switch view to plain text mode
Try this:
Qt Code:
To copy to clipboard, switch view to plain text mode
mattia (5th November 2007)
now i get the access at the connect function but something still wrong, i get this error:
no matching function for call to ‘QObject::connect(QProcess*, const char [26], CallApplication* const, const char [15])’
CallApplication doesn't inherit QObject and it lacks Q_OBJECT macro --- without this signals & slots mechanism won't work.
So, have i to declare the .h class in this way?
Qt Code:
#include <QProcess> { Q_OBJECT public: CallApplication(); ~CallApplication(); void performApplication(); private slots: void updateError(); public: QProcess process; };To copy to clipboard, switch view to plain text mode
mattia (5th November 2007)
Done! Now it's working. Thanks so much.
Bookmarks