Changeset View
Changeset View
Standalone View
Standalone View
src/qt/test/paymentservertests.h
Show All 18 Lines | |||||
// Dummy class to receive paymentserver signals. | // Dummy class to receive paymentserver signals. | ||||
// If SendCoinsRecipient was a proper QObject, then we could use QSignalSpy... | // If SendCoinsRecipient was a proper QObject, then we could use QSignalSpy... | ||||
// but it's not. | // but it's not. | ||||
class RecipientCatcher : public QObject { | class RecipientCatcher : public QObject { | ||||
Q_OBJECT | Q_OBJECT | ||||
public Q_SLOTS: | public Q_SLOTS: | ||||
void getRecipient(SendCoinsRecipient r); | void getRecipient(const SendCoinsRecipient &r); | ||||
public: | public: | ||||
SendCoinsRecipient recipient; | SendCoinsRecipient recipient; | ||||
}; | }; | ||||
#endif // BITCOIN_QT_TEST_PAYMENTSERVERTESTS_H | #endif // BITCOIN_QT_TEST_PAYMENTSERVERTESTS_H |