[Telepathy-commits] [telepathy-qt4/master] Prototype: generate moc files

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Dec 2 02:58:10 PST 2008


---
 TelepathyQt4/Prototype/Account.cpp              |    2 ++
 TelepathyQt4/Prototype/AccountManager.cpp       |    3 ++-
 TelepathyQt4/Prototype/AvatarManager.cpp        |    2 +-
 TelepathyQt4/Prototype/CapabilitiesManager.cpp  |    2 +-
 TelepathyQt4/Prototype/ChatChannel.cpp          |    2 ++
 TelepathyQt4/Prototype/Connection.cpp           |    2 ++
 TelepathyQt4/Prototype/ConnectionFacade.cpp     |    1 +
 TelepathyQt4/Prototype/Contact.cpp              |    2 ++
 TelepathyQt4/Prototype/ContactManager.cpp       |    2 ++
 TelepathyQt4/Prototype/DBusInterface.cpp        |    2 ++
 TelepathyQt4/Prototype/Makefile.am              |   14 +++++++++++++-
 TelepathyQt4/Prototype/PresenceManager.cpp      |    2 +-
 TelepathyQt4/Prototype/StreamedMediaChannel.cpp |    2 +-
 13 files changed, 32 insertions(+), 6 deletions(-)

diff --git a/TelepathyQt4/Prototype/Account.cpp b/TelepathyQt4/Prototype/Account.cpp
index efa1be6..a85c0bc 100644
--- a/TelepathyQt4/Prototype/Account.cpp
+++ b/TelepathyQt4/Prototype/Account.cpp
@@ -272,3 +272,5 @@ void Account::init( const QString handle )
     connect( d->m_pInterface, SIGNAL( Removed() ),
              this, SLOT( slotRemoved() ) );
 }
+
+#include "_gen/Account.h.moc"
diff --git a/TelepathyQt4/Prototype/AccountManager.cpp b/TelepathyQt4/Prototype/AccountManager.cpp
index 285ea1d..92994a2 100644
--- a/TelepathyQt4/Prototype/AccountManager.cpp
+++ b/TelepathyQt4/Prototype/AccountManager.cpp
@@ -307,4 +307,5 @@ void AccountManager::init()
   
 
 }
-            
+
+#include "_gen/AccountManager.h.moc"
diff --git a/TelepathyQt4/Prototype/AvatarManager.cpp b/TelepathyQt4/Prototype/AvatarManager.cpp
index 6d7ff15..e296107 100644
--- a/TelepathyQt4/Prototype/AvatarManager.cpp
+++ b/TelepathyQt4/Prototype/AvatarManager.cpp
@@ -316,5 +316,5 @@ void AvatarManager::init( Connection* connection,
              this, SLOT( slotAvatarRetrieved( uint , const QString& , const QByteArray& , const QString& ) ) );
    
 }
-            
 
+#include "_gen/AvatarManager.h.moc"
diff --git a/TelepathyQt4/Prototype/CapabilitiesManager.cpp b/TelepathyQt4/Prototype/CapabilitiesManager.cpp
index 250cd0d..526b54c 100644
--- a/TelepathyQt4/Prototype/CapabilitiesManager.cpp
+++ b/TelepathyQt4/Prototype/CapabilitiesManager.cpp
@@ -317,5 +317,5 @@ void CapabilitiesManager::init( Connection* connection,
              this, SLOT( slotCapabilitiesChanged( const Telepathy::CapabilityChangeList& ) ) );
    
 }
-            
 
+#include "_gen/CapabilitiesManager.h.moc"
diff --git a/TelepathyQt4/Prototype/ChatChannel.cpp b/TelepathyQt4/Prototype/ChatChannel.cpp
index f02916b..9586580 100644
--- a/TelepathyQt4/Prototype/ChatChannel.cpp
+++ b/TelepathyQt4/Prototype/ChatChannel.cpp
@@ -221,3 +221,5 @@ void ChatChannel::slotLostMessage()
 void ChatChannel::slotSendError(uint error, uint timestamp, uint type, const QString& text )
 {
 }
+
+#include "_gen/ChatChannel.h.moc"
diff --git a/TelepathyQt4/Prototype/Connection.cpp b/TelepathyQt4/Prototype/Connection.cpp
index 9a9ca06..0d5111a 100644
--- a/TelepathyQt4/Prototype/Connection.cpp
+++ b/TelepathyQt4/Prototype/Connection.cpp
@@ -432,3 +432,5 @@ void Connection::startupInit()
     connect( d->m_pInterface, SIGNAL( StatusChanged( uint, uint ) ),
              this, SLOT( slotStatusChanged( uint, uint ) ) );
 }
+
+#include "_gen/Connection.h.moc"
diff --git a/TelepathyQt4/Prototype/ConnectionFacade.cpp b/TelepathyQt4/Prototype/ConnectionFacade.cpp
index d4b8af0..5d805c8 100644
--- a/TelepathyQt4/Prototype/ConnectionFacade.cpp
+++ b/TelepathyQt4/Prototype/ConnectionFacade.cpp
@@ -263,3 +263,4 @@ int ConnectionFacade::selfHandleForConnectionInterface( Telepathy::Client::Conne
     return local_handle_reply.value();
 }
 
+#include "_gen/ConnectionFacade.h.moc"
diff --git a/TelepathyQt4/Prototype/Contact.cpp b/TelepathyQt4/Prototype/Contact.cpp
index c1ec2b8..ef62065 100644
--- a/TelepathyQt4/Prototype/Contact.cpp
+++ b/TelepathyQt4/Prototype/Contact.cpp
@@ -187,3 +187,5 @@ Contact::Contact( const uint & handle, const QString & url, ContactTypes type,
 
 Contact::~Contact()
 { delete d; }
+
+#include "_gen/Contact.h.moc"
diff --git a/TelepathyQt4/Prototype/ContactManager.cpp b/TelepathyQt4/Prototype/ContactManager.cpp
index 61f76f3..af06ad1 100644
--- a/TelepathyQt4/Prototype/ContactManager.cpp
+++ b/TelepathyQt4/Prototype/ContactManager.cpp
@@ -963,3 +963,5 @@ void ContactManager::slotMembersChanged(const QString& message,
                                contactForHandle( actor ),
                                static_cast<Telepathy::ChannelGroupChangeReason>( reason ) );
 }
+
+#include "_gen/ContactManager.h.moc"
diff --git a/TelepathyQt4/Prototype/DBusInterface.cpp b/TelepathyQt4/Prototype/DBusInterface.cpp
index fd0f5c8..7f8f2a0 100644
--- a/TelepathyQt4/Prototype/DBusInterface.cpp
+++ b/TelepathyQt4/Prototype/DBusInterface.cpp
@@ -45,3 +45,5 @@ QDBusReply<QStringList> DBusInterface::listActivatableNames()
     Q_ASSERT( isValid() );
     return call( QLatin1String("ListActivatableNames")  );
 }
+
+#include "_gen/DBusInterface.h.moc"
diff --git a/TelepathyQt4/Prototype/Makefile.am b/TelepathyQt4/Prototype/Makefile.am
index 316693d..6cba64c 100644
--- a/TelepathyQt4/Prototype/Makefile.am
+++ b/TelepathyQt4/Prototype/Makefile.am
@@ -35,6 +35,18 @@ libtpqt4_prototype_la_SOURCES = \
     types.cpp
 
 nodist_libtpqt4_prototype_la_SOURCES = \
+    _gen/Account.h.moc \
+    _gen/AccountManager.h.moc \
+    _gen/AvatarManager.h.moc \
+    _gen/CapabilitiesManager.h.moc \
+    _gen/ChatChannel.h.moc \
+    _gen/Connection.h.moc \
+    _gen/ConnectionFacade.h.moc \
+    _gen/Contact.h.moc \
+    _gen/ContactManager.h.moc \
+    _gen/DBusInterface.h.moc \
+    _gen/PresenceManager.h.moc \
+    _gen/StreamedMediaChannel.h.moc \
     _gen/cli-channel-handler-body.hpp \
     _gen/types-body.hpp
 
@@ -165,5 +177,5 @@ _gen/cli-%.h _gen/cli-%-body.hpp: _gen/spec-%.xml \
 		--extraincludes='<TelepathyQt4/Types>,<TelepathyQt4/Prototype/Types>' \
 		$$mainiface
 
-%.moc.hpp: %.h _gen/constants.h _gen/types.h
+_gen/%.moc: % _gen/constants.h _gen/types.h
 	$(MOC) @QTCORE_CFLAGS@ @QTDBUS_CFLAGS@ -I$(top_builddir) -I$(top_srcdir) -i $< -o $@
diff --git a/TelepathyQt4/Prototype/PresenceManager.cpp b/TelepathyQt4/Prototype/PresenceManager.cpp
index caaa18d..7c19465 100644
--- a/TelepathyQt4/Prototype/PresenceManager.cpp
+++ b/TelepathyQt4/Prototype/PresenceManager.cpp
@@ -616,5 +616,5 @@ void PresenceManager::init()
     qWarning( "PresenceManager::init(): Connection Manager neither supports the Interface \"Presence\" nor the Interface \"SimplePresence\". Other interfaces are not supported!" );
     return;
 }
-            
 
+#include "_gen/PresenceManager.h.moc"
diff --git a/TelepathyQt4/Prototype/StreamedMediaChannel.cpp b/TelepathyQt4/Prototype/StreamedMediaChannel.cpp
index a4724cb..ff1c04e 100644
--- a/TelepathyQt4/Prototype/StreamedMediaChannel.cpp
+++ b/TelepathyQt4/Prototype/StreamedMediaChannel.cpp
@@ -575,4 +575,4 @@ void StreamedMediaChannel::slotMembersChanged( const QString& message,
     }
 }
 
-
+#include "_gen/StreamedMediaChannel.h.moc"
-- 
1.5.6.5




More information about the Telepathy-commits mailing list