~vbursian/research-assistant/intervers

« back to all changes in this revision

Viewing changes to RAGUI/GeneralGUI.h

  • Committer: Viktor Bursian
  • Date: 2013-06-06 15:10:08 UTC
  • Revision ID: vbursian@gmail.com-20130606151008-6641eh62f0lgx8jt
Tags: version_0.3.0
version 0.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
////////////////////////////////////////////////////////////////////////////////
2
 
/*! @file GeneralGUI.h   Базовые мелочи для RAGUI.
3
 
- Part of RAGUI - Research Assistant Graphical User Interface.
4
 
- Uses  QtGui v.4.6  -  http://qt.nokia.com/
5
 
- Uses  RANet - Research Assistant Net Library (based on ANSI C++).
6
 
- Copyright(C) 2010, Viktor E. Bursian, St.Petersburg, Russia.
7
 
                     Viktor.Bursian@mail.ioffe.ru
8
 
*///////////////////////////////////////////////////////////////////////////////
9
 
#ifndef GeneralGUI_H
10
 
#define GeneralGUI_H
11
 
#include "RAGUI_global.h"
12
 
#include "Strings.h"
13
 
#include <QString>
14
 
 
15
 
namespace RA {
16
 
//------------------------------------------------------------------------------
17
 
 
18
 
int const                     UpdatingPeriod = 500;
19
 
 
20
 
//------------------------------------------------------------------------------
21
 
 
22
 
inline QString  sString2QString (sString S)
23
 
{
24
 
  return QString::fromUtf8(literal(S));
25
 
}
26
 
 
27
 
 
28
 
inline sString  QString2sString (QString S)
29
 
{
30
 
  return sString(literal(S.toUtf8()));
31
 
}
32
 
 
33
 
//------------------------------------------------------------------------------
34
 
}; //namespace RA
35
 
#endif // GeneralGUI_H