Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members

# klineak.h

Go to the documentation of this file.

    00001 /***************************************************************************
    00002                           klineak.h  -  description
    00003                              -------------------
    00004     begin                : Mon Jun 3 2002
    00005     copyright            : (C) 2002 by Sheldon Lee Wen
    00006     email                : leewsb@hotmail.com
    00007  ***************************************************************************/
    00008
    00009 /***************************************************************************
    00010  *                                                                         *
    00011  *   This program is free software; you can redistribute it and/or modify  *
    00012  *   it under the terms of the GNU General Public License as published by  *
    00013  *   the Free Software Foundation; either version 2 of the License, or     *
    00014  *   (at your option) any later version.                                   *
    00015  *                                                                         *
    00016  ***************************************************************************/
    00017
    00018 #ifndef KLINEAK_H
    00019 #define KLINEAK_H
    00020
    00021 #ifdef HAVE_CONFIG_H
    00022 #include <config.h>
    00023 #endif
    00024
    00025
    00026 #include <qwidget.h>
    00027 #include <ksystemtray.h>
    00028 #include <kstdaction.h>
    00029 #include <kaction.h>
    00030 #include <qpixmap.h>
    00031
    00032 // kde include
    00033 #include <klocale.h>
    00034 #include <kapp.h>
    00035 #include <kaccel.h>
    00036 #include <kglobal.h>
    00037 #include <kstdaction.h>
    00038 #include <kconfig.h>
    00039 #include <kdebug.h>
    00040 #include <kmessagebox.h>
    00041 #include <knotifyclient.h>
    00042 #include <klineeditdlg.h>
    00043 #include <kstatusbar.h>
    00044 #include <kpopupmenu.h>
    00045 #include <krun.h>
    00046 #include <kwin.h>
    00047
    00048 // qt include
    00049 #include <qtooltip.h>
    00050 #include <qlist.h>
    00051 #include <qlineedit.h>
    00052 #include <qinputdialog.h>
    00053 #include <qlabel.h>
    00054
    00055
    00060 class Klineak : public KSystemTray  {
    00061    Q_OBJECT
    00062 public:
    00063     Klineak(QWidget *parent=0, const char *name=0);
    00064     ~Klineak();
    00065
    00066    QPixmap klineakconfigPixmap;
    00067    KPopupMenu *menu;
    00068    KAction *fileQuit;
    00069    KAction *lineakdRestart;
    00070    KAction *lineakdStop;
    00071    KAction *lineakdStart;
    00072    KActionCollection *actionCollection;
    00073     void mousePressEvent(QMouseEvent *ev);
    00074
    00075 signals:
    00076     virtual void toggleApp();
    00077     virtual void cleanExit();
    00078     virtual void stop();
    00079     virtual void start();
    00080     virtual void restart();
    00081
    00082 public slots:
    00083     virtual void restartLineakd();
    00084     virtual void startLineakd();
    00085     virtual void stopLineakd();
    00086
    00087 };
    00088
    00089 #endif
    00090