|
a/src/qtgui/guiutils.h |
|
b/src/qtgui/guiutils.h |
|
... |
|
... |
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
17 |
#ifndef _GUIUTILS_H_INCLUDED_
|
17 |
#ifndef _GUIUTILS_H_INCLUDED_
|
18 |
#define _GUIUTILS_H_INCLUDED_
|
18 |
#define _GUIUTILS_H_INCLUDED_
|
19 |
/*
|
19 |
/*
|
20 |
* @(#$Id: guiutils.h,v 1.3 2006-03-29 17:31:55 dockes Exp $ (C) 2005 Jean-Francois Dockes
|
20 |
* @(#$Id: guiutils.h,v 1.4 2006-04-05 12:50:42 dockes Exp $ (C) 2005 Jean-Francois Dockes
|
21 |
* jean-francois.dockes@wanadoo.fr
|
21 |
* jean-francois.dockes@wanadoo.fr
|
22 |
*
|
22 |
*
|
23 |
* This program is free software; you can redistribute it and/or modify
|
23 |
* This program is free software; you can redistribute it and/or modify
|
24 |
* it under the terms of the GNU General Public License as published by
|
24 |
* it under the terms of the GNU General Public License as published by
|
25 |
* the Free Software Foundation; either version 2 of the License, or
|
25 |
* the Free Software Foundation; either version 2 of the License, or
|
|
... |
|
... |
35 |
* Free Software Foundation, Inc.,
|
35 |
* Free Software Foundation, Inc.,
|
36 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
36 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
37 |
*/
|
37 |
*/
|
38 |
|
38 |
|
39 |
#include <string>
|
39 |
#include <string>
|
|
|
40 |
#include <list>
|
40 |
#include <qstring.h>
|
41 |
#include <qstring.h>
|
|
|
42 |
|
|
|
43 |
#ifndef NO_NAMESPACES
|
|
|
44 |
using std::string;
|
|
|
45 |
using std::list;
|
|
|
46 |
#endif
|
41 |
|
47 |
|
42 |
/** Start a browser on the help document */
|
48 |
/** Start a browser on the help document */
|
43 |
extern bool startHelpBrowser(const string& url = "");
|
49 |
extern bool startHelpBrowser(const string& url = "");
|
44 |
|
50 |
|
45 |
/** Holder for preferences (gets saved to user Qt prefs) */
|
51 |
/** Holder for preferences (gets saved to user Qt prefs) */
|
|
... |
|
... |
54 |
int mainheight;
|
60 |
int mainheight;
|
55 |
int ssearchTyp;
|
61 |
int ssearchTyp;
|
56 |
QString htmlBrowser;
|
62 |
QString htmlBrowser;
|
57 |
bool queryBuildAbstract;
|
63 |
bool queryBuildAbstract;
|
58 |
bool queryReplaceAbstract;
|
64 |
bool queryReplaceAbstract;
|
|
|
65 |
// Extra query databases. This are encoded to base64 before storing
|
|
|
66 |
// to the qt settings file to avoid any bin string/ charset conv issues
|
|
|
67 |
list<string> allExtraDbs;
|
|
|
68 |
list<string> activeExtraDbs;
|
|
|
69 |
|
59 |
PrefsPack() :
|
70 |
PrefsPack() :
|
60 |
showicons(true),
|
71 |
showicons(true),
|
61 |
respagesize(8),
|
72 |
respagesize(8),
|
62 |
reslistfontsize(10),
|
73 |
reslistfontsize(10),
|
63 |
ssearchTyp(0),
|
74 |
ssearchTyp(0),
|