Check-in [7a8afa9233]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:coordinateData: add destructor
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | improvements-to-main-menu
Files: files | file ages | folders
SHA1:7a8afa92333e2d9b731e0fbd015447fc9c31dfb6
User & Date: tion 2019-02-15 23:20:50
Context
2019-02-15
23:34
MainWindow: improve constructor code check-in: 27ded31637 user: tion tags: improvements-to-main-menu
23:20
coordinateData: add destructor check-in: 7a8afa9233 user: tion tags: improvements-to-main-menu
22:50
MainWindow: remove unneeded headers. PortalDialer: cancel autofill setting check-in: c987d861d1 user: tion tags: improvements-to-main-menu
Changes

Changes to src/CoordinateData.cpp.

17
18
19
20
21
22
23









24
25
26
27
28
29
30
	initCoordinates();
	initGlyphs();

   if ( isCoordinate == true )
      coordinates = _code;
   else
      glyph_code = _code;









}
//------------------------------------------------------------------
///////////////////////
// COPY CONSTRUCTORS //
///////////////////////
//------------------------------------------------------------------
coordinateData::coordinateData (const coordinateData &other)







>
>
>
>
>
>
>
>
>







17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
	initCoordinates();
	initGlyphs();

   if ( isCoordinate == true )
      coordinates = _code;
   else
      glyph_code = _code;
}
//------------------------------------------------------------------
////////////////
// DESTRUCTOR //
////////////////
//------------------------------------------------------------------
coordinateData::~coordinateData()
{
   reset();
}
//------------------------------------------------------------------
///////////////////////
// COPY CONSTRUCTORS //
///////////////////////
//------------------------------------------------------------------
coordinateData::coordinateData (const coordinateData &other)

Changes to src/CoordinateData.h.

41
42
43
44
45
46
47



48
49
50
51
52
53
54
       * 
       *  \param[in] _code A valid coordinate or glyph code.
       *  \param[in] isCoordinate Defines the input type.
       *  \warning No error-checking that isCoordinate correctly
       *  corresponds to the type of input _code is.
      */
      coordinateData(const QString &_code, bool isCoordinate = true);




      // Copy Constructors
      /** \details Copy constructor for const CoordinateData object.
       * 
       *  \param[in] other An initialized CoordinateData object to
       *  copy data from.
      */







>
>
>







41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
       * 
       *  \param[in] _code A valid coordinate or glyph code.
       *  \param[in] isCoordinate Defines the input type.
       *  \warning No error-checking that isCoordinate correctly
       *  corresponds to the type of input _code is.
      */
      coordinateData(const QString &_code, bool isCoordinate = true);

		/** Destructor **/
		~coordinateData();

      // Copy Constructors
      /** \details Copy constructor for const CoordinateData object.
       * 
       *  \param[in] other An initialized CoordinateData object to
       *  copy data from.
      */

Changes to src/MainWindow.h.

9
10
11
12
13
14
15
16
17

18
19
20
21
22
23
24
/** \class MainWindow
 * 
 *  \brief The main window to handle coordinate/glyph code
 *  conversion.
 * 
 *  To create a MainWindow:
 * 
 * 		// Create a bare object
 * 		MainWindow example;

 * 
*/
class MainWindow : public QMainWindow
{
   Q_OBJECT

   public:







<

>







9
10
11
12
13
14
15

16
17
18
19
20
21
22
23
24
/** \class MainWindow
 * 
 *  \brief The main window to handle coordinate/glyph code
 *  conversion.
 * 
 *  To create a MainWindow:
 * 

 * 		MainWindow example;
 *			example.show();
 * 
*/
class MainWindow : public QMainWindow
{
   Q_OBJECT

   public: