Logo Search packages:      
Sourcecode: daemonfs version File versions  Download package

eventswidget.h

/*
 *  Copyright (C) 2010  Giorgio Wicklein <g.wicklein@giowisys.com>
 *
 *  This file is part of DaemonFS.
 *
 *  DaemonFS is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  DaemonFS is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with DaemonFS.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef EVENTSWIDGET_H
#define EVENTSWIDGET_H

//-----------------------------------------------------------------------------
// Hearders
//-----------------------------------------------------------------------------

#include <QWidget>

namespace Ui {
    class EventsWidget;
}

//-----------------------------------------------------------------------------
// Forward declarations
//-----------------------------------------------------------------------------

class MainWindow;

//-----------------------------------------------------------------------------
// EventsWidget
//-----------------------------------------------------------------------------

class EventsWidget : public QWidget
{
    Q_OBJECT

public:
    explicit EventsWidget(QWidget *parent = 0);
    ~EventsWidget();
    void addEvent(QString);

    MainWindow *mainWindow;

public slots:
    void addToTableSlot(QString);

signals:
    void stopButtonClicked();
    void backButtonClicked();
    void hideSignal();
    void trayMessage(QString);

private slots:
    void stopButtonSlot();
    void backButtonSlot();

private:
    void addToTable(QString path, QString action, QString lastModified);

    Ui::EventsWidget *ui;
};

#endif // EVENTSWIDGET_H

Generated by  Doxygen 1.6.0   Back to index