1
/* This file is part of the KDE project
2
Copyright (C) 2006 Kevin Ottens <ervin@kde.org>
4
This program is free software; you can redistribute it and/or modify
5
it under the terms of the GNU General Public License version 2
6
as published by the Free Software Foundation.
8
This program is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
GNU General Public License for more details.
13
You should have received a copy of the GNU General Public License
14
along with this program; if not, write to the Free Software
15
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20
#ifndef BACKENDCHOOSER_H
21
#define BACKENDCHOOSER_H
23
#include "ui_backendchooser.h"
31
class BackendChooser : public QWidget
35
BackendChooser( QWidget *parent, const QString &backendType );
42
void slotSelectionChanged();
44
void slotDownClicked();
47
void changed( bool state );
50
void loadServicesInView( const KService::List& offers );
51
KService::List servicesFromView();
53
Ui::BackendChooser m_ui;
54
KService::List m_initServices;
56
QString m_backendType;
57
QHash<QString, KService::Ptr> m_services;