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