parley
AdjEntryPage.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 00003 dialog page for adjectives (comparison) 00004 00005 ----------------------------------------------------------------------- 00006 00007 begin : Sat Dec 4 18:09:29 1999 00008 00009 copyright : (C) 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de> 00010 (C) 2005-2007 Peter Hedlund <peter.hedlund@kdemail.net> 00011 (C) 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net> 00012 00013 ----------------------------------------------------------------------- 00014 00015 ***************************************************************************/ 00016 00017 /*************************************************************************** 00018 * * 00019 * This program is free software; you can redistribute it and/or modify * 00020 * it under the terms of the GNU General Public License as published by * 00021 * the Free Software Foundation; either version 2 of the License, or * 00022 * (at your option) any later version. * 00023 * * 00024 ***************************************************************************/ 00025 00026 #ifndef AdjEntryPage_included 00027 #define AdjEntryPage_included 00028 00029 #include "ui_AdjEntryPageForm.h" 00030 #include <keduvocdocument.h> 00031 00032 class AdjEntryPage : public QWidget, public Ui::AdjEntryPageForm 00033 { 00034 Q_OBJECT 00035 00036 public: 00037 explicit AdjEntryPage(KEduVocDocument *doc, QWidget *parent = 0); 00038 00039 void setData(int row, int col); 00040 void commitData(); 00041 void clear(); 00042 00043 bool isModified(); 00044 00045 signals: 00046 void sigModified(); 00047 00048 private slots: 00049 void slotDataChanged(const QString&); 00050 00051 private: 00052 KEduVocDocument *m_doc; 00053 int m_currentRow; 00054 int m_currentTranslation; 00055 }; 00056 00057 #endif // AdjEntryPage_included
KDE 4.0 API Reference