Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

datebookevent.h

Go to the documentation of this file.
00001 /*
00002  * datebookplugin.h
00003  *
00004  * copyright   : (c) 2002, 2003, 2004 by Maximilian Reiß
00005  * email       : harlekin@handhelds.org
00006  *
00007  */
00008 /***************************************************************************
00009  *                                                                         *
00010  *   This program is free software; you can redistribute it and/or modify  *
00011  *   it under the terms of the GNU General Public License as published by  *
00012  *   the Free Software Foundation; either version 2 of the License, or     *
00013  *   (at your option) any later version.                                   *
00014  *                                                                         *
00015  ***************************************************************************/
00016 
00017 #ifndef DATEBOOKEVENT_PLUGIN_H
00018 #define DATEBOOKEVENT_PLUGIN_H
00019 
00020 #include <opie2/oclickablelabel.h>
00021 
00022 #include <qpe/datebookdb.h>
00023 
00024 
00025 class DateBookEvent: public Opie::Ui::OClickableLabel {
00026      Q_OBJECT
00027 
00028 public:
00029      DateBookEvent( const EffectiveEvent &ev,
00030                     QWidget* parent = 0,
00031                     bool show_location = 0,
00032                     bool show_notes = 0,
00033                     bool timeExtraLine = 0,
00034                     int maxCharClip = 0,
00035                     const char* name = 0,
00036                     WFlags fl = 0 );
00037      ~DateBookEvent();
00038 
00039  signals:
00040      void editEvent( const Event &e );
00041      
00042 private slots:
00043     void editEventSlot( const Event &e );
00044     void editMe();
00045 
00046  private:
00047   
00048     QString ampmTime( QTime );
00049     QString differDate( QDate date );
00050     const EffectiveEvent event;
00051     bool ampm;
00052 };
00053 
00054 #endif

Generated on Sat Nov 5 16:15:55 2005 for OPIE by  doxygen 1.4.2