~ubuntu-branches/ubuntu/saucy/print-manager/saucy-proposed

« back to all changes in this revision

Viewing changes to build/add-printer/addprinteradaptor.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-08-21 12:30:49 UTC
  • mto: (1.3.2)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: package-import@ubuntu.com-20120821123049-c8uky0a9gmfkck87
Tags: upstream-0.1.0+git20120821
ImportĀ upstreamĀ versionĀ 0.1.0+git20120821

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 -m -a addprinteradaptor -i AddPrinterInterface.h -l AddPrinterInterface /home/jr/src/print-manager/git/print-manager/add-printer/org.kde.AddPrinter.xml
 
4
 *
 
5
 * qdbusxml2cpp is Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
 
6
 *
 
7
 * This is an auto-generated file.
 
8
 * Do not edit! All changes made to it will be lost.
 
9
 */
 
10
 
 
11
#include "addprinteradaptor.h"
 
12
#include <QtCore/QMetaObject>
 
13
#include <QtCore/QByteArray>
 
14
#include <QtCore/QList>
 
15
#include <QtCore/QMap>
 
16
#include <QtCore/QString>
 
17
#include <QtCore/QStringList>
 
18
#include <QtCore/QVariant>
 
19
 
 
20
/*
 
21
 * Implementation of adaptor class AddPrinterAdaptor
 
22
 */
 
23
 
 
24
AddPrinterAdaptor::AddPrinterAdaptor(AddPrinterInterface *parent)
 
25
    : QDBusAbstractAdaptor(parent)
 
26
{
 
27
    // constructor
 
28
    setAutoRelaySignals(true);
 
29
}
 
30
 
 
31
AddPrinterAdaptor::~AddPrinterAdaptor()
 
32
{
 
33
    // destructor
 
34
}
 
35
 
 
36
void AddPrinterAdaptor::AddClass(qulonglong wid)
 
37
{
 
38
    // handle method call org.kde.AddPrinter.AddClass
 
39
    parent()->AddClass(wid);
 
40
}
 
41
 
 
42
void AddPrinterAdaptor::AddPrinter(qulonglong wid)
 
43
{
 
44
    // handle method call org.kde.AddPrinter.AddPrinter
 
45
    parent()->AddPrinter(wid);
 
46
}
 
47
 
 
48
void AddPrinterAdaptor::ChangePPD(qulonglong wid, const QString &name)
 
49
{
 
50
    // handle method call org.kde.AddPrinter.ChangePPD
 
51
    parent()->ChangePPD(wid, name);
 
52
}
 
53
 
 
54
void AddPrinterAdaptor::NewPrinterFromDevice(qulonglong wid, const QString &name, const QString &device_id)
 
55
{
 
56
    // handle method call org.kde.AddPrinter.NewPrinterFromDevice
 
57
    parent()->NewPrinterFromDevice(wid, name, device_id);
 
58
}
 
59
 
 
60
 
 
61
#include "addprinteradaptor.moc"