Deleting xxmklink_readme.txt
[qtdict.git] / settings.h
blobbd7d4b391cfcf433e26a5cae7680836faef90c55
1 // Copyright (c) 2008, Andrew BĂ©csi (andrewbecsi @ yahoo . co . uk)
2 //
3 // This program is free software, released under the GNU General Public License
4 // and you are welcome to redistribute it under certain conditions. It comes with
5 // ABSOLUTELY NO WARRANTY; for details read the GNU General Public License to be
6 // found in the file "COPYING" distributed with this program, or online at:
7 // http://www.gnu.org/copyleft/gpl.html
9 #ifndef SETTINGS_H
10 #define SETTINGS_H
12 #include <QString>
13 #include "dictionary.h"
15 class settings{
17 public:
18 settings(int di, int mi, int hi, QString &w): dict(di), mode(mi), hit(hi), word(w) {};
20 int dict;
21 int mode;
22 int hit;
25 //search term
26 QString word;
28 bool operator==(const settings &set){
29 return (set.dict==dict) && (set.word==word) && (set.mode==mode) && (set.hit==hit);
34 #endif