[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegraphics/gwenview/lib
From:       Aurélien Gâteau <aurelien.gateau () free ! fr>
Date:       2007-07-05 21:52:35
Message-ID: 1183672355.617874.5347.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 684012 by gateau:

Make DocumentFactory forward saved() signal from Document.


 M  +1 -0      documentfactory.cpp  
 M  +3 -0      documentfactory.h  


--- trunk/KDE/kdegraphics/gwenview/lib/documentfactory.cpp #684011:684012
@@ -72,6 +72,7 @@
 		doc->load(url);
 		ptr = Document::Ptr(doc);
 		d->mDocumentMap[url] = ptr;
+		connect(doc, SIGNAL(saved(const KUrl&)), SIGNAL(saved(const KUrl&)) );
 	}
 	d->garbageCollect();
 	return ptr;
--- trunk/KDE/kdegraphics/gwenview/lib/documentfactory.h #684011:684012
@@ -39,6 +39,9 @@
 
 	Document::Ptr load(const KUrl&);
 
+Q_SIGNALS:
+	void saved(const KUrl&);
+
 private:
 	DocumentFactory();
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic