summaryrefslogtreecommitdiff
path: root/core/applets/vtapplet/vt.cpp
Unidiff
Diffstat (limited to 'core/applets/vtapplet/vt.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vtapplet/vt.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/applets/vtapplet/vt.cpp b/core/applets/vtapplet/vt.cpp
index 4cc2d60..cdd3c97 100644
--- a/core/applets/vtapplet/vt.cpp
+++ b/core/applets/vtapplet/vt.cpp
@@ -139,24 +139,26 @@ void VTApplet::activated()
139{ 139{
140 qDebug( "VTApplet::activated()" ); 140 qDebug( "VTApplet::activated()" );
141} 141}
142 142
143 143
144QRESULT VTApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **iface ) 144QRESULT VTApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **iface )
145{ 145{
146 *iface = 0; 146 *iface = 0;
147 if ( uuid == IID_QUnknown ) 147 if ( uuid == IID_QUnknown )
148 *iface = this; 148 *iface = this;
149 else if ( uuid == IID_MenuApplet ) 149 else if ( uuid == IID_MenuApplet )
150 *iface = this; 150 *iface = this;
151 else
152 return QS_FALSE;
151 153
152 if ( *iface ) 154 if ( *iface )
153 (*iface)-> addRef ( ); 155 (*iface)-> addRef ( );
154 return QS_OK; 156 return QS_OK;
155} 157}
156 158
157Q_EXPORT_INTERFACE( ) 159Q_EXPORT_INTERFACE( )
158{ 160{
159 Q_CREATE_INSTANCE( VTApplet ) 161 Q_CREATE_INSTANCE( VTApplet )
160} 162}
161 163
162 164