File: xt.h

package info (click to toggle)
postbooks 4.10.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 112,660 kB
  • ctags: 22,890
  • sloc: cpp: 310,358; sh: 607; xml: 214; python: 140; awk: 104; makefile: 50
file content (41 lines) | stat: -rw-r--r-- 724 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef XT_H
#define XT_H

#include <QScriptEngine>

void setupXt(QScriptEngine *engine);

class Xt
{

  public:

  enum ItemDataRole {
    RawRole = (Qt::UserRole + 1),
    ScaleRole,
    IdRole,
    RunningSetRole,
    RunningInitRole,
    TotalSetRole,
    TotalInitRole,
    IndentRole,
    DeletedRole
  };

  enum StandardModules
  {
    AllModules        = 0x00000000,
    AccountingModule  = 0x00000200,
    SalesModule       = 0x00000400,
    CRMModule         = 0x00000800,
    ManufactureModule = 0x00001000,
    PurchaseModule    = 0x00002000,
    ScheduleModule    = 0x00004000,
    InventoryModule   = 0x00008000,
    ProductsModule    = 0x00010000,
    SystemModule      = 0x00020000
  };

};

#endif // XT_H