• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

ktimetracker

  • sources
  • kde-4.12
  • kdepim
  • ktimetracker
ktimetrackerpart.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2008 by Thorsten Staerk <kde@staerk.de>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the
16  * Free Software Foundation, Inc.
17  * 51 Franklin Street, Fifth Floor
18  * Boston, MA 02110-1301 USA.
19  *
20  */
21 
22 #ifndef _KTIMETRACKERPART_H_
23 #define _KTIMETRACKERPART_H_
24 
25 #include <kparts/part.h>
26 #include <kaboutdata.h>
27 #include "reportcriteria.h"
28 
29 class TrayIcon;
30 class QWidget;
31 class TimetrackerWidget;
32 
41 class ktimetrackerpart : public KParts::ReadWritePart
42 {
43  Q_OBJECT
44 
45  private:
46  void makeMenus();
47  TimetrackerWidget *mMainWidget;
48 
49 
50  friend class TrayIcon;
51 
52 public:
53  ktimetrackerpart(QWidget *parentWidget, QObject *parent, const QVariantList&);
54 
55  TimetrackerWidget* MainWidget() { return mMainWidget; };
56 
57  virtual ~ktimetrackerpart();
58  static KAboutData *createAboutData();
64  virtual bool openFile();
65  virtual bool openFile(QString icsfile);
66 
67 protected:
68  virtual bool saveFile();
69 
70 public Q_SLOTS:
71  void setStatusBar(const QString & qs);
72  void keyBindings();
73 
74 };
75 
76 #endif // _KTIMETRACKERPART_H_
TimetrackerWidget
Definition: timetrackerwidget.h:36
ktimetrackerpart::MainWidget
TimetrackerWidget * MainWidget()
Definition: ktimetrackerpart.h:55
ktimetrackerpart::keyBindings
void keyBindings()
Definition: ktimetrackerpart.cpp:92
ktimetrackerpart::openFile
virtual bool openFile()
openFile() opens the icalendar file that contains the tasks and events.
Definition: ktimetrackerpart.cpp:117
QWidget
ktimetrackerpart::saveFile
virtual bool saveFile()
Definition: ktimetrackerpart.cpp:122
TrayIcon
Definition: tray.h:37
ktimetrackerpart::~ktimetrackerpart
virtual ~ktimetrackerpart()
Definition: ktimetrackerpart.cpp:66
QObject
ktimetrackerpart::setStatusBar
void setStatusBar(const QString &qs)
Definition: ktimetrackerpart.cpp:98
reportcriteria.h
ktimetrackerpart::createAboutData
static KAboutData * createAboutData()
Definition: ktimetrackerpart.cpp:70
ktimetrackerpart
This is a "Part".
Definition: ktimetrackerpart.h:41
ktimetrackerpart::ktimetrackerpart
ktimetrackerpart(QWidget *parentWidget, QObject *parent, const QVariantList &)
Definition: ktimetrackerpart.cpp:53
icsfile
QString icsfile(const KCmdLineArgs *args)
Definition: main.cpp:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

ktimetracker

Skip menu "ktimetracker"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal