~ubuntu-branches/ubuntu/jaunty/bibletime/jaunty

« back to all changes in this revision

Viewing changes to bibletime/util/cresmgr.h

  • Committer: Bazaar Package Importer
  • Author(s): Ralph Janke
  • Date: 2008-05-10 15:18:16 UTC
  • mfrom: (1.1.6 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080510151816-bqp8y1to705zd0fm
Tags: 1.6.5.1-1
* New upstream version (Closes: #441161, #271502)
* fixes for new autotools and gcc 4.3 (Closes: #407291)
* added poxml to Build-Depends
* No DFSG necessary anymore since biblestudy howto has 
  now Commons Licence 
* Added libclucene-dev to dev-depends (Closes: #436677)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*********
 
2
*
 
3
* This file is part of BibleTime's source code, http://www.bibletime.info/.
 
4
*
 
5
* Copyright 1999-2006 by the BibleTime developers.
 
6
* The BibleTime source code is licensed under the GNU General Public License version 2.0.
 
7
*
 
8
**********/
 
9
 
 
10
 
 
11
 
 
12
#ifndef CRESMGR_H
 
13
#define CRESMGR_H
 
14
 
 
15
//Qt includes
 
16
#include <qstring.h>
 
17
#include <qkeysequence.h>
 
18
 
 
19
//KDE includes
 
20
#include <kshortcut.h>
 
21
 
 
22
/** Provides static functions to easily access the Tooltip texts for all the frontend parts.
 
23
  * @author The BibleTime team
 
24
  */
 
25
namespace CResMgr {
 
26
        void init_i18n();
 
27
 
 
28
        namespace modules {
 
29
                namespace bible {
 
30
                        extern const QString icon_unlocked;
 
31
                        extern const QString icon_locked;
 
32
                        extern const QString icon_add;
 
33
                }
 
34
                namespace commentary {
 
35
                        extern const QString icon_unlocked;
 
36
                        extern const QString icon_locked;
 
37
                        extern const QString icon_add;
 
38
                };
 
39
                namespace lexicon {
 
40
                        extern const QString icon_unlocked;
 
41
                        extern const QString icon_locked;
 
42
                        extern const QString icon_add;
 
43
                };
 
44
                namespace book {
 
45
                        extern const QString icon_unlocked;
 
46
                        extern const QString icon_locked;
 
47
                        extern const QString icon_add;
 
48
                };
 
49
        };
 
50
 
 
51
        namespace mainMenu { //Main menu
 
52
                namespace file { //Main menu->File
 
53
                        namespace print { //a standard action
 
54
                                extern QString tooltip;
 
55
 
 
56
                        }
 
57
                        namespace quit { //a standard action
 
58
                                extern QString tooltip;
 
59
                        }
 
60
                }
 
61
 
 
62
                namespace view { //Main menu->View
 
63
                        namespace showMainIndex {
 
64
                                extern QString tooltip;
 
65
 
 
66
                                extern const QString icon;
 
67
                                extern const KShortcut accel;
 
68
                                extern const char* actionName;
 
69
                        }
 
70
                        namespace showInfoDisplay {
 
71
                                extern QString tooltip;
 
72
 
 
73
                                extern const QString icon;
 
74
                                extern const KShortcut accel;
 
75
                                extern const char* actionName;
 
76
                        }
 
77
                        namespace showToolBar { //a standard action
 
78
                                extern QString tooltip;
 
79
                        }
 
80
                }
 
81
 
 
82
                namespace mainIndex { //configuration for the main index and the view->search menu
 
83
                        namespace search {
 
84
                                extern QString tooltip;
 
85
 
 
86
                                extern const QString icon;
 
87
                                extern const KShortcut accel;
 
88
                                extern const char* actionName;
 
89
                        }
 
90
                        namespace searchdefaultbible {
 
91
                                extern QString tooltip;
 
92
 
 
93
                                extern const QString icon;
 
94
                                extern const KShortcut accel;
 
95
                                extern const char* actionName;
 
96
                        }
 
97
                }
 
98
 
 
99
                namespace window { //Main menu->Window
 
100
                        namespace loadProfile {
 
101
                                extern QString tooltip;
 
102
 
 
103
                                extern const QString icon;
 
104
                                extern const char* actionName;
 
105
                        }
 
106
                        namespace saveProfile {
 
107
                                extern QString tooltip;
 
108
 
 
109
                                extern const QString icon;
 
110
                                extern const char* actionName;
 
111
                        }
 
112
                        namespace saveToNewProfile {
 
113
                                extern QString tooltip;
 
114
 
 
115
                                extern const QString icon;
 
116
                                extern const KShortcut accel;
 
117
                                extern const char* actionName;
 
118
                        }
 
119
                        namespace deleteProfile {
 
120
                                extern QString tooltip;
 
121
 
 
122
                                extern const QString icon;
 
123
                                extern const char* actionName;
 
124
                        }
 
125
                        namespace showFullscreen {
 
126
                                extern QString tooltip;
 
127
 
 
128
                                extern const QString icon;
 
129
                                extern const KShortcut accel;
 
130
                                extern const char* actionName;
 
131
                        }
 
132
                        namespace arrangementMode {
 
133
                                extern QString tooltip;
 
134
 
 
135
                                extern const QString icon;
 
136
                                extern const KShortcut accel;
 
137
                                extern const char* actionName;
 
138
 
 
139
                                namespace manual {
 
140
                                        extern QString tooltip;
 
141
 
 
142
                                        extern const QString icon;
 
143
                                        extern const KShortcut accel;
 
144
                                        extern const char* actionName;
 
145
                                }
 
146
                                namespace autoTileVertical {
 
147
                                        extern QString tooltip;
 
148
 
 
149
                                        extern const QString icon;
 
150
                                        extern const KShortcut accel;
 
151
                                        extern const char* actionName;
 
152
                                }
 
153
                                namespace autoTileHorizontal {
 
154
                                        extern QString tooltip;
 
155
 
 
156
                                        extern const QString icon;
 
157
                                        extern const KShortcut accel;
 
158
                                        extern const char* actionName;
 
159
                                }
 
160
                                namespace autoCascade {
 
161
                                        extern QString tooltip;
 
162
 
 
163
                                        extern const QString icon;
 
164
                                        extern const KShortcut accel;
 
165
                                        extern const char* actionName;
 
166
                                }
 
167
                        }
 
168
                        namespace tileVertical {
 
169
                                extern QString tooltip;
 
170
 
 
171
                                extern const QString icon;
 
172
                                extern const KShortcut accel;
 
173
                                extern const char* actionName;
 
174
                        }
 
175
                        namespace tileHorizontal {
 
176
                                extern QString tooltip;
 
177
 
 
178
                                extern const QString icon;
 
179
                                extern const KShortcut accel;
 
180
                                extern const char* actionName;
 
181
                        }
 
182
                        namespace cascade {
 
183
                                extern QString tooltip;
 
184
 
 
185
                                extern const QString icon;
 
186
                                extern const KShortcut accel;
 
187
                                extern const char* actionName;
 
188
                        }
 
189
                        namespace closeAll {
 
190
                                extern QString tooltip;
 
191
 
 
192
                                extern const QString icon;
 
193
                                extern const KShortcut accel;
 
194
                                extern const char* actionName;
 
195
                        }
 
196
                }
 
197
 
 
198
                namespace settings { //Main menu->Settings
 
199
                        namespace editToolBar { // available as KStdAction
 
200
                                extern QString tooltip;
 
201
 
 
202
                        }
 
203
                        namespace optionsDialog { // available as KStdAction
 
204
                                extern QString tooltip;
 
205
 
 
206
                        }
 
207
                        namespace swordSetupDialog {
 
208
                                extern QString tooltip;
 
209
 
 
210
                                extern const QString icon;
 
211
                                extern const KShortcut accel;
 
212
                                extern const char* actionName;
 
213
                        }
 
214
                }
 
215
 
 
216
                namespace help { //Main menu->Help
 
217
                        namespace handbook {
 
218
                                extern QString tooltip;
 
219
 
 
220
                                extern const QString icon;
 
221
                                extern const KShortcut accel;
 
222
                                extern const char* actionName;
 
223
                        }
 
224
                        namespace bibleStudyHowTo {
 
225
                                extern QString tooltip;
 
226
 
 
227
                                extern const QString icon;
 
228
                                extern const KShortcut accel;
 
229
                                extern const char* actionName;
 
230
                        }
 
231
                        namespace bugreport { // available as KStdAction
 
232
                                extern QString tooltip;
 
233
                        }
 
234
                        namespace dailyTip {
 
235
                                extern QString tooltip;
 
236
 
 
237
                                extern const QString icon;
 
238
                                extern const KShortcut accel;
 
239
                                extern const char* actionName;
 
240
                        }
 
241
                        namespace aboutBibleTime { // available as KStdAction
 
242
                                extern QString tooltip;
 
243
                        }
 
244
                        namespace aboutKDE { // available as KStdAction
 
245
                                extern QString tooltip;
 
246
                        }
 
247
                }
 
248
        }  //end of main menu
 
249
 
 
250
        namespace searchdialog {
 
251
                extern const QString icon;
 
252
 
 
253
                namespace searchButton {
 
254
                        extern QString tooltip;
 
255
                }
 
256
                namespace cancelSearchButton {
 
257
                        extern QString tooltip;
 
258
                }
 
259
 
 
260
                namespace options {
 
261
                        namespace moduleChooserButton {
 
262
                                extern QString tooltip;
 
263
                        }
 
264
                        namespace searchedText {
 
265
                                extern QString tooltip;
 
266
                        }
 
267
                        namespace searchType {
 
268
                                namespace multipleWords_and {
 
269
                                        extern QString tooltip;
 
270
                                }
 
271
                                namespace multipleWords_or {
 
272
                                        extern QString tooltip;
 
273
                                }
 
274
                                namespace exactMatch {
 
275
                                        extern QString tooltip;
 
276
                                }
 
277
                                namespace regExp {
 
278
                                        extern QString tooltip;
 
279
                                }
 
280
                        }
 
281
 
 
282
                        namespace searchOptions {
 
283
                                namespace caseSensitive {
 
284
                                        extern QString tooltip;
 
285
                                }
 
286
                        }
 
287
                        namespace chooseScope {
 
288
                                extern QString tooltip;
 
289
                        }
 
290
                        namespace scopeEditor {
 
291
                                namespace rangeList {
 
292
                                        extern QString tooltip;
 
293
                                }
 
294
                                namespace nameEdit {
 
295
                                        extern QString tooltip;
 
296
                                }
 
297
                                namespace editRange {
 
298
                                        extern QString tooltip;
 
299
                                }
 
300
                                namespace parsedResult {
 
301
                                        extern QString tooltip;
 
302
                                }
 
303
                                namespace addNewRange {
 
304
                                        extern QString tooltip;
 
305
                                }
 
306
                                namespace deleteCurrentRange {
 
307
                                        extern QString tooltip;
 
308
                                }
 
309
 
 
310
                        }
 
311
                }
 
312
                namespace result {
 
313
                        namespace moduleList {
 
314
                                extern QString tooltip;
 
315
 
 
316
                                namespace copyMenu {
 
317
                                        extern const QString icon;
 
318
                                }
 
319
                                namespace saveMenu {
 
320
                                        extern const QString icon;
 
321
                                }
 
322
                                namespace printMenu {
 
323
                                        extern const QString icon;
 
324
                                }
 
325
                        }
 
326
                        namespace foundItems {
 
327
                                extern QString tooltip;
 
328
 
 
329
                                namespace copyMenu {
 
330
                                        extern const QString icon;
 
331
                                }
 
332
                                namespace saveMenu {
 
333
                                        extern const QString icon;
 
334
                                }
 
335
                                namespace printMenu {
 
336
                                        extern const QString icon;
 
337
                                }
 
338
 
 
339
                        }
 
340
                        namespace textPreview {
 
341
                                extern QString tooltip;
 
342
                        }
 
343
                }
 
344
        }
 
345
 
 
346
namespace workspace {}
 
347
 
 
348
        namespace displaywindows {
 
349
                namespace transliteration {
 
350
                        extern const QString icon;
 
351
                }
 
352
                namespace displaySettings {
 
353
                        extern const QString icon;
 
354
                }
 
355
 
 
356
                namespace general {
 
357
                        namespace scrollButton {
 
358
                                extern QString tooltip;
 
359
                        }
 
360
                        namespace search {
 
361
                                extern QString tooltip;
 
362
 
 
363
                                extern const QString icon;
 
364
                                extern const KShortcut accel;
 
365
                                extern const char* actionName;
 
366
                        }
 
367
 
 
368
                        namespace backInHistory {
 
369
                                extern QString tooltip;
 
370
 
 
371
                                extern const QString icon;
 
372
                                extern const KShortcut accel;
 
373
                                extern const char* actionName;
 
374
                        }
 
375
                        namespace forwardInHistory {
 
376
                                extern QString tooltip;
 
377
 
 
378
                                extern const QString icon;
 
379
                                extern const KShortcut accel;
 
380
                                extern const char* actionName;
 
381
                        }
 
382
 
 
383
                        namespace findStrongs {
 
384
                                extern QString tooltip;
 
385
 
 
386
                                extern const QString icon;
 
387
                                extern const KShortcut accel;
 
388
                                extern const char* actionName;
 
389
                        }
 
390
                }
 
391
 
 
392
                namespace bibleWindow {
 
393
                        namespace bookList {
 
394
                                extern QString tooltip;
 
395
 
 
396
                        }
 
397
                        namespace nextBook {
 
398
                                extern QString tooltip;
 
399
 
 
400
                                extern const KShortcut accel;
 
401
                        }
 
402
                        namespace previousBook {
 
403
                                extern QString tooltip;
 
404
 
 
405
                                extern const KShortcut accel;
 
406
                        }
 
407
 
 
408
                        namespace chapterList {
 
409
                                extern QString tooltip;
 
410
 
 
411
                        }
 
412
                        namespace nextChapter {
 
413
                                extern QString tooltip;
 
414
 
 
415
                                extern const KShortcut accel;
 
416
                        }
 
417
                        namespace previousChapter {
 
418
                                extern QString tooltip;
 
419
 
 
420
                                extern const KShortcut accel;
 
421
                        }
 
422
 
 
423
                        namespace verseList {
 
424
                                extern QString tooltip;
 
425
 
 
426
                        }
 
427
                        namespace nextVerse {
 
428
                                extern QString tooltip;
 
429
 
 
430
                                extern const KShortcut accel;
 
431
                        }
 
432
                        namespace previousVerse {
 
433
                                extern QString tooltip;
 
434
 
 
435
                                extern const KShortcut accel;
 
436
                        }
 
437
                        
 
438
                        namespace copyMenu {
 
439
                                extern const QString icon;
 
440
                        }
 
441
                        namespace saveMenu {
 
442
                                extern const QString icon;
 
443
                        }
 
444
                        namespace printMenu {
 
445
                                extern const QString icon;
 
446
                        }
 
447
                }
 
448
                namespace commentaryWindow {
 
449
                        namespace syncWindow {
 
450
                                extern const QString icon;
 
451
                                extern QString tooltip;
 
452
 
 
453
                                extern const KShortcut accel;
 
454
                                extern const char* actionName;
 
455
                        }
 
456
 
 
457
                }
 
458
 
 
459
                namespace lexiconWindow {
 
460
                        namespace entryList {
 
461
                                extern QString tooltip;
 
462
 
 
463
                        }
 
464
                        namespace nextEntry {
 
465
                                extern QString tooltip;
 
466
 
 
467
                                extern const KShortcut accel;
 
468
                        }
 
469
                        namespace previousEntry {
 
470
                                extern QString tooltip;
 
471
 
 
472
                                extern const KShortcut accel;
 
473
                        }
 
474
 
 
475
                        namespace copyMenu {
 
476
                                extern const QString icon;
 
477
                        }
 
478
                        namespace saveMenu {
 
479
                                extern const QString icon;
 
480
                        }
 
481
                        namespace printMenu {
 
482
                                extern const QString icon;
 
483
                        }
 
484
                }
 
485
                namespace bookWindow {
 
486
                        namespace toggleTree {
 
487
                                extern const QString icon;
 
488
                                extern const KShortcut accel;
 
489
                        }
 
490
                }
 
491
 
 
492
 
 
493
                namespace writeWindow {
 
494
                        namespace saveText {
 
495
                                extern QString tooltip;
 
496
 
 
497
                                extern const QString icon;
 
498
                                extern const KShortcut accel;
 
499
                                extern const char* actionName;
 
500
                        }
 
501
                        namespace restoreText {
 
502
                                extern QString tooltip;
 
503
 
 
504
                                extern const QString icon;
 
505
                                extern const KShortcut accel;
 
506
                                extern const char* actionName;
 
507
                        }
 
508
                        namespace deleteEntry {
 
509
                                extern QString tooltip;
 
510
 
 
511
                                extern const QString icon;
 
512
                                extern const KShortcut accel;
 
513
                                extern const char* actionName;
 
514
                        }
 
515
 
 
516
                        //formatting buttons
 
517
                        namespace boldText {
 
518
                                extern QString tooltip;
 
519
 
 
520
                                extern const QString icon;
 
521
                                extern const KShortcut accel;
 
522
                                extern const char* actionName;
 
523
                        }
 
524
                        namespace italicText {
 
525
                                extern QString tooltip;
 
526
 
 
527
                                extern const QString icon;
 
528
                                extern const KShortcut accel;
 
529
                                extern const char* actionName;
 
530
                        }
 
531
                        namespace underlinedText {
 
532
                                extern QString tooltip;
 
533
 
 
534
                                extern const QString icon;
 
535
                                extern const KShortcut accel;
 
536
                                extern const char* actionName;
 
537
                        }
 
538
 
 
539
                        namespace alignLeft {
 
540
                                extern QString tooltip;
 
541
 
 
542
                                extern const QString icon;
 
543
                                extern const KShortcut accel;
 
544
                                extern const char* actionName;
 
545
                        }
 
546
                        namespace alignCenter {
 
547
                                extern QString tooltip;
 
548
 
 
549
                                extern const QString icon;
 
550
                                extern const KShortcut accel;
 
551
                                extern const char* actionName;
 
552
                        }
 
553
                        namespace alignRight {
 
554
                                extern QString tooltip;
 
555
 
 
556
                                extern const QString icon;
 
557
                                extern const KShortcut accel;
 
558
                                extern const char* actionName;
 
559
                        }
 
560
                        namespace alignJustify {
 
561
                                extern QString tooltip;
 
562
 
 
563
                                extern const QString icon;
 
564
                                extern const KShortcut accel;
 
565
                                extern const char* actionName;
 
566
                        }
 
567
 
 
568
                        namespace fontFamily {
 
569
                                extern QString tooltip;
 
570
 
 
571
                                extern const KShortcut accel;
 
572
                                extern const char* actionName;
 
573
                        }
 
574
                        namespace fontSize {
 
575
                                extern QString tooltip;
 
576
 
 
577
                                extern const KShortcut accel;
 
578
                                extern const char* actionName;
 
579
                        }
 
580
                        namespace fontColor {
 
581
                                extern QString tooltip;
 
582
 
 
583
                        }
 
584
 
 
585
                }
 
586
        }
 
587
 
 
588
        namespace settings {
 
589
                namespace startup {
 
590
                        extern const QString icon;
 
591
 
 
592
                        namespace dailyTip {
 
593
                                extern QString tooltip;
 
594
 
 
595
                        }
 
596
                        namespace showLogo {
 
597
                                extern QString tooltip;
 
598
 
 
599
                        }
 
600
                        namespace restoreWorkingArea {
 
601
                                extern QString tooltip;
 
602
 
 
603
                        }
 
604
                }
 
605
                namespace fonts {
 
606
                        extern const QString icon;
 
607
 
 
608
                        namespace typeChooser {
 
609
                                extern QString tooltip;
 
610
 
 
611
                        }
 
612
                }
 
613
                namespace profiles {
 
614
                        extern const QString icon;
 
615
 
 
616
                        namespace list {
 
617
                                extern QString tooltip;
 
618
 
 
619
                        }
 
620
                        namespace createNew {
 
621
                                extern QString tooltip;
 
622
 
 
623
                        }
 
624
                        namespace deleteCurrent {
 
625
                                extern QString tooltip;
 
626
 
 
627
                        }
 
628
                        namespace renameCurrent {
 
629
                                extern QString tooltip;
 
630
 
 
631
                        }
 
632
                }
 
633
                namespace sword {
 
634
                        extern const QString icon;
 
635
 
 
636
                        namespace general {
 
637
 
 
638
                                namespace language {
 
639
                                        extern QString tooltip;
 
640
                                }
 
641
                        }
 
642
                        namespace modules {
 
643
                                namespace bible {
 
644
                                        extern QString tooltip;
 
645
                                }
 
646
                                namespace commentary {
 
647
                                        extern QString tooltip;
 
648
                                }
 
649
                                namespace lexicon {
 
650
                                        extern QString tooltip;
 
651
                                }
 
652
                                namespace dailyDevotional {
 
653
                                        extern QString tooltip;
 
654
                                }
 
655
                                namespace hebrewStrongs {
 
656
                                        extern QString tooltip;
 
657
                                }
 
658
                                namespace greekStrongs {
 
659
                                        extern QString tooltip;
 
660
                                }
 
661
                                namespace hebrewMorph {
 
662
                                        extern QString tooltip;
 
663
                                }
 
664
                                namespace greekMorph {
 
665
                                        extern QString tooltip;
 
666
                                }
 
667
                        }
 
668
                }
 
669
                namespace keys {
 
670
                        extern const QString icon;
 
671
                }
 
672
        }
 
673
 
 
674
        namespace mainIndex { //configuration for the main index and the view->search menu
 
675
                namespace search {
 
676
                        extern QString tooltip;
 
677
 
 
678
                        extern const QString icon;
 
679
                        extern const KShortcut accel;
 
680
                        extern const char* actionName;
 
681
                }
 
682
                namespace newFolder {
 
683
                        extern const QString icon;
 
684
                }
 
685
                namespace changeFolder {
 
686
                        extern const QString icon;
 
687
                }
 
688
                namespace openedFolder {
 
689
                        extern const QString icon;
 
690
                }
 
691
                namespace closedFolder {
 
692
                        extern const QString icon;
 
693
                }
 
694
 
 
695
                namespace bookmark {
 
696
                        extern const QString icon;
 
697
                }
 
698
                namespace changeBookmark {
 
699
                        extern const QString icon;
 
700
                }
 
701
                namespace importBookmarks {
 
702
                        extern const QString icon;
 
703
                }
 
704
                namespace exportBookmarks {
 
705
                        extern const QString icon;
 
706
                }
 
707
                namespace printBookmarks {
 
708
                        extern const QString icon;
 
709
                }
 
710
                namespace deleteItems {
 
711
                        extern const QString icon;
 
712
                }
 
713
 
 
714
                namespace editModuleMenu {
 
715
                        extern const QString icon;
 
716
                }
 
717
                namespace editModulePlain {
 
718
                        extern const QString icon;
 
719
                }
 
720
                namespace editModuleHTML {
 
721
                        extern const QString icon;
 
722
                }
 
723
 
 
724
                namespace unlockModule {
 
725
                        extern const QString icon;
 
726
                }
 
727
                namespace aboutModule {
 
728
                        extern const QString icon;
 
729
                }
 
730
        }
 
731
}
 
732
 
 
733
#endif