snippetitem.h
Go to the documentation of this file.00001 /* 00002 * File : snippetitem.h 00003 * 00004 * Author: Robert Gruber <rgruber@users.sourceforge.net> 00005 * 00006 * Copyright: See COPYING file that comes with this distribution 00007 */ 00008 00009 #ifndef SNIPPETITEM_H 00010 #define SNIPPETITEM_H 00011 00012 #include <klistview.h> 00013 00014 00015 class QString; 00016 00022 class SnippetItem : public QListViewItem { 00023 public: 00024 SnippetItem(QListView * parent, QString name, QString text); 00025 00026 ~SnippetItem(); 00027 QString getName(); 00028 QString getText(); 00029 void setText(QString text); 00030 void setName(QString name); 00031 00032 private: 00033 QString strName; 00034 QString strText; 00035 }; 00036 00037 #endif