~ubuntu-branches/ubuntu/oneiric/knetworkmanager/oneiric

« back to all changes in this revision

Viewing changes to knetworkmanager/src/knetworkmanager-cellular_device_tray.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2008-07-14 14:05:44 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080714140544-yjhxgrdwartk3kx7
Tags: 1:0.7svn830754-0ubuntu1
New upstream snapshot

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *
 
3
 * knetworkmanager.h - A NetworkManager frontend for KDE 
 
4
 *
 
5
 * Copyright (C) 2005, 2006 Novell, Inc.
 
6
 *
 
7
 * Author: Timo Hoenig     <thoenig@suse.de>, <thoenig@nouse.net>
 
8
 *         Will Stephenson <wstephenson@suse.de>, <wstephenson@kde.org>
 
9
 *         Helmut Schaa    <hschaa@suse.de>, <helmut.schaa@gmx.de>
 
10
 *
 
11
 * This program is free software; you can redistribute it and/or modify
 
12
 * it under the terms of the GNU General Public License as published by
 
13
 * the Free Software Foundation; either version 2 of the License, or
 
14
 * (at your option) any later version.
 
15
 *
 
16
 * This program is distributed in the hope that it will be useful,
 
17
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19
 * GNU General Public License for more details.
 
20
 * 
 
21
 * You should have received a copy of the GNU General Public License
 
22
 * along with this program; if not, write to the Free Software
 
23
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
24
 *
 
25
 **************************************************************************/
 
26
 
 
27
#ifndef KNETWORKMANAGER_CELLULAR_DEVICE_TRAY_H
 
28
#define KNETWORKMANAGER_CELLULAR_DEVICE_TRAY_H
 
29
 
 
30
// KNM includes
 
31
#include "knetworkmanager.h"
 
32
#include "devicetraycomponent.h"
 
33
 
 
34
// predefs
 
35
class CellularDevice;
 
36
class CellularDeviceTrayPrivate;
 
37
 
 
38
class CellularDeviceTray : public DeviceTrayComponent
 
39
{
 
40
        Q_OBJECT
 
41
        public:
 
42
                CellularDeviceTray (CellularDevice*, KSystemTray * parent = 0, const char * name = 0);
 
43
                ~CellularDeviceTray ();
 
44
 
 
45
                void addMenuItems(KPopupMenu* menu);
 
46
 
 
47
        public slots:
 
48
                void newConnection();
 
49
 
 
50
        private:
 
51
                CellularDeviceTrayPrivate* d;
 
52
};
 
53
 
 
54
#endif /* KNETWORKMANAGER_CELLULAR_DEVICE_TRAY_H */