1 | /***************************************************************************** |
2 | * Copyright (C) 2009 by Shaun Reich <shaun.reich@kdemail.net> * |
3 | * * |
4 | * This program is free software; you can redistribute it and/or * |
5 | * modify it under the terms of the GNU General Public License as * |
6 | * published by the Free Software Foundation; either version 2 of * |
7 | * the License, or (at your option) any later version. * |
8 | * * |
9 | * This program is distributed in the hope that it will be useful, * |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
12 | * GNU General Public License for more details. * |
13 | * * |
14 | * You should have received a copy of the GNU General Public License * |
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. * |
16 | *****************************************************************************/ |
17 | |
18 | #include <QDBusPendingCallWatcher> |
19 | #include "requestviewcallwatcher.h" |
20 | #include "jobview.h" |
21 | |
22 | RequestViewCallWatcher::RequestViewCallWatcher(JobView* jobView, const QString& service, |
23 | const QDBusPendingCall& call, QObject* parent) |
24 | : QDBusPendingCallWatcher(call, parent), |
25 | m_jobView(jobView), |
26 | m_service(service) |
27 | { |
28 | connect(this, SIGNAL(finished(QDBusPendingCallWatcher*)), |
29 | this, SLOT(slotFinished())); |
30 | } |
31 | |
32 | |
33 | #include "requestviewcallwatcher.moc" |
34 | |