libkcal

calselectdialog.h
Go to the documentation of this file.
1 /*
2  This file is part of libkcal.
3 
4  Copyright (c) 2008 Kevin Ottens <ervin@kde.org>
5  Copyright (c) 2010 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.net>
6 
7  This library is free software; you can redistribute it and/or
8  modify it under the terms of the GNU Library General Public
9  License as published by the Free Software Foundation; either
10  version 2 of the License, or (at your option) any later version.
11 
12  This library is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  Library General Public License for more details.
16 
17  You should have received a copy of the GNU Library General Public License
18  along with this library; see the file COPYING.LIB. If not, write to
19  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  Boston, MA 02110-1301, USA.
21 
22  In addition, as a special exception, the copyright holders give
23  permission to link the code of this program with any edition of
24  the TQt library by Trolltech AS, Norway (or with modified versions
25  of TQt that use the same license as TQt), and distribute linked
26  combinations including the two. You must obey the GNU General
27  Public License in all respects for all of the code used other than
28  TQt. If you modify this file, you may extend this exception to
29  your version of the file, but you are not obligated to do so. If
30  you do not wish to do so, delete this exception statement from
31  your version.
32 */
42 #ifndef CALSELECTDIALOG_H
43 #define CALSELECTDIALOG_H
44 
45 #include <kdialogbase.h>
46 
47 namespace KCal {
48 
49 class CalSelectDialog : public KDialogBase
50 {
51  private:
52  CalSelectDialog( const TQString &caption, const TQString &label,
53  const TQStringList &list );
54 
55  public:
56  static TQString getItem( const TQString &caption, const TQString &label,
57  const TQStringList &list );
58 
59  protected:
60  virtual void closeEvent( TQCloseEvent *event );
61  void reject();
62 
63  private:
64  TDEListBox *mListBox;
65 };
66 
67 }
68 
69 #endif
Namespace KCal is for global classes, objects and/or functions in libkcal.
Definition: alarm.h:38