soc.2008.masterpassword: 4c21a86a: This seems to fix compiling the signal s...

qulogic at pidgin.im qulogic at pidgin.im
Sat Nov 12 04:01:27 EST 2011


----------------------------------------------------------------------
Revision: 4c21a86a09b64b0bf225784925fce6363316acc8
Parent:   eb724d75f076766c242452730387ad41da6ef445
Author:   qulogic at pidgin.im
Date:     11/11/11 22:43:03
Branch:   im.pidgin.soc.2008.masterpassword
URL: http://d.pidgin.im/viewmtn/revision/info/4c21a86a09b64b0bf225784925fce6363316acc8

Changelog: 

This seems to fix compiling the signal stuff.

Changes against parent eb724d75f076766c242452730387ad41da6ef445

  patched  libpurple/plugins/keyrings/kwallet.cpp

-------------- next part --------------
============================================================
--- libpurple/plugins/keyrings/kwallet.cpp	d5e0fe0d7da0f21c0d25118d047d796391936ff3
+++ libpurple/plugins/keyrings/kwallet.cpp	dc8d61ace3196ee6ae510d49a097e5dc548e4bc0
@@ -70,7 +70,7 @@ class request
 		QString *password;
 };
 
-class engine
+class engine : QObject
 {
 	public:
 		engine();
@@ -78,8 +78,8 @@ class engine
 		void queue(request req);
 		static engine *Instance();
 
-/*	signal:*/
-		void walletopened(bool opened);
+	signals:
+		void walletOpened(bool opened);
 
 	private:
 		bool connected;
@@ -129,7 +129,7 @@ KWalletPlugin::engine::engine()
 
 	connected = FALSE;
 	wallet = KWallet::Wallet::openWallet(KWallet::Wallet::NetworkWallet(), 0, KWallet::Wallet::Asynchronous);
-	QObject::connect(wallet, SIGNAL(KWallet::Wallet::walletOpened(bool)), SLOT(walletopened(bool)));
+	QObject::connect(wallet, SIGNAL(KWallet::Wallet::walletOpened(bool)), SLOT(walletOpened(bool)));
 }
 
 KWalletPlugin::engine::~engine()
@@ -155,7 +155,7 @@ void
 }
 
 void
-KWalletPlugin::engine::walletopened(bool opened)
+KWalletPlugin::engine::walletOpened(bool opened)
 {
 	std::list<request>::iterator it;
 


More information about the Commits mailing list