-
Notifications
You must be signed in to change notification settings - Fork 0
/
class_open_c_k_version.html
1357 lines (1248 loc) · 69.8 KB
/
class_open_c_k_version.html
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenCK: OpenCKVersion Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="openck48x48.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">OpenCK
 <span id="projectnumber">0.0.alpha1</span>
</div>
<div id="projectbrief">An Open Source replacement for Bethesda's Creation Kit written in C++ in the Qt framework.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="#pub-attribs">Public Attributes</a> |
<a href="#pro-methods">Protected Member Functions</a> |
<a href="#pro-static-attribs">Static Protected Attributes</a> |
<a href="class_open_c_k_version-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">OpenCKVersion Class Reference<span class="mlabels"><span class="mlabel">final</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p>The version class controls the versioning of OpenCK.
<a href="class_open_c_k_version.html#details">More...</a></p>
<p><code>#include <<a class="el" href="version_8h_source.html">version.h</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a12f9210a69287b9e4ea8fbf5ff0eb393"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a12f9210a69287b9e4ea8fbf5ff0eb393">OpenCKVersion</a> (const QString &ver)</td></tr>
<tr class="memdesc:a12f9210a69287b9e4ea8fbf5ff0eb393"><td class="mdescLeft"> </td><td class="mdescRight">Constructs the version object. <a href="#a12f9210a69287b9e4ea8fbf5ff0eb393">More...</a><br /></td></tr>
<tr class="separator:a12f9210a69287b9e4ea8fbf5ff0eb393"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a88a8c3cbe2013658cbec7b3369453fcc"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a88a8c3cbe2013658cbec7b3369453fcc">OpenCKVersion</a> (const <a class="el" href="class_open_c_k_version.html">OpenCKVersion</a> &other)</td></tr>
<tr class="memdesc:a88a8c3cbe2013658cbec7b3369453fcc"><td class="mdescLeft"> </td><td class="mdescRight">Constructs the version object. <a href="#a88a8c3cbe2013658cbec7b3369453fcc">More...</a><br /></td></tr>
<tr class="separator:a88a8c3cbe2013658cbec7b3369453fcc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeb185ba2128cd6f8177cd5339a31dac2"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#aeb185ba2128cd6f8177cd5339a31dac2">~OpenCKVersion</a> ()</td></tr>
<tr class="memdesc:aeb185ba2128cd6f8177cd5339a31dac2"><td class="mdescLeft"> </td><td class="mdescRight">Destructs the version object. <a href="#aeb185ba2128cd6f8177cd5339a31dac2">More...</a><br /></td></tr>
<tr class="separator:aeb185ba2128cd6f8177cd5339a31dac2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9434bdfa325e5fd71613777b45d3f265"><td class="memItemLeft" align="right" valign="top">QList< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a9434bdfa325e5fd71613777b45d3f265">parts</a> () const</td></tr>
<tr class="memdesc:a9434bdfa325e5fd71613777b45d3f265"><td class="mdescLeft"> </td><td class="mdescRight">Gets a list of parts of the version. <a href="#a9434bdfa325e5fd71613777b45d3f265">More...</a><br /></td></tr>
<tr class="separator:a9434bdfa325e5fd71613777b45d3f265"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0f4060ef646832ba6bdce5ce94abe7cb"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a0f4060ef646832ba6bdce5ce94abe7cb">majMin</a> () const</td></tr>
<tr class="memdesc:a0f4060ef646832ba6bdce5ce94abe7cb"><td class="mdescLeft"> </td><td class="mdescRight">Instance version of rawToMajMin(QString) <a href="#a0f4060ef646832ba6bdce5ce94abe7cb">More...</a><br /></td></tr>
<tr class="separator:a0f4060ef646832ba6bdce5ce94abe7cb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a782d022ad53329b2c42d7085bc3ac1af"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a782d022ad53329b2c42d7085bc3ac1af">hex</a> () const</td></tr>
<tr class="memdesc:a782d022ad53329b2c42d7085bc3ac1af"><td class="mdescLeft"> </td><td class="mdescRight">Instance version of <a class="el" href="class_open_c_k_version.html#a9d420dd7853b1f591a43c9e33e73d6c7" title="Return hex version of version string. ">hexVersion(QList<int>)</a> <a href="#a782d022ad53329b2c42d7085bc3ac1af">More...</a><br /></td></tr>
<tr class="separator:a782d022ad53329b2c42d7085bc3ac1af"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afabb946395c3e06ad16f6afef1368ed9"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#afabb946395c3e06ad16f6afef1368ed9">operator<</a> (const <a class="el" href="class_open_c_k_version.html">OpenCKVersion</a> &other) const</td></tr>
<tr class="memdesc:afabb946395c3e06ad16f6afef1368ed9"><td class="mdescLeft"> </td><td class="mdescRight">Compares two version objects to each other to see if one is less than the other. <a href="#afabb946395c3e06ad16f6afef1368ed9">More...</a><br /></td></tr>
<tr class="separator:afabb946395c3e06ad16f6afef1368ed9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae71d3f6a5bff6daf95af8bfc9e09292c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#ae71d3f6a5bff6daf95af8bfc9e09292c">operator<=</a> (const <a class="el" href="class_open_c_k_version.html">OpenCKVersion</a> &other) const</td></tr>
<tr class="memdesc:ae71d3f6a5bff6daf95af8bfc9e09292c"><td class="mdescLeft"> </td><td class="mdescRight">Compares two version objects to each other to see if one is less than or equal to the other. <a href="#ae71d3f6a5bff6daf95af8bfc9e09292c">More...</a><br /></td></tr>
<tr class="separator:ae71d3f6a5bff6daf95af8bfc9e09292c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a42e5227cb018bfd4d86340635eb076da"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a42e5227cb018bfd4d86340635eb076da">operator==</a> (const <a class="el" href="class_open_c_k_version.html">OpenCKVersion</a> &other) const</td></tr>
<tr class="memdesc:a42e5227cb018bfd4d86340635eb076da"><td class="mdescLeft"> </td><td class="mdescRight">Compares equality between two version objects. <a href="#a42e5227cb018bfd4d86340635eb076da">More...</a><br /></td></tr>
<tr class="separator:a42e5227cb018bfd4d86340635eb076da"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6cc86f9a11e60adb3518fb04e9a99f7b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a6cc86f9a11e60adb3518fb04e9a99f7b">operator!=</a> (const <a class="el" href="class_open_c_k_version.html">OpenCKVersion</a> &other) const</td></tr>
<tr class="memdesc:a6cc86f9a11e60adb3518fb04e9a99f7b"><td class="mdescLeft"> </td><td class="mdescRight">Compares inequality between two version objects. <a href="#a6cc86f9a11e60adb3518fb04e9a99f7b">More...</a><br /></td></tr>
<tr class="separator:a6cc86f9a11e60adb3518fb04e9a99f7b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af3ea00f97cc3e038db80c005a729c1df"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#af3ea00f97cc3e038db80c005a729c1df">operator></a> (const <a class="el" href="class_open_c_k_version.html">OpenCKVersion</a> &other) const</td></tr>
<tr class="memdesc:af3ea00f97cc3e038db80c005a729c1df"><td class="mdescLeft"> </td><td class="mdescRight">Compares two version objects to each other to see if one is greater than the other. <a href="#af3ea00f97cc3e038db80c005a729c1df">More...</a><br /></td></tr>
<tr class="separator:af3ea00f97cc3e038db80c005a729c1df"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3b1180adb485688047d6837b49769d04"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a3b1180adb485688047d6837b49769d04">operator>=</a> (const <a class="el" href="class_open_c_k_version.html">OpenCKVersion</a> &other) const</td></tr>
<tr class="memdesc:a3b1180adb485688047d6837b49769d04"><td class="mdescLeft"> </td><td class="mdescRight">Compares two version objects to each other to see if one is greater than or equal to the other. <a href="#a3b1180adb485688047d6837b49769d04">More...</a><br /></td></tr>
<tr class="separator:a3b1180adb485688047d6837b49769d04"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2bd6c614c1ad17cccbbd832a98179c55"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a2bd6c614c1ad17cccbbd832a98179c55">operator<</a> (const QString &other) const</td></tr>
<tr class="memdesc:a2bd6c614c1ad17cccbbd832a98179c55"><td class="mdescLeft"> </td><td class="mdescRight">Compares a version object to a version string to see if one is less than the other. <a href="#a2bd6c614c1ad17cccbbd832a98179c55">More...</a><br /></td></tr>
<tr class="separator:a2bd6c614c1ad17cccbbd832a98179c55"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a433bb794d37224281c160dae05f8492b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a433bb794d37224281c160dae05f8492b">operator<=</a> (const QString &other) const</td></tr>
<tr class="memdesc:a433bb794d37224281c160dae05f8492b"><td class="mdescLeft"> </td><td class="mdescRight">Compares a version object to a version string to see if one is less than or equal to the other. <a href="#a433bb794d37224281c160dae05f8492b">More...</a><br /></td></tr>
<tr class="separator:a433bb794d37224281c160dae05f8492b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a33aaf014ad3b9be70c47354acec30e1e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a33aaf014ad3b9be70c47354acec30e1e">operator==</a> (const QString &other) const</td></tr>
<tr class="memdesc:a33aaf014ad3b9be70c47354acec30e1e"><td class="mdescLeft"> </td><td class="mdescRight">Compares equality between a version object and a version string. <a href="#a33aaf014ad3b9be70c47354acec30e1e">More...</a><br /></td></tr>
<tr class="separator:a33aaf014ad3b9be70c47354acec30e1e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7a57d066ba22d06cc708779f1e14e285"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a7a57d066ba22d06cc708779f1e14e285">operator!=</a> (const QString &other) const</td></tr>
<tr class="memdesc:a7a57d066ba22d06cc708779f1e14e285"><td class="mdescLeft"> </td><td class="mdescRight">Compares inequality between a version object and a version string. <a href="#a7a57d066ba22d06cc708779f1e14e285">More...</a><br /></td></tr>
<tr class="separator:a7a57d066ba22d06cc708779f1e14e285"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad9ba5f9e635b53a8b432e6a7ca87aff0"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#ad9ba5f9e635b53a8b432e6a7ca87aff0">operator></a> (const QString &other) const</td></tr>
<tr class="memdesc:ad9ba5f9e635b53a8b432e6a7ca87aff0"><td class="mdescLeft"> </td><td class="mdescRight">Compares a version object to a version string to see if one is greater than the other. <a href="#ad9ba5f9e635b53a8b432e6a7ca87aff0">More...</a><br /></td></tr>
<tr class="separator:ad9ba5f9e635b53a8b432e6a7ca87aff0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa52f1d405d4ab8347029effcd22b8a8a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#aa52f1d405d4ab8347029effcd22b8a8a">operator>=</a> (const QString &other) const</td></tr>
<tr class="memdesc:aa52f1d405d4ab8347029effcd22b8a8a"><td class="mdescLeft"> </td><td class="mdescRight">Compares a version object to a version string to see if one is greater than or equal to the other. <a href="#aa52f1d405d4ab8347029effcd22b8a8a">More...</a><br /></td></tr>
<tr class="separator:aa52f1d405d4ab8347029effcd22b8a8a"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a8ba9ac4ab633c36bf90ae1cd1bebc18a"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a8ba9ac4ab633c36bf90ae1cd1bebc18a">setNumParts</a> (int num)</td></tr>
<tr class="memdesc:a8ba9ac4ab633c36bf90ae1cd1bebc18a"><td class="mdescLeft"> </td><td class="mdescRight">Set the number of parts in the version string. <a href="#a8ba9ac4ab633c36bf90ae1cd1bebc18a">More...</a><br /></td></tr>
<tr class="separator:a8ba9ac4ab633c36bf90ae1cd1bebc18a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2172d1173fd070754646d52f611e1b12"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a2172d1173fd070754646d52f611e1b12">hexVersion</a> (const QString ver)</td></tr>
<tr class="memdesc:a2172d1173fd070754646d52f611e1b12"><td class="mdescLeft"> </td><td class="mdescRight">Return hex version of version string. <a href="#a2172d1173fd070754646d52f611e1b12">More...</a><br /></td></tr>
<tr class="separator:a2172d1173fd070754646d52f611e1b12"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9d420dd7853b1f591a43c9e33e73d6c7"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a9d420dd7853b1f591a43c9e33e73d6c7">hexVersion</a> (const QList< int > majMinRev)</td></tr>
<tr class="memdesc:a9d420dd7853b1f591a43c9e33e73d6c7"><td class="mdescLeft"> </td><td class="mdescRight">Return hex version of version string. <a href="#a9d420dd7853b1f591a43c9e33e73d6c7">More...</a><br /></td></tr>
<tr class="separator:a9d420dd7853b1f591a43c9e33e73d6c7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac482639d469ede012a6f3c18e7327cb1"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#ac482639d469ede012a6f3c18e7327cb1">compare</a> (const QString &ver1, const QString &ver2, int <a class="el" href="class_open_c_k_version.html#a9434bdfa325e5fd71613777b45d3f265">parts</a>)</td></tr>
<tr class="memdesc:ac482639d469ede012a6f3c18e7327cb1"><td class="mdescLeft"> </td><td class="mdescRight">Compare two version strings. <a href="#ac482639d469ede012a6f3c18e7327cb1">More...</a><br /></td></tr>
<tr class="separator:ac482639d469ede012a6f3c18e7327cb1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2771deecd8aa2d4c78f28faff69b71d8"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a2771deecd8aa2d4c78f28faff69b71d8">compare</a> (const QString &ver1, const QString &ver2)</td></tr>
<tr class="memdesc:a2771deecd8aa2d4c78f28faff69b71d8"><td class="mdescLeft"> </td><td class="mdescRight">Compare two version strings. <a href="#a2771deecd8aa2d4c78f28faff69b71d8">More...</a><br /></td></tr>
<tr class="separator:a2771deecd8aa2d4c78f28faff69b71d8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad6772465e104ef64db262387670ef69a"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#ad6772465e104ef64db262387670ef69a">compareGreater</a> (const QString &ver1, const QString &ver2, int <a class="el" href="class_open_c_k_version.html#a9434bdfa325e5fd71613777b45d3f265">parts</a>)</td></tr>
<tr class="memdesc:ad6772465e104ef64db262387670ef69a"><td class="mdescLeft"> </td><td class="mdescRight">Compare two version strings. <a href="#ad6772465e104ef64db262387670ef69a">More...</a><br /></td></tr>
<tr class="separator:ad6772465e104ef64db262387670ef69a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6f2d697cbf92b8b8282d585190281c04"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a6f2d697cbf92b8b8282d585190281c04">compareGreater</a> (const QString &ver1, const QString &ver2)</td></tr>
<tr class="memdesc:a6f2d697cbf92b8b8282d585190281c04"><td class="mdescLeft"> </td><td class="mdescRight">Compare two version strings. <a href="#a6f2d697cbf92b8b8282d585190281c04">More...</a><br /></td></tr>
<tr class="separator:a6f2d697cbf92b8b8282d585190281c04"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9f630cabdd936a78b65650427934b2a7"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a9f630cabdd936a78b65650427934b2a7">compareLess</a> (const QString &ver1, const QString &ver2, int <a class="el" href="class_open_c_k_version.html#a9434bdfa325e5fd71613777b45d3f265">parts</a>)</td></tr>
<tr class="memdesc:a9f630cabdd936a78b65650427934b2a7"><td class="mdescLeft"> </td><td class="mdescRight">Compare two version strings. <a href="#a9f630cabdd936a78b65650427934b2a7">More...</a><br /></td></tr>
<tr class="separator:a9f630cabdd936a78b65650427934b2a7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a638f0d2b67ee00494d5582e7f70cb6f8"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a638f0d2b67ee00494d5582e7f70cb6f8">compareLess</a> (const QString &ver1, const QString &ver2)</td></tr>
<tr class="memdesc:a638f0d2b67ee00494d5582e7f70cb6f8"><td class="mdescLeft"> </td><td class="mdescRight">Compare two version strings. <a href="#a638f0d2b67ee00494d5582e7f70cb6f8">More...</a><br /></td></tr>
<tr class="separator:a638f0d2b67ee00494d5582e7f70cb6f8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a90f4267de99e7bc246295dcf81d43886"><td class="memItemLeft" align="right" valign="top">static QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a90f4267de99e7bc246295dcf81d43886">rawToDisplay</a> (const QString &ver, bool showStage=false, bool showDev=false)</td></tr>
<tr class="memdesc:a90f4267de99e7bc246295dcf81d43886"><td class="mdescLeft"> </td><td class="mdescRight">Format version string for display. <a href="#a90f4267de99e7bc246295dcf81d43886">More...</a><br /></td></tr>
<tr class="separator:a90f4267de99e7bc246295dcf81d43886"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7df888b2b3deac2c1fff6791e0ac12e9"><td class="memItemLeft" align="right" valign="top">static QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a7df888b2b3deac2c1fff6791e0ac12e9">rawToMajMin</a> (const QString &ver)</td></tr>
<tr class="memdesc:a7df888b2b3deac2c1fff6791e0ac12e9"><td class="mdescLeft"> </td><td class="mdescRight">Get version string for MAJ.MIN format. <a href="#a7df888b2b3deac2c1fff6791e0ac12e9">More...</a><br /></td></tr>
<tr class="separator:a7df888b2b3deac2c1fff6791e0ac12e9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5c1c6b984fd485ee094a42f1d78a3557"><td class="memItemLeft" align="right" valign="top">static QList< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a5c1c6b984fd485ee094a42f1d78a3557">versionParts</a> (const QString &ver, int <a class="el" href="class_open_c_k_version.html#a9434bdfa325e5fd71613777b45d3f265">parts</a>=7)</td></tr>
<tr class="memdesc:a5c1c6b984fd485ee094a42f1d78a3557"><td class="mdescLeft"> </td><td class="mdescRight">Get parts of version string. <a href="#a5c1c6b984fd485ee094a42f1d78a3557">More...</a><br /></td></tr>
<tr class="separator:a5c1c6b984fd485ee094a42f1d78a3557"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a53f44d1ba74815e65bc51fce2f521266"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a53f44d1ba74815e65bc51fce2f521266">formatVersion</a> (const QString &ver, QList< int > &verNums, int <a class="el" href="class_open_c_k_version.html#a9434bdfa325e5fd71613777b45d3f265">parts</a>=3)</td></tr>
<tr class="memdesc:a53f44d1ba74815e65bc51fce2f521266"><td class="mdescLeft"> </td><td class="mdescRight">Checks if a version string is valid. <a href="#a53f44d1ba74815e65bc51fce2f521266">More...</a><br /></td></tr>
<tr class="separator:a53f44d1ba74815e65bc51fce2f521266"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a846c845fbf3230be49489c67f703fdd0"><td class="memItemLeft" align="right" valign="top">const QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a846c845fbf3230be49489c67f703fdd0">rawVersion</a></td></tr>
<tr class="memdesc:a846c845fbf3230be49489c67f703fdd0"><td class="mdescLeft"> </td><td class="mdescRight">Raw version string. <a href="#a846c845fbf3230be49489c67f703fdd0">More...</a><br /></td></tr>
<tr class="separator:a846c845fbf3230be49489c67f703fdd0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1f4a4fcbe7c83d8c527fc268e31216bf"><td class="memItemLeft" align="right" valign="top">const QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#a1f4a4fcbe7c83d8c527fc268e31216bf">displayVersion</a></td></tr>
<tr class="memdesc:a1f4a4fcbe7c83d8c527fc268e31216bf"><td class="mdescLeft"> </td><td class="mdescRight">Formatted version string. <a href="#a1f4a4fcbe7c83d8c527fc268e31216bf">More...</a><br /></td></tr>
<tr class="separator:a1f4a4fcbe7c83d8c527fc268e31216bf"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:af82726084ae338d1fa50e8788f0a63af"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#af82726084ae338d1fa50e8788f0a63af">OpenCKVersion</a> ()</td></tr>
<tr class="memdesc:af82726084ae338d1fa50e8788f0a63af"><td class="mdescLeft"> </td><td class="mdescRight">Constructs the version object. <a href="#af82726084ae338d1fa50e8788f0a63af">More...</a><br /></td></tr>
<tr class="separator:af82726084ae338d1fa50e8788f0a63af"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr class="memitem:ace505dd0fbfb95021bfa7fa084261bf4"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_c_k_version.html#ace505dd0fbfb95021bfa7fa084261bf4">numParts</a> = 3</td></tr>
<tr class="memdesc:ace505dd0fbfb95021bfa7fa084261bf4"><td class="mdescLeft"> </td><td class="mdescRight">Number of parts for version strings. <a href="#ace505dd0fbfb95021bfa7fa084261bf4">More...</a><br /></td></tr>
<tr class="separator:ace505dd0fbfb95021bfa7fa084261bf4"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The version class controls the versioning of OpenCK. </p>
<p>Encapsulates application version strings into comparable objects and provides static convenience functions for raw strings.</p>
<p>For comparison purposes, such as for migrating QSettings between versions, or removing deprecated QSettings.</p>
<p>For formatting purposes, such as display strings for window titles. </p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a12f9210a69287b9e4ea8fbf5ff0eb393"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12f9210a69287b9e4ea8fbf5ff0eb393">◆ </a></span>OpenCKVersion() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">OpenCKVersion::OpenCKVersion </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>ver</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs the version object. </p>
<p>Constructs the version object based on a string. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ver</td><td>The version in string format. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a88a8c3cbe2013658cbec7b3369453fcc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88a8c3cbe2013658cbec7b3369453fcc">◆ </a></span>OpenCKVersion() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">OpenCKVersion::OpenCKVersion </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_open_c_k_version.html">OpenCKVersion</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs the version object. </p>
<p>Constructs the version object based on another object. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>The other object this object is based on. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aeb185ba2128cd6f8177cd5339a31dac2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb185ba2128cd6f8177cd5339a31dac2">◆ </a></span>~OpenCKVersion()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">OpenCKVersion::~OpenCKVersion </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructs the version object. </p>
<p>Destructs the version object. </p>
</div>
</div>
<a id="af82726084ae338d1fa50e8788f0a63af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af82726084ae338d1fa50e8788f0a63af">◆ </a></span>OpenCKVersion() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">OpenCKVersion::OpenCKVersion </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs the version object. </p>
<p>Constructs the version object. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac482639d469ede012a6f3c18e7327cb1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac482639d469ede012a6f3c18e7327cb1">◆ </a></span>compare() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int OpenCKVersion::compare </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>ver1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>ver2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>parts</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Compare two version strings. </p>
<p>Compare two versions strings beyond MajMinRev granularity. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ver1</td><td>Version one to compare. </td></tr>
<tr><td class="paramname">ver2</td><td>Version two to compare. </td></tr>
<tr><td class="paramname">parts</td><td>Number of parts to compare. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>{-1, 0, 1}</code> meaning: <code>{ver1 < ver2, ver1 == ver2, ver1 > ver2}</code> </dd></dl>
</div>
</div>
<a id="a2771deecd8aa2d4c78f28faff69b71d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2771deecd8aa2d4c78f28faff69b71d8">◆ </a></span>compare() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int OpenCKVersion::compare </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>ver1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>ver2</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Compare two version strings. </p>
<p>Compare two versions strings beyond MajMinRev granularity. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ver1</td><td>Version one to compare. </td></tr>
<tr><td class="paramname">ver2</td><td>Version two to compare. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>{-1, 0, 1}</code> meaning: <code>{ver1 < ver2, ver1 == ver2, ver1 > ver2}</code> </dd></dl>
</div>
</div>
<a id="ad6772465e104ef64db262387670ef69a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6772465e104ef64db262387670ef69a">◆ </a></span>compareGreater() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool OpenCKVersion::compareGreater </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>ver1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>ver2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>parts</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Compare two version strings. </p>
<p>Compare two versions strings beyond MajMinRev granularity. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ver1</td><td>Version one to compare. </td></tr>
<tr><td class="paramname">ver2</td><td>Version two to compare. </td></tr>
<tr><td class="paramname">parts</td><td>Number of parts to compare. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if <code>ver1 > ver2</code> </dd></dl>
</div>
</div>
<a id="a6f2d697cbf92b8b8282d585190281c04"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f2d697cbf92b8b8282d585190281c04">◆ </a></span>compareGreater() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool OpenCKVersion::compareGreater </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>ver1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>ver2</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Compare two version strings. </p>
<p>Compare two versions strings beyond MajMinRev granularity. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ver1</td><td>Version one to compare. </td></tr>
<tr><td class="paramname">ver2</td><td>Version two to compare. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if <code>ver1 > ver2</code> </dd></dl>
</div>
</div>
<a id="a9f630cabdd936a78b65650427934b2a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f630cabdd936a78b65650427934b2a7">◆ </a></span>compareLess() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool OpenCKVersion::compareLess </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>ver1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>ver2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>parts</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Compare two version strings. </p>
<p>Compare two versions strings beyond MajMinRev granularity. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ver1</td><td>Version one to compare. </td></tr>
<tr><td class="paramname">ver2</td><td>Version two to compare. </td></tr>
<tr><td class="paramname">parts</td><td>Number of parts to compare. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if <code>ver1 < ver2</code> </dd></dl>
</div>
</div>
<a id="a638f0d2b67ee00494d5582e7f70cb6f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a638f0d2b67ee00494d5582e7f70cb6f8">◆ </a></span>compareLess() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool OpenCKVersion::compareLess </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>ver1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>ver2</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Compare two version strings. </p>
<p>Compare two versions strings beyond MajMinRev granularity. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ver1</td><td>Version one to compare. </td></tr>
<tr><td class="paramname">ver2</td><td>Version two to compare. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if <code>ver1 < ver2</code> </dd></dl>
</div>
</div>
<a id="a53f44d1ba74815e65bc51fce2f521266"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53f44d1ba74815e65bc51fce2f521266">◆ </a></span>formatVersion()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool OpenCKVersion::formatVersion </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>ver</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QList< int > & </td>
<td class="paramname"><em>verNums</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>parts</em> = <code>3</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Checks if a version string is valid. </p>
<p>Checks if a version string is valid. Some examples of version strings:</p>
<p>Valid "1.0.0", "1.0.1a1", "1.0.2b1.dev1", "1.1.dev1", "1.1.12a1", "1.1.12.post1"</p>
<p>Invalid, but compensated for "1.1.3.a1.dev2", "1.2.0a.dev1", "1.3.0a", "1.4.0rc" </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ver</td><td>Version string to check. </td></tr>
<tr><td class="paramname">verNums</td><td>Version string encoded as a list of integers </td></tr>
<tr><td class="paramname">parts</td><td>Number of parts to return </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if valid string, false if invalid string </dd></dl>
</div>
</div>
<a id="a782d022ad53329b2c42d7085bc3ac1af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a782d022ad53329b2c42d7085bc3ac1af">◆ </a></span>hex()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int OpenCKVersion::hex </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Instance version of <a class="el" href="class_open_c_k_version.html#a9d420dd7853b1f591a43c9e33e73d6c7" title="Return hex version of version string. ">hexVersion(QList<int>)</a> </p>
<p>Instance version of <a class="el" href="class_open_c_k_version.html#a9d420dd7853b1f591a43c9e33e73d6c7" title="Return hex version of version string. ">hexVersion(QList<int>)</a> </p><dl class="section return"><dt>Returns</dt><dd>The hexadecimal value of the version. </dd></dl>
</div>
</div>
<a id="a2172d1173fd070754646d52f611e1b12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2172d1173fd070754646d52f611e1b12">◆ </a></span>hexVersion() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int OpenCKVersion::hexVersion </td>
<td>(</td>
<td class="paramtype">const QString </td>
<td class="paramname"><em>ver</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return hex version of version string. </p>
<p>Integer representation of version string represented in hex e.g. <code>"1.2.1" -> 0x010201 -> 66049</code> </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ver</td><td>Version to convert </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Hex version of version string. </dd></dl>
</div>
</div>
<a id="a9d420dd7853b1f591a43c9e33e73d6c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d420dd7853b1f591a43c9e33e73d6c7">◆ </a></span>hexVersion() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int OpenCKVersion::hexVersion </td>
<td>(</td>
<td class="paramtype">const QList< int > </td>
<td class="paramname"><em>majMinRev</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return hex version of version string. </p>
<p>Integer representation of MajMinRev represented in hex e.g. <code>"1.2.1" -> 0x010201 -> 66049</code> </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">majMinRev</td><td>MajMinRev integers to convert. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Hex version of Major/Minor/Revision. </dd></dl>
</div>
</div>
<a id="a0f4060ef646832ba6bdce5ce94abe7cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f4060ef646832ba6bdce5ce94abe7cb">◆ </a></span>majMin()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString OpenCKVersion::majMin </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Instance version of rawToMajMin(QString) </p>
<p>Instance version of rawToMajMin(QString) </p><dl class="section return"><dt>Returns</dt><dd>The version to major minor string format. </dd></dl>
</div>
</div>
<a id="a6cc86f9a11e60adb3518fb04e9a99f7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6cc86f9a11e60adb3518fb04e9a99f7b">◆ </a></span>operator!=() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool OpenCKVersion::operator!= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_open_c_k_version.html">OpenCKVersion</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Compares inequality between two version objects. </p>
<p>Compares inequality between two version objects. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>The other version object to compare. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if both versions are not equal. </dd></dl>
</div>
</div>
<a id="a7a57d066ba22d06cc708779f1e14e285"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a57d066ba22d06cc708779f1e14e285">◆ </a></span>operator!=() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool OpenCKVersion::operator!= </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Compares inequality between a version object and a version string. </p>
<p>Compares inequality between a version object and a version string. The version string is converted into a version object and then calls the operator on the two versions. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>A QString which is converted into a version object to compare. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if both the version object and the version string are not equal. </dd></dl>
</div>
</div>
<a id="afabb946395c3e06ad16f6afef1368ed9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afabb946395c3e06ad16f6afef1368ed9">◆ </a></span>operator<() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool OpenCKVersion::operator< </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_open_c_k_version.html">OpenCKVersion</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Compares two version objects to each other to see if one is less than the other. </p>
<p>Compares a version object to another to see if one is less than the other. The left side of the expression is the current version object, the right side is the object being compared. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>The other version object to compare. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the current version object is less than the other. </dd></dl>
</div>
</div>
<a id="a2bd6c614c1ad17cccbbd832a98179c55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2bd6c614c1ad17cccbbd832a98179c55">◆ </a></span>operator<() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool OpenCKVersion::operator< </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Compares a version object to a version string to see if one is less than the other. </p>
<p>Compares a version object to a version string to see if one is less than the other. The left side of the expression is the current version object, the right side is the version string which is converted into a version object. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>A QString which is converted into a version object to compare. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the current version object is less than the version string. </dd></dl>
</div>
</div>
<a id="ae71d3f6a5bff6daf95af8bfc9e09292c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae71d3f6a5bff6daf95af8bfc9e09292c">◆ </a></span>operator<=() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool OpenCKVersion::operator<= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_open_c_k_version.html">OpenCKVersion</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Compares two version objects to each other to see if one is less than or equal to the other. </p>
<p>Compares a version object to another to see if one is less than or equal to the other. The left side of the expression is the current version object, the right side is the object being compared. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>The other version object to compare. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the current version object is less than or equal to the other. </dd></dl>
</div>
</div>
<a id="a433bb794d37224281c160dae05f8492b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a433bb794d37224281c160dae05f8492b">◆ </a></span>operator<=() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool OpenCKVersion::operator<= </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Compares a version object to a version string to see if one is less than or equal to the other. </p>
<p>Compares a version object to a version string to see if one is less than or equal to the other. The left side of the expression is the current version object, the right side is the version string which is converted into a version object. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>A QString which is converted into a version object to compare. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the current version object is less than or equal to the version string. </dd></dl>
</div>
</div>
<a id="a42e5227cb018bfd4d86340635eb076da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42e5227cb018bfd4d86340635eb076da">◆ </a></span>operator==() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool OpenCKVersion::operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_open_c_k_version.html">OpenCKVersion</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Compares equality between two version objects. </p>
<p>Compares equality between two version objects. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>The other version object to compare. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if both versions are equal. </dd></dl>
</div>
</div>
<a id="a33aaf014ad3b9be70c47354acec30e1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33aaf014ad3b9be70c47354acec30e1e">◆ </a></span>operator==() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool OpenCKVersion::operator== </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Compares equality between a version object and a version string. </p>
<p>Compares equality between a version object and a version string. The version string is converted into a version object and then calls the operator on the two versions. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>A QString which is converted into a version object to compare. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if both the version object and the version string are equal. </dd></dl>
</div>
</div>
<a id="af3ea00f97cc3e038db80c005a729c1df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3ea00f97cc3e038db80c005a729c1df">◆ </a></span>operator>() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool OpenCKVersion::operator> </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_open_c_k_version.html">OpenCKVersion</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">