Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TextLnk.h

Go to the documentation of this file.
00001 #ifndef _PASTELNK_H_
00002 #define _PASTELNK_H_
00003 
00004 #include <qwindowsystem_qws.h>
00005 
00006 #include <qpe/qpeapplication.h>
00007 #include <qclipboard.h>
00008 #include <qregexp.h>
00009 
00010 #include "AnyLnk.h"
00011 
00012 class TextLnk : public AnyLnk
00013 {
00014 public:
00015         TextLnk(){}
00016         TextLnk(const QStringList& params)
00017                 : AnyLnk(params){}
00018         virtual ~TextLnk() {
00019         }
00020 
00021         virtual bool isValid() {
00022                 return(true);
00023         }
00024         virtual QString name() {
00025                 return("text");
00026         }
00027         virtual const QPixmap& pixmap() {
00028                 return(m_pixmap);
00029         }
00030 
00031         virtual void execute();
00032 protected:
00033         virtual void parse(QString& str);
00034         virtual void replace(QString& str, const QString& s1, const QString& s2);
00035 };
00036 
00037 #endif /* _PASTELNK_H_ */
00038 

Generated on Sat Nov 5 16:16:42 2005 for OPIE by  doxygen 1.4.2