• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

kiten/lib

kromajiedit.h

Go to the documentation of this file.
00001 /* This file is part of Kiten, a KDE Japanese Reference Tool...
00002  Copyright (C) 2001  Jason Katz-Brown <jason@katzbrown.com>
00003            (C) 2006  Joseph Kerian <jkerian@gmail.com>
00004 
00005    This library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Library General Public
00007    License as published by the Free Software Foundation; either
00008    version 2 of the License, or (at your option) any later version.
00009 
00010    This library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Library General Public License for more details.
00014 
00015    You should have received a copy of the GNU Library General Public License
00016    along with this library; see the file COPYING.LIB.  If not, write to
00017    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018    Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #ifndef KITEN_KROMAJIEDIT_H
00022 #define KITEN_KROMAJIEDIT_H
00023 
00024 #include <QtCore/QMap>
00025 
00026 #include <klineedit.h>
00027 
00028 class QKeyEvent;
00029 class QWidget;
00030 class QMenu;
00031 class QByteArray;
00032 
00033 class /* NO_EXPORT */ KRomajiEdit : public KLineEdit
00034 {
00035     Q_OBJECT
00036 
00037     public:
00038     KRomajiEdit(QWidget *parent, const char *name);
00039     ~KRomajiEdit();
00040 
00041     public Q_SLOTS:
00042     void setKana(QAction*);
00043 
00044     protected:
00045     void keyPressEvent(QKeyEvent *e);
00046     QMenu *createPopupMenu();
00047 
00048     private:
00049     QMap<QString, QString> hiragana;
00050     QMap<QString, QString> katakana;
00051 
00052     QByteArray kana;
00053 };
00054 
00055 #endif

kiten/lib

Skip menu "kiten/lib"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal