summaryrefslogtreecommitdiffstats
path: root/libkonq/konq_sort_constants.h
blob: c58d3cb30e7198981916f5ebf56058ffd7f6e52f (plain)
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
#ifndef KONQ_SORT_CONSTANTS_H
#define KONQ_SORT_CONSTANTS_H

typedef unsigned short TextSortOrder;
  // Can't use name 'SortOrder' because that's part of TQt

enum {
  UNICODE_UNMODIFIED      = 0,
  LOCALE_UNMODIFIED       = 1,
  UNICODE_CASEINSENSITIVE = 2,
  LOCALE_MODIFIED         = 3
} TextSortOrders;

#define LOCALE_DEFAULT LOCALE_UNMODIFIED


// We define these UI text items once to used in different places

#define LABEL_UNICODE_UNMODIFIED      "&Unicode based"
#define LABEL_UNICODE_CASEINSENSITIVE "Unicode based, &case insensitive"
#define LABEL_LOCALE_UNMODIFIED       "&Locale Order"
#define LABEL_LOCALE_MODIFIED         "Locale Order - &Improved"

#define LABEL_DIRECTORIES_FIRST       "&Directories displayed before non-directories"
#define LABEL_HIDDEN_FIRST            "&Hidden displayed before non-hidden"

#define TOOLTIP_UNICODE_UNMODIFIED      "Strict numeric Unicode codepoint order"
#define TOOLTIP_UNICODE_CASEINSENSITIVE "Like above but with lower/upper case ASCII letters adjacent"
#define TOOLTIP_LOCALE_UNMODIFIED       "Locale-defined order, usually \"friendly\""
#define TOOLTIP_LOCALE_MODIFIED         "Locale-defined order with enhancements"

#define TOOLTIP_DIRECTORIES_FIRST       "Group directories before non-directories"
#define TOOLTIP_HIDDEN_FIRST            "Group hidden before non-hidden"

#endif // KONQ_SORT_CONSTANTS_H