~stolowski/bamf-qt/fix-bamfview-removal

« back to all changes in this revision

Viewing changes to bamf-indicator-proxy.cpp

  • Committer: Florian Boucault
  • Date: 2011-01-13 21:37:10 UTC
  • mto: This revision was merged to the branch mainline in revision 368.
  • Revision ID: florian@boucault.net-20110113213710-u1i9zprl9fbwcyv2
Added support for indicators (new BamfIndicator class).
Added safeguards for when BamfFactory::view_for_path returns NULL.
Replaced static_cast with qobject_cast for values returned from BamfFactory::view_for_path thus avoiding enforcing wrong casts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This file was generated by qdbusxml2cpp version 0.7
 
3
 * Command line was: qdbusxml2cpp bamf-indicator-glue.xml -p bamf-indicator-proxy
 
4
 *
 
5
 * qdbusxml2cpp is Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
 
6
 *
 
7
 * This is an auto-generated file.
 
8
 * This file may have been hand-edited. Look for HAND-EDIT comments
 
9
 * before re-generating it.
 
10
 */
 
11
 
 
12
#include "bamf-indicator-proxy.h"
 
13
 
 
14
/*
 
15
 * Implementation of interface class OrgAyatanaBamfIndicatorInterface
 
16
 */
 
17
 
 
18
OrgAyatanaBamfIndicatorInterface::OrgAyatanaBamfIndicatorInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent)
 
19
    : QDBusAbstractInterface(service, path, staticInterfaceName(), connection, parent)
 
20
{
 
21
}
 
22
 
 
23
OrgAyatanaBamfIndicatorInterface::~OrgAyatanaBamfIndicatorInterface()
 
24
{
 
25
}
 
26