QCAD
Open Source 2D CAD
RPatternListMetric.h
Go to the documentation of this file.
1 
20 #ifndef RPATTERNLISTMETRIC_H
21 #define RPATTERNLISTMETRIC_H
22 
23 #include "core_global.h"
24 
25 #include "RPatternList.h"
26 
34 public:
35  static void init();
36  static void uninit() {
37  res.uninit();
38  }
39 
40  static QStringList getNames() {
41  return res.getNames();
42  }
43 
44  static RPattern* get(const QString& name) {
45  return res.get(name);
46  }
47 
48 private:
50 };
51 
54 
55 #endif
static QStringList getNames()
Definition: RPatternListMetric.h:40
Copyright (c) 2011-2016 by Andrew Mustun.
Definition: RPatternListMetric.h:33
#define QCADCORE_EXPORT
Definition: core_global.h:10
Copyright (c) 2011-2016 by Andrew Mustun.
Definition: RPattern.h:43
static void init(bool metric, RResourceList< RPattern > &res)
Copyright (c) 2011-2016 by Andrew Mustun.
Definition: RPatternList.cpp:24
static RResourceList< RPattern > res
Copyright (c) 2011-2016 by Andrew Mustun.
Definition: RPatternListMetric.h:49
Copyright (c) 2011-2016 by Andrew Mustun.
Definition: RPatternList.h:38
Q_DECLARE_METATYPE(RMath *)
static void uninit()
Definition: RPatternListMetric.h:36