• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kdeui
 

kdeui

  • kdeui
kdatewidget.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 2001 Waldo Bastian (bastian@kde.org)
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License version 2 as published by the Free Software Foundation.
7 
8  This library is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  Library General Public License for more details.
12 
13  You should have received a copy of the GNU Library General Public License
14  along with this library; see the file COPYING.LIB. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 */
18 
19 #ifndef __KDATECTL_H__
20 #define __KDATECTL_H__
21 
22 #include <tqwidget.h>
23 #include <tqdatetime.h>
24 
25 #include <kdelibs_export.h>
26 
36 class KDEUI_EXPORT KDateWidget : public TQWidget
37 {
38  Q_OBJECT
39  Q_PROPERTY( TQDate date READ date WRITE setDate )
40 
41 public:
45  KDateWidget( TQWidget *parent=0, const char *name=0 );
46 
50  KDateWidget( TQDate date, TQWidget *parent=0, const char *name=0 );
51 
55  virtual ~KDateWidget();
56 
60  TQDate date() const;
61 
65  void setDate(TQDate date);
66 
67 
68 signals:
73  void changed(TQDate);
74 
75 protected:
76  void init();
77  void init(const TQDate&);
78 
79 protected slots:
80  void slotDateChanged();
81 
82 protected:
83  virtual void virtual_hook( int id, void* data );
84 private:
85  class KDateWidgetPrivate;
86  KDateWidgetPrivate *d;
87 };
88 
89 #endif
90 
KDateWidget
A pushbutton to display or allow user selection of a date.
Definition: kdatewidget.h:36

kdeui

Skip menu "kdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeui

Skip menu "kdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdeui by doxygen 1.8.13
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |