QCAD
Open Source 2D CAD
RLinetypeListMetric.h
Go to the documentation of this file.
1 
20 #ifndef RLINETYPELISTMETRIC_H
21 #define RLINETYPELISTMETRIC_H
22 
23 #include "core_global.h"
24 
25 #include "RLinetypeList.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 RLinetypePattern* get(const QString& name) {
45  return res.get(name);
46  }
47 
48 private:
50 };
51 
54 
55 #endif
#define QCADCORE_EXPORT
Definition: core_global.h:10
Copyright (c) 2011-2017 by Andrew Mustun.
Definition: RLinetypePattern.h:45
static void uninit()
Definition: RLinetypeListMetric.h:36
Q_DECLARE_METATYPE(RMath *)
static RResourceList< RLinetypePattern > res
Copyright (c) 2011-2017 by Andrew Mustun.
Definition: RLinetypeListMetric.h:49
static QStringList getNames()
Definition: RLinetypeListMetric.h:40
static void init(bool metric, RResourceList< RLinetypePattern > &res)
Copyright (c) 2011-2017 by Andrew Mustun.
Definition: RLinetypeList.cpp:24
Copyright (c) 2011-2017 by Andrew Mustun.
Definition: RLinetypeList.h:39
Copyright (c) 2011-2017 by Andrew Mustun.
Definition: RLinetypeListMetric.h:33