aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/kdenotify/CMakeLists.txt
blob: 5697aa4474f69d752c3552214955a7695571a404 (plain) (blame)
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
project(libkdenotify)


SET (QT_USE_QTDBUS TRUE)

INCLUDE(FindQt4)

include(${QT_USE_FILE})

if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)

# qt plugin
ADD_DEFINITIONS( -Wall )
ADD_DEFINITIONS(${QT_DEFINITIONS})
ADD_DEFINITIONS(-DQT_PLUGIN)
ADD_DEFINITIONS(-DQT_NO_DEBUG)
ADD_DEFINITIONS(-DQT_SHARED)
ADD_DEFINITIONS(-DQT_THREAD)



include_directories(${CMAKE_CURRENT_BINARY_DIR})

# libqmmpui & libqmmp
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../../)
link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmpui)
link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmp)

SET(libkdenotify_SRCS
    kdenotify.cpp
    kdenotifyfactory.cpp
    settingsdialog.cpp
)

SET(libkdenotify_RCCS translations/translations.qrc)

QT4_ADD_RESOURCES(libkdenotify_RCC_SRCS ${libkdenotify_RCCS})

# user interface
SET(libkdenotify_UIS
    settingsdialog.ui
)

QT4_WRAP_UI(libkdenotify_UIS_H ${libkdenotify_UIS})

# QT4_WRAP_UI(libkdenotify_UIS_H ${libkdenotify_UIS})
# Don't forget to include output directory, otherwise
# the UI file won't be wrapped!
include_directories(${CMAKE_CURRENT_BINARY_DIR})

ADD_LIBRARY(kdenotify MODULE ${libkdenotify_SRCS} ${libkdenotify_RCC_SRCS} ${libkdenotify_UIS_H})
add_dependencies(kdenotify qmmpui)
target_link_libraries(kdenotify ${QT_LIBRARIES} qmmpui libqmmp)
install(TARGETS kdenotify DESTINATION ${LIB_DIR}/qmmp/General)
IF(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
	install(FILES images/empty_cover.png DESTINATION share/qmmp/images)
	install(FILES images/app_icon.png DESTINATION share/qmmp/images)
ENDIF()
alog/translations/qmmp_file_dialog_plugin_el.ts?id=83882e1e8e2f3bfad601bf18a04d3ee516e3b551'>83882e1e8
aff764dc1
83882e1e8
47331bb0f
83882e1e8

aff764dc1



83882e1e8
47331bb0f
83882e1e8

aff764dc1
83882e1e8
47331bb0f
83882e1e8

aff764dc1
83882e1e8
47331bb0f
83882e1e8

aff764dc1
83882e1e8
47331bb0f
83882e1e8

aff764dc1
83882e1e8
47331bb0f
83882e1e8

aff764dc1
83882e1e8
47331bb0f
83882e1e8

aff764dc1
83882e1e8
47331bb0f
83882e1e8

aff764dc1
83882e1e8
47331bb0f
83882e1e8




ddef51c3b

83882e1e8
47331bb0f
83882e1e8

ddef51c3b
83882e1e8
47331bb0f
83882e1e8

ddef51c3b
83882e1e8

41c8a60a2
47331bb0f

41c8a60a2
83882e1e8

ddef51c3b
83882e1e8
47331bb0f
83882e1e8




ddef51c3b
83882e1e8
47331bb0f
83882e1e8

ddef51c3b
83882e1e8
47331bb0f
83882e1e8

ddef51c3b
83882e1e8
47331bb0f
83882e1e8

ddef51c3b
83882e1e8

47331bb0f

83882e1e8


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

                                      
                                


                               
                                                             
                                  
                                                                  

              
                                                             
                           
                                           

              



                                                              
                            
                                      

              
                                                             
                                  
                                                              

              
                                                             
                                      
                                                                          

              
                                                              
                                            
                                                                                                            

              
                                                              
                                   
                                                             

              
                                                              
                            
                                                   

              
                                                              
                                       
                                                             

              
                                                              
                              
                                                   




                                      

                                                              
                                         
                                                                       

              
                                                              
                                               
                                                                                              

              
                                                              

                                            
                                            

                                                      
                                                 

              
                                                              
                                                                
                                                                                                                                                  




                                   
                                                                   
                            
                                                   

              
                                                                   
                             
                                                       

              
                                                                   
                                    
                                                     

              
                                                                   

                                   

                                                                            


              
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="el">
<context>
    <name>QmmpFileDialog</name>
    <message>
        <location filename="../qmmpfiledialog.ui" line="14"/>
        <source>Add Files</source>
        <translation>Προσθήκη αρχείων</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.ui" line="44"/>
        <source>Up</source>
        <translation>Πάνω</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.ui" line="47"/>
        <location filename="../qmmpfiledialog.ui" line="60"/>
        <location filename="../qmmpfiledialog.ui" line="79"/>
        <location filename="../qmmpfiledialog.ui" line="104"/>
        <source>...</source>
        <translation>...</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.ui" line="57"/>
        <source>List view</source>
        <translation>Προβολή λίστας</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.ui" line="76"/>
        <source>Detailed view</source>
        <translation>Προβολή λεπτομερειών</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.ui" line="101"/>
        <source>Close dialog on add</source>
        <translation>Κλείσιμο του διαλόγου κατά την προσθήκη</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.ui" line="184"/>
        <source>File name:</source>
        <translation>Όνομα αρχείου:</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.ui" line="200"/>
        <source>Add</source>
        <translation>Προσθήκη</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.ui" line="207"/>
        <source>Files of type:</source>
        <translation>Τύποι αρχείων:</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.ui" line="233"/>
        <source>Close</source>
        <translation>Κλείσιμο</translation>
    </message>
</context>
<context>
    <name>QmmpFileDialogFactory</name>
    <message>
        <location filename="../qmmpfiledialog.cpp" line="69"/>
        <location filename="../qmmpfiledialog.cpp" line="79"/>
        <source>Qmmp File Dialog</source>
        <translation>Διάλογος αρχείων Qmmp</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.cpp" line="78"/>
        <source>About Qmmp File Dialog</source>
        <translation>Σχετικά με το διάλογο αρχείων Qmmp</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.cpp" line="80"/>
        <source>Written by:
Vladimir Kuznetsov &lt;vovanec@gmail.com&gt;
Ilya Kotov &lt;forkotov02@ya.ru&gt;</source>
        <translation>Γράφτηκε από τους:
Vladimir Kuznetsov &lt;vovanec@gmail.com&gt;
Ilya Kotov &lt;forkotov02@ya.ru&gt;</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.cpp" line="83"/>
        <source>Some code is copied from the Qt library</source>
        <translation>Έχουν χρησιμοποιηθεί αποσπάσματα κώδικα από τη βιβλιοθήκη Qt</translation>
    </message>
</context>
<context>
    <name>QmmpFileDialogImpl</name>
    <message>
        <location filename="../qmmpfiledialogimpl.cpp" line="250"/>
        <source>Add</source>
        <translation>Προσθήκη</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialogimpl.cpp" line="263"/>
        <source>Save</source>
        <translation>Αποθήκευση</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialogimpl.cpp" line="277"/>
        <source>Directories</source>
        <translation>Καταλόγοι</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialogimpl.cpp" line="446"/>
        <source>%1 already exists.
Do you want to replace it?</source>
        <translation>Το %1 υπάρχει ήδη.
Επιθυμείτε να το αντικαταστήσετε;</translation>
    </message>
</context>
</TS>