Qtopia library API Documentation

taskbarappletinterface.h

00001 /**********************************************************************
00002 ** Copyright (C) 2000-2002 Trolltech AS.  All rights reserved.
00003 **
00004 ** This file is part of the Qtopia Environment.
00005 **
00006 ** This file may be distributed and/or modified under the terms of the
00007 ** GNU General Public License version 2 as published by the Free Software
00008 ** Foundation and appearing in the file LICENSE.GPL included in the
00009 ** packaging of this file.
00010 **
00011 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00012 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00013 **
00014 ** See http://www.trolltech.com/gpl/ for GPL licensing information.
00015 **
00016 ** Contact info@trolltech.com if any conditions of this licensing are
00017 ** not clear to you.
00018 **
00019 **********************************************************************/
00020 
00021 #ifndef TASKBARAPPLETINTERFACE_H
00022 #define TASKBARAPPLETINTERFACE_H
00023 
00024 #include <qpe/qcom.h>
00025 #include <qpixmap.h>
00026 
00027 #ifndef QT_NO_COMPONENT
00028 // {6CA34D0B-C637-4865-A667-7D4CD8A70407}
00029 # ifndef IID_TaskbarApplet
00030 #  define IID_TaskbarApplet QUuid( 0x6ca34d0b, 0xc637, 0x4865, 0xa6, 0x67, 0x7d, 0x4c, 0xd8, 0xa7, 0x04, 0x07)
00031 # endif
00032 #endif
00033 
00034 class QWidget;
00035 
00036 struct TaskbarAppletInterface : public QUnknownInterface
00037 {
00038     virtual QWidget *applet( QWidget *parent ) = 0;
00039     virtual int position() const = 0;
00040 };
00041 
00042 // {7505E192-4977-465A-B72F-0A8DD491CF43} 
00043 #ifndef IID_TaskbarNamedApplet
00044 #define IID_TaskbarNamedApplet QUuid( 0x7505e192, 0x4977, 0x465a, 0xb7, 0x2f, 0x0a, 0x8d, 0xd4, 0x91, 0xcf, 0x43)
00045 #endif
00046 
00047 struct TaskbarNamedAppletInterface : public TaskbarAppletInterface
00048 {
00049     virtual QString name() const = 0;
00050     virtual QPixmap icon() const = 0;
00051 };
00052 
00053 #endif
KDE Logo
This file is part of the documentation for OPIE Version 1.5.5.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:24:08 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001