parley
containerview.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 00003 Copyright 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net> 00004 00005 ***************************************************************************/ 00006 00007 /*************************************************************************** 00008 * * 00009 * This program is free software; you can redistribute it and/or modify * 00010 * it under the terms of the GNU General Public License as published by * 00011 * the Free Software Foundation; either version 2 of the License, or * 00012 * (at your option) any later version. * 00013 * * 00014 ***************************************************************************/ 00015 00016 #ifndef CONTAINERVIEW_H 00017 #define CONTAINERVIEW_H 00018 00019 #include <QTreeView> 00020 00021 class ContainerModel; 00022 class KEduVocContainer; 00023 class KEduVocExpression; 00024 00025 00030 class ContainerView : public QTreeView 00031 { 00032 Q_OBJECT 00033 public: 00037 ContainerView(QWidget *parent = 0); 00040 virtual void setModel(ContainerModel *model); 00041 00042 00043 public slots: 00044 void setTranslation(KEduVocExpression*, int); 00045 00047 void slotRename(); 00048 00049 signals: 00051 void signalShowContainer(KEduVocContainer* selected); 00052 00054 void lessonsInPracticeChanged(); 00055 00056 protected: 00058 ContainerModel *m_model; 00059 }; 00060 00061 #endif
KDE 4.2 API Reference