author | zecke <zecke> | 2004-04-13 14:53:58 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-04-13 14:53:58 (UTC) |
commit | b51d88d7b0b517b71ae3b59d8228335f38ca9fc7 (patch) (side-by-side diff) | |
tree | 302377973a897934c944c7a126e5e0a510694979 /libopie2/opieui/okeyconfigwidget_p.h | |
parent | c4c842558e1457f64d43b237f24f6ea1a4f9d76b (diff) | |
download | opie-b51d88d7b0b517b71ae3b59d8228335f38ca9fc7.zip opie-b51d88d7b0b517b71ae3b59d8228335f38ca9fc7.tar.gz opie-b51d88d7b0b517b71ae3b59d8228335f38ca9fc7.tar.bz2 |
Split the KeyConfig Manager and Widget into Ui and Core parts
Adjust the only user...
Don't add a 2nd example to core but mention the one for the classes
in opieui/okeyconfigwidget
Diffstat (limited to 'libopie2/opieui/okeyconfigwidget_p.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opieui/okeyconfigwidget_p.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/libopie2/opieui/okeyconfigwidget_p.h b/libopie2/opieui/okeyconfigwidget_p.h index 7690846..4dece4d 100644 --- a/libopie2/opieui/okeyconfigwidget_p.h +++ b/libopie2/opieui/okeyconfigwidget_p.h @@ -3,29 +3,31 @@ */ #include <opie2/olistview.h> +#include <opie2/okeyconfigmanager_p.h> namespace Opie { namespace Ui { namespace Internal { - static QString keyToString( const OKeyPair& ); - static void fixupKeys( int&, int&, QKeyEvent* ); + static QString keyToString( const Opie::Core::OKeyPair& ); class OKeyListViewItem : public Opie::Ui::OListViewItem { public: - OKeyListViewItem( const OKeyConfigItem& item, OKeyConfigManager*, Opie::Ui::OListViewItem* parent); + OKeyListViewItem( const Opie::Core::OKeyConfigItem& item, + Opie::Core::OKeyConfigManager*, + Opie::Ui::OListViewItem* parent); ~OKeyListViewItem(); void setDefault(); - OKeyConfigItem& item(); - OKeyConfigItem origItem()const; - void setItem( const OKeyConfigItem& item ); + Opie::Core::OKeyConfigItem& item(); + Opie::Core::OKeyConfigItem origItem()const; + void setItem( const Opie::Core::OKeyConfigItem& item ); void updateText(); - OKeyConfigManager *manager(); + Opie::Core::OKeyConfigManager *manager(); private: - OKeyConfigItem m_item; - OKeyConfigItem m_origItem; - OKeyConfigManager* m_manager; + Opie::Core::OKeyConfigItem m_item; + Opie::Core::OKeyConfigItem m_origItem; + Opie::Core::OKeyConfigManager* m_manager; }; } |