index.html
Main Page
|
modules.html
Modules
|
namespaces.html
Namespace List
|
hierarchy.html
Class Hierarchy
|
annotated.html
Data Structures
|
dirs.html
Directories
|
files.html
File List
|
namespacemembers.html
Namespace Members
|
functions.html
Data Fields
|
pages.html
Related Pages
dir_000003.html
qt
server.h
00001
// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
00002
/* server.h: Qt wrapper for DBusServer
00003
*
00004
* Copyright (C) 2003  Zack Rusin <zack@kde.org>
00005
*
00006
* Licensed under the Academic Free License version 2.1
00007
*
00008
* This program is free software; you can redistribute it and/or modify
00009
* it under the terms of the GNU General Public License as published by
00010
* the Free Software Foundation; either version 2 of the License, or
00011
* (at your option) any later version.
00012
*
00013
* This program is distributed in the hope that it will be useful,
00014
* but WITHOUT ANY WARRANTY; without even the implied warranty of
00015
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016
* GNU General Public License for more details.
00017
*
00018
* You should have received a copy of the GNU General Public License
00019
* along with this program; if not, write to the Free Software
00020
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021
*
00022
*/
00023
#ifndef DBUS_QT_SERVER_H
00024
#define DBUS_QT_SERVER_H
00025
00026
#include <qobject.h>
00027
00028
#include "dbus/dbus.h"
00029
00030
namespace
DBusQt
00031 {
00032
class
Connection;
classDBusQt_1_1Server.html
00033
class
classDBusQt_1_1Server.html
Server
:
public
QObject
00034   {
00035     Q_OBJECT
00036
public
:
00037
classDBusQt_1_1Server.html#a0
Server
(
const
QString& addr = QString::null, QObject *parent=0 );
00038
classDBusQt_1_1Server.html#a1
~Server
();
00039
00040
bool
classDBusQt_1_1Server.html#a2
isConnected
()
const
;
00041     QString
classDBusQt_1_1Server.html#a3
address
()
const
;
00042
00043
public
slots:
00044
void
classDBusQt_1_1Server.html#i0
listen
(
const
QString& addr );
00045
void
classDBusQt_1_1Server.html#i1
disconnect
();
00046   signals:
00047
void
newConnection(
classDBusQt_1_1Connection.html
Connection
* );
00048
00049
private
:
00050
void
init(
const
QString& addr );
00051
private
:
00052
struct
structDBusQt_1_1Server_1_1Private.html
Private
;
00053
structDBusQt_1_1Server_1_1Private.html
Private
*d;
00054   };
00055 }
00056
00057
#endif
Generated on Tue Sep 13 01:28:08 2005 for D-BUS by
http://www.doxygen.org/index.html
doxygen
1.4.4
