summaryrefslogtreecommitdiff
authorzecke <zecke>2005-04-16 22:02:48 (UTC)
committer zecke <zecke>2005-04-16 22:02:48 (UTC)
commitdcb2364568574057819a0f30b8e6958b44b3b698 (patch) (side-by-side diff)
treeacd5cc3ad3b59e8d2e2db162142bae48115be910
parent206784bc9919dca87a71de9b998ff0ece08bd8ca (diff)
downloadopie-dcb2364568574057819a0f30b8e6958b44b3b698.zip
opie-dcb2364568574057819a0f30b8e6958b44b3b698.tar.gz
opie-dcb2364568574057819a0f30b8e6958b44b3b698.tar.bz2
Opie/X11:
-include <qdialog.h> to allow building
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/okeyconfigwidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie2/opieui/okeyconfigwidget.h b/libopie2/opieui/okeyconfigwidget.h
index 3d2260c..cc1ea44 100644
--- a/libopie2/opieui/okeyconfigwidget.h
+++ b/libopie2/opieui/okeyconfigwidget.h
@@ -1,60 +1,61 @@
/*
* Copyright (C) 2004
* LGPL v2 zecke@handhelds.org
*/
#ifndef ODP_KEY_CONFIG_WIDGET_H
#define ODP_KEY_CONFIG_WIDGET_H
#include <opie2/okeyconfigmanager.h>
#include <qhbox.h>
+#include <qdialog.h>
class QKeyEvent;
class QLabel;
class QPushButton;
class QListViewItem;
class QRadioButton;
class QTimer;
namespace Opie {
namespace Ui {
namespace Internal {
class OKeyConfigWidgetPrivate;
typedef QValueList<OKeyConfigWidgetPrivate> OKeyConfigWidgetPrivateList;
class OKeyListViewItem;
}
class OListViewItem;
class OListView;
/**
* With this Widget you can let the Keyboard Shortcuts
* be configured by the user.
* There are two ways you can use this widget. Either in a tab were
* all changes are immediately getting into effect or in a queue
* were you ask for saving. Save won't write the data but only set
* it to the OKeyConfigManager.
*
* Normally subclassing this widget does not make much sense as the widget content
* as such is immutable. If I'm wrong I'm willing to learn and you could mail me which
* functions do make sense with virtual on it (zecke@handhelds.org).
*
* @since 1.2
*/
class OKeyConfigWidget : public QWidget {
Q_OBJECT
public:
/**
* Immediate Apply the change directly to the underlying OKeyConfigManager
* Queue Save all items and then apply when you save()
*/
enum ChangeMode { Imediate, Queue };
OKeyConfigWidget( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
virtual ~OKeyConfigWidget();
void setChangeMode( enum ChangeMode );
ChangeMode changeMode()const;