Debian Codegraph @

HercStudio/Fonts.cpp

raw symbols SCIP
1 /*
2 * File: Fonts.cpp
3 *
4 * Author: Jacob Dekel
5 * Created on: Aug 10, 2009
6 *
7 * Copyright (c) 2009-2013 Jacob Dekel
8 * $Id$
9 *
10 * This program is free software: you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation, either version 3 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program. If not, see <http://www.gnu.org/licenses/>.
22 *
23 */
24
25 #include "Fonts.h"cxx . . $ `<file>/HercStudio/Fonts.h`/
26 #include "HerculesStudio.h"cxx . . $ `<file>/HercStudio/HerculesStudio.h`/
27
28 #include <QFontDatabase>
29 #include <QStringList>
30
31 Fontscxx . . $ Fonts# * Fontscxx . . $ Fonts#::mInstancecxx . . $ Fonts#mInstance. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!;
32
33 Fontscxx . . $ Fonts#::Fontscxx . . $ Fonts#Fonts(49f6e7a06ebc5aa8).()
34 {
35 QFontDatabasecxx . . $ QFontDatabase# dbcxx . . $ QFontDatabase#QFontDatabase(49f6e7a06ebc5aa8).;
36 mFontscxx . . $ Fonts#mFonts. =cxx . . $ QStringList#`operator=`(99dcbe54f9ac14fc). db.familiescxx . . $ QFontDatabase#families(e4903b31291c8d96).();
37 mFontscxx . . $ Fonts#mFonts..insertcxx . . $ QList#insert(20dcc09d4a3213bb).(0,"(system default)"cxx . . $ QString#QString(85c52e162fed56f9).);
38 for (int i=0; i<mFontscxx . . $ Fonts#mFonts..sizecxx . . $ QList#size(455f465bc33b4cdf).(); ++i)
39 {
40 hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(5, i << ": " << mFonts.at(i).toLocal8Bit().constData() );
41 }
42 }
43
44 Fontscxx . . $ Fonts#& Fontscxx . . $ Fonts#::getInstancecxx . . $ Fonts#getInstance(9f0a32cc5c0d0af).()
45 {
46 if (mInstancecxx . . $ Fonts#mInstance. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!)
47 return *mInstancecxx . . $ Fonts#mInstance.;
48 mInstancecxx . . $ Fonts#mInstance. = new Fontscxx . . $ Fonts#();
49 return *mInstancecxx . . $ Fonts#mInstance.;
50 }
51
52 QStringListcxx . . $ QStringList#& Fontscxx . . $ Fonts#::getListcxx . . $ Fonts#getList(3e0be9920679c4da).()
53 {
54 return mFontscxx . . $ Fonts#mFonts.;
55 }
56
57 QStringcxx . . $ QString# Fontscxx . . $ Fonts#::atcxx . . $ Fonts#at(ce915ed341d4a7f0).(int index)
58 {
59 return mFontscxx . . $ QString#QString(3520e46b33348bf6)..atcxx . . $ QList#at(e2681f9bb6b2f357).(index);
60 }
61
62 int Fontscxx . . $ Fonts#::indexOfcxx . . $ Fonts#indexOf(645d6210e0be3a78).(const QStringcxx . . $ QString#& fontName)
63 {
64 return mFontscxx . . $ Fonts#mFonts..indexOfcxx . . $ QList#indexOf(fc79640c865a6596).(fontName);
65 }
66
67 Fontscxx . . $ Fonts#::~cxx . . $ Fonts#`~Fonts`(49f6e7a06ebc5aa8).Fontscxx . . $ Fonts#()
68 {
69 // TODO Auto-generated destructor stub
70 }