# Source: klineakconfig/klineak.h |
Annotated List
Files
Globals
Hierarchy
Index

    /***************************************************************************
                              klineak.h  -  description
                                 -------------------
        begin                : Mon Jun 3 2002
        copyright            : (C) 2002 by Sheldon Lee Wen
        email                : leewsb@hotmail.com
     ***************************************************************************/

    /***************************************************************************
     *                                                                         *
     *   This program 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 2 of the License, or     *
     *   (at your option) any later version.                                   *
     *                                                                         *
     ***************************************************************************/

    #ifndef KLINEAK_H
    #define KLINEAK_H

    #ifdef HAVE_CONFIG_H
    #include
    #endif

    #include
    #include
    #include
    #include
    #include

    // kde include
    #include
    #include
    #include
    #include
    #include
    #include
    #include
    #include
    #include
    #include
    #include
    #include
    #include
    #include

    // qt include
    #include
    #include
    #include
    #include
    #include

    #include "klineakpreferences.h"
    //class KlineakPreferences;
    /**System tray class
      *@author Sheldon Lee Wen
      */

    class Klineak : public KSystemTray  {
       Q_OBJECT
    public:
    	Klineak(QWidget *parent=0, const char *name=0);
    	~Klineak();

       QPixmap klineakconfigPixmap;
       KPopupMenu *menu;
       KAction *fileQuit;
       KAction *lineakdRestart;
       KAction *lineakdStop;
       KAction *lineakdStart;
       KAction *lineakDef;
       KAction *lineakPrefs;
       KActionCollection *actionCollection;
    	void mousePressEvent(QMouseEvent *ev);

    signals:
    	virtual void toggleApp();
     	virtual void cleanExit();
       	virtual void stop();
        virtual void start();
        virtual void restart();

    public slots:
        virtual void restartLineakd();
        virtual void startLineakd();
        virtual void stopLineakd();
        virtual void showPreferences();

    private:
    	KlineakPreferences *preferencesui;

    public slots: // Public slots
      /** User clicked the quit button */
      virtual void slotExit();
    };

    #endif

Generated by: sheldonl on shugaru on Thu Oct 10 23:58:14 2002, using kdoc 2.0a53.