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

« back to all changes in this revision

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