snippetconfig.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef SNIPPETCONFIG_H
00010 #define SNIPPETCONFIG_H
00011
00012 #include <qstring.h>
00013 #include <qrect.h>
00014
00015
00021 class SnippetConfig{
00022 public:
00023 SnippetConfig();
00024
00025 ~SnippetConfig();
00026
00027 bool useToolTips() { return (bToolTip); };
00028 int getInputMethod() { return (iInputMethod); };
00029 QString getDelimiter() { return (strDelimiter); };
00030 QRect getSingleRect() { return (rSingle); };
00031 QRect getMultiRect() { return (rMulti); };
00032
00033 void setToolTips(bool b) { bToolTip=b; };
00034 void setInputMethod(int i) { iInputMethod=i; };
00035 void setDelimiter(QString s) { strDelimiter=s; };
00036 void setSingleRect(QRect r) {
00037 rSingle = (r.isValid())?r:QRect();
00038 }
00039 void setMultiRect(QRect r) {
00040 rMulti = (r.isValid())?r:QRect();
00041 }
00042
00043 protected:
00044 bool bToolTip;
00045 int iInputMethod;
00046 QString strDelimiter;
00047 QRect rSingle;
00048 QRect rMulti;
00049 int iMultiBasicHeight;
00050 int iMultiCount;
00051 };
00052
00053 #endif
This file is part of the documentation for KDevelop Version 3.1.2.