~ubuntu-branches/ubuntu/oneiric/kdepim/oneiric-updates

« back to all changes in this revision

Viewing changes to korganizer/freebusyurldialog.h

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2011-06-28 19:33:24 UTC
  • mfrom: (0.2.13) (0.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20110628193324-8yvjs8sdv9rdoo6c
Tags: 4:4.7.0-0ubuntu1
* New upstream release
  - update install files
  - add missing kdepim-doc package to control file
  - Fix Vcs lines
  - kontact breaks/replaces korganizer << 4:4.6.80
  - tighten the dependency of kdepim-dev on libkdepim4 to fix lintian error

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
  This file is part of KOrganizer.
3
 
 
4
 
  Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
5
 
 
6
 
  This program is free software; you can redistribute it and/or modify
7
 
  it under the terms of the GNU General Public License as published by
8
 
  the Free Software Foundation; either version 2 of the License, or
9
 
  (at your option) any later version.
10
 
 
11
 
  This program is distributed in the hope that it will be useful,
12
 
  but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
 
  GNU General Public License for more details.
15
 
 
16
 
  You should have received a copy of the GNU General Public License along
17
 
  with this program; if not, write to the Free Software Foundation, Inc.,
18
 
  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19
 
 
20
 
  As a special exception, permission is given to link this program
21
 
  with any edition of Qt, and distribute the resulting executable,
22
 
  without including the source code for Qt in the source distribution.
23
 
*/
24
 
#ifndef FREEBUSYURLDIALOG_H
25
 
#define FREEBUSYURLDIALOG_H
26
 
 
27
 
#include <KDialog>
28
 
 
29
 
class FreeBusyUrlWidget;
30
 
class KLineEdit;
31
 
 
32
 
namespace KCal {
33
 
  class Attendee;
34
 
}
35
 
 
36
 
class FreeBusyUrlDialog : public KDialog
37
 
{
38
 
  Q_OBJECT
39
 
  public:
40
 
    explicit FreeBusyUrlDialog( KCal::Attendee *, QWidget *parent = 0 );
41
 
 
42
 
  public slots:
43
 
    void slotOk();
44
 
 
45
 
  private:
46
 
    FreeBusyUrlWidget *mWidget;
47
 
};
48
 
 
49
 
class FreeBusyUrlWidget : public QWidget
50
 
{
51
 
  Q_OBJECT
52
 
  public:
53
 
    explicit FreeBusyUrlWidget( KCal::Attendee *, QWidget *parent = 0 );
54
 
    ~FreeBusyUrlWidget();
55
 
 
56
 
    void loadConfig();
57
 
    void saveConfig();
58
 
 
59
 
  private:
60
 
    KLineEdit *mUrlEdit;
61
 
    KCal::Attendee *mAttendee;
62
 
};
63
 
 
64
 
#endif