ktimezonewidget.h
/*
Copyright (C) 2005, S.R.Haque <srhaque@iee.org>.
This file is part of the KDE project
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2, as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef KTIMEZONEWIDGET_H
#define KTIMEZONEWIDGET_H
#include <kdelibs_export.h>
#include <klistview.h>
#include <qstring.h>
class KTimezone;
class KTimezones;
class KTimezoneWidgetPrivate;
class KDEUI_EXPORT KTimezoneWidget :
public KListView
{
Q_OBJECT
public:
KTimezoneWidget(QWidget *parent = 0, const char *name = 0, KTimezones *db = 0);
virtual ~KTimezoneWidget();
QStringList selection() const;
void setSelected(const QString &zone, bool selected);
static QString displayName(const KTimezone *zone);
private:
KTimezoneWidgetPrivate *d;
};
#endif
KTimezoneWidget
A timezone selection widget.
Definition: ktimezonewidget.h:59
KTimezones
KTimezone
KListView
This Widget extends the functionality of QListView to honor the system wide settings for Single Click...
Definition: klistview.h:53

KDE Home | KDE Accessibility Home | Description of Access Keys