# xbmessage.cpp

Go to the documentation of this file.

    00001 /*
    00002  * SmartHome server: Plug-in xbee
    00003  *
    00004  * Copyright (C) 2010 Daniel Pisi <dan.pisi@gmail.com>
    00005  *
    00006  * This program is free software; you can redistribute it and/or modify it
    00007  * under the terms of version 2 of the GNU General Public License
    00008  * as published by the Free Software Foundation.
    00009  *
    00010  */
    00011
    00018 #include "xbmessage.h"
    00019
    00020 // -----------------------------------------------------------------------------
    00021
    00022 XbMessage::XbMessage(QObject *parent) : QObject(parent)
    00023 {
    00024     timer = new QTimer(this);
    00025     timer->setSingleShot(true);
    00026     timer->setInterval(5000);
    00027
    00028     connect(timer, SIGNAL(timeout()), this, SIGNAL(timeout()));
    00029 }
    00030 // -----------------------------------------------------------------------------
    00031
    00032 XbMessage::~XbMessage()
    00033 {
    00034 }
    00035 // -----------------------------------------------------------------------------

All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends