• Skip to content
  • Skip to link menu
KDE 4.2 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 <KDE/KSharedPtr>
00033 #include <KDE/KStartupInfo>
00034 
00035 #include <taskmanager/taskmanager.h>
00036 #include <taskmanager/taskmanager_export.h>
00037 
00038 namespace TaskManager
00039 {
00040 
00046 class TASKMANAGER_EXPORT Startup: public QObject, public KShared
00047 {
00048     Q_OBJECT
00049     Q_PROPERTY(QString text READ text)
00050     Q_PROPERTY(QString bin READ bin)
00051     Q_PROPERTY(QString icon READ icon)
00052 
00053 public:
00054     Startup(const KStartupInfoId& id, const KStartupInfoData& data, QObject * parent,
00055         const char *name = 0);
00056     virtual ~Startup();
00057 
00061     QString text() const;
00062 
00066     QString bin() const;
00067 
00071     QString icon() const;
00072     void update( const KStartupInfoData& data );
00073     KStartupInfoId id() const;
00074 
00075     void addWindowMatch(WId window);
00076     bool matchesWindow(WId window) const;
00077 
00078 Q_SIGNALS:
00082     void changed(::TaskManager::TaskChanges);
00083 
00084 private:
00085     class Private;
00086     Private * const d;
00087 };
00088 
00089 } // TaskManager namespace
00090 
00091 
00092 #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
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
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