• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

libtaskmanager

startup.h

Go to the documentation of this file.
00001 /*****************************************************************
00002 
00003 Copyright (c) 2000-2001 Matthias Elter <elter@kde.org>
00004 Copyright (c) 2001 Richard Moore <rich@kde.org>
00005 
00006 Permission is hereby granted, free of charge, to any person obtaining a copy
00007 of this software and associated documentation files (the "Software"), to deal
00008 in the Software without restriction, including without limitation the rights
00009 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
00010 copies of the Software, and to permit persons to whom the Software is
00011 furnished to do so, subject to the following conditions:
00012 
00013 The above copyright notice and this permission notice shall be included in
00014 all copies or substantial portions of the Software.
00015 
00016 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00017 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00018 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
00019 AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
00020 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00021 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00022 
00023 ******************************************************************/
00024 
00025 #ifndef STARTUP_H
00026 #define STARTUP_H
00027 
00028 // Qt
00029 #include <QtCore/QObject>
00030 
00031 // KDE
00032 #include <ksharedptr.h>
00033 #include <kstartupinfo.h>
00034 
00035 namespace TaskManager
00036 {
00037 
00038 class Startup;
00039 typedef KSharedPtr<Startup> StartupPtr;
00040 typedef QVector<StartupPtr> StartupList;
00041 
00047 class KDE_EXPORT Startup: public QObject, public KShared
00048 {
00049     Q_OBJECT
00050     Q_PROPERTY(QString text READ text)
00051     Q_PROPERTY(QString bin READ bin)
00052     Q_PROPERTY(QString icon READ icon)
00053 
00054 public:
00055     Startup(const KStartupInfoId& id, const KStartupInfoData& data, QObject * parent,
00056         const char *name = 0);
00057     virtual ~Startup();
00058 
00062     QString text() const;
00063 
00067     QString bin() const;
00068 
00072     QString icon() const;
00073     void update( const KStartupInfoData& data );
00074     KStartupInfoId id() const;
00075 
00076     void addWindowMatch(WId window);
00077     bool matchesWindow(WId window) const;
00078 
00079 Q_SIGNALS:
00083     void changed();
00084 
00085 private:
00086     class Private;
00087     Private * const d;
00088 };
00089 
00090 } // TaskManager namespace
00091 
00092 
00093 #endif

libtaskmanager

Skip menu "libtaskmanager"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libplasma
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal