include/fMain.h

Idź do dokumentacji tego pliku.
00001 /*
00002  * Getrap
00003  * Copyright 2008(C) Grzegorz 'milyges' Glinski
00004  *
00005  *
00006  *  This program is free software; you can redistribute it and/or modify it
00007  *  under the terms of the GNU General Public License as published by the Free
00008  *  Software Foundation; either version 2 of the License, or (at your option)
00009  *  any later version.
00010  *
00011  *  This program is distributed in the hope that it will be useful, but
00012  *  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
00013  *  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
00014  *  for more details.
00015  *
00016  *  You should have received a copy of the GNU General Public License along
00017  *  with this program; if not, write to the Free Software Foundation, Inc.,
00018  *  59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00019  *
00020 */
00021 #ifndef __FMAIN_H
00022 #define __FMAIN_H
00023 
00024 #include "ui_fMain.h"
00025 #include <QMainWindow>
00026 #include <QSystemTrayIcon>
00027 #include <QMenu>
00028 
00029 class FMain : public QMainWindow
00030 {
00031  Q_OBJECT
00032  private:
00034    Ui_fMain ui;
00036    QSystemTrayIcon * mTrayIcon;
00038    QMenu * mTrayMenu;
00039  private slots:
00041    void addLinks(void);
00043    void removeItems(void);
00045    void about(void);
00047    void settings(void);
00049    void startDownload(void);
00051    void stopDownload(void);
00053    void startAll(void);
00055    void stopAll(void);
00059    void trayActivated(QSystemTrayIcon::ActivationReason reason = QSystemTrayIcon::DoubleClick);
00063    void fatalError(QString msg);
00067    void downloadDone(QString fileName);
00068  public:
00069    FMain(QWidget * parent = 0, Qt::WFlags f = 0);
00070    ~FMain();
00071 };
00072 
00073 #endif

Wygenerowano Wed Jan 14 10:00:50 2009 dla Getrap programem  doxygen 1.5.4