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

tdeui

  • tdeui
ktimewidget.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 2002 Hans Petter bieker <bieker@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 __KTIMEWIDGET__
20 #define __KTIMEWIDGET__
21 
22 #include <tqwidget.h>
23 #include <tqdatetime.h>
24 
25 #include <tdelibs_export.h>
26 
37 class TDEUI_EXPORT KTimeWidget : public TQWidget
38 {
39  TQ_OBJECT
40  TQ_PROPERTY( TQTime time READ time WRITE setTime )
41 
42 public:
46  KTimeWidget(TQWidget * parent = 0, const char * name = 0);
47 
52  KTimeWidget(const TQTime & time,
53  TQWidget * parent = 0, const char * name = 0 );
54 
58  virtual ~KTimeWidget();
59 
63  TQTime time() const;
64 
65 public slots:
69  void setTime(const TQTime & time);
70 
71 signals:
76  void valueChanged(const TQTime & time);
77 
78 private:
79  void init();
80 
81 private:
82  class KTimeWidgetPrivate;
83  KTimeWidgetPrivate *d;
84 };
85 
86 #endif
KTimeWidget
A time selection widget.
Definition: ktimewidget.h:38
KTimeWidget::valueChanged
void valueChanged(const TQTime &time)
Emitted whenever the time of the widget is changed, either with setTime() or via user selection.

tdeui

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

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.9.1
This website is maintained by Timothy Pearson.