Qt: New dialog for plugins listing.
[vlc.git] / modules / gui / qt4 / Modules.am
1 # vim:syntax=automake
2 ## Howto
3 # For each Q_OBJECT:
4 #   - Add the .moc.cpp to BUILT_SOURCES and nodist_SOURCES_qt4
5 #   - Add the .cpp to SOURCES_qt4
6 #   - Add the .hpp to EXTRA_DIST
7 # For each UI
8 #   - Add it to EXTRA_DIST
9 #   - Add the .h to nodist_SOURCES_qt4
10
11 AUTOMAKE_OPTIONS = subdir-objects
12 MOSTLYCLEANFILES = $(UIH)
13 SUFFIXES += .ui .h .hpp .moc.cpp
14
15 nodist_SOURCES_qt4 = \
16                 main_interface.moc.cpp \
17                 menus.moc.cpp \
18                 dialogs_provider.moc.cpp \
19                 input_manager.moc.cpp \
20                 recents.moc.cpp \
21                 dialogs/playlist.moc.cpp \
22                 dialogs/bookmarks.moc.cpp \
23                 dialogs/mediainfo.moc.cpp \
24                 dialogs/extended.moc.cpp \
25                 dialogs/messages.moc.cpp \
26                 dialogs/errors.moc.cpp \
27                 dialogs/plugins.moc.cpp \
28                 dialogs/preferences.moc.cpp \
29                 dialogs/interaction.moc.cpp \
30                 dialogs/sout.moc.cpp \
31                 dialogs/help.moc.cpp \
32                 dialogs/gototime.moc.cpp \
33                 dialogs/toolbar.moc.cpp \
34                 dialogs/open.moc.cpp \
35                 dialogs/podcast_configuration.moc.cpp \
36                 dialogs/vlm.moc.cpp \
37                 components/extended_panels.moc.cpp \
38                 components/info_panels.moc.cpp \
39                 components/preferences_widgets.moc.cpp \
40                 components/complete_preferences.moc.cpp \
41                 components/simple_preferences.moc.cpp \
42                 components/open_panels.moc.cpp \
43                 components/interface_widgets.moc.cpp \
44                 components/controller.moc.cpp \
45                 components/playlist/playlist_model.moc.cpp \
46                 components/playlist/playlist_item.moc.cpp \
47                 components/playlist/playlist.moc.cpp \
48                 components/playlist/panels.moc.cpp \
49                 components/playlist/selector.moc.cpp \
50                 util/input_slider.moc.cpp \
51                 util/customwidgets.moc.cpp \
52                 resources.cpp \
53                 ui/equalizer.h \
54                 ui/v4l2.h \
55                 ui/video_effects.h \
56                 ui/open_file.h \
57                 ui/open_disk.h \
58                 ui/open_net.h \
59                 ui/open_capture.h \
60                 ui/open.h \
61                 ui/vlm.h \
62                 ui/podcast_configuration.h \
63                 ui/sprefs_audio.h \
64                 ui/sprefs_input.h \
65                 ui/sprefs_interface.h \
66                 ui/sprefs_subtitles.h \
67                 ui/sprefs_video.h \
68                 ui/streampanel.h \
69                 ui/sout.h
70
71 DEPS_res = \
72         pixmaps/arrow_down_dark.png \
73         pixmaps/clear.png \
74         pixmaps/eject.png \
75         pixmaps/faster.png \
76         pixmaps/go-next.png \
77         pixmaps/menus/help_16px.png \
78         pixmaps/menus/info_16px.png \
79         pixmaps/menus/messages_16px.png \
80         pixmaps/menus/playlist_16px.png \
81         pixmaps/menus/preferences_16px.png \
82         pixmaps/menus/quit_16px.png \
83         pixmaps/menus/settings_16px.png \
84         pixmaps/menus/stream_16px.png \
85         pixmaps/next.png \
86         pixmaps/next_16px.png \
87         pixmaps/noart.png \
88         pixmaps/pause.png \
89         pixmaps/pause_16px.png \
90         pixmaps/play.png \
91         pixmaps/play_16px.png \
92         pixmaps/playlist/add.png \
93         pixmaps/playlist/jumpto.png \
94         pixmaps/playlist/playlist.png \
95         pixmaps/playlist/repeat_all.png \
96         pixmaps/playlist/repeat_off.png \
97         pixmaps/playlist/repeat_one.png \
98         pixmaps/playlist/shuffle_off.png \
99         pixmaps/playlist/shuffle_on.png \
100         pixmaps/prefs/advprefs_audio.png \
101         pixmaps/prefs/advprefs_codec.png \
102         pixmaps/prefs/advprefs_extended.png \
103         pixmaps/prefs/advprefs_intf.png \
104         pixmaps/prefs/advprefs_playlist.png \
105         pixmaps/prefs/advprefs_sout.png \
106         pixmaps/prefs/advprefs_video.png \
107         pixmaps/prefs/spref_cone_Audio_64.png \
108         pixmaps/prefs/spref_cone_Hotkeys_64.png \
109         pixmaps/prefs/spref_cone_Input_64.png \
110         pixmaps/prefs/spref_cone_Interface_64.png \
111         pixmaps/prefs/spref_cone_Subtitles_64.png \
112         pixmaps/prefs/spref_cone_Video_64.png \
113         pixmaps/previous.png \
114         pixmaps/previous_16px.png \
115         pixmaps/slower.png \
116         pixmaps/space.png \
117         pixmaps/stop.png \
118         pixmaps/stop_16px.png \
119         pixmaps/toolbar/arrows.png \
120         pixmaps/toolbar/aspect-ratio.png \
121         pixmaps/toolbar/atob.png \
122         pixmaps/toolbar/atob_noa.png \
123         pixmaps/toolbar/atob_nob.png \
124         pixmaps/toolbar/defullscreen.png \
125         pixmaps/toolbar/dvd_menu.png \
126         pixmaps/toolbar/dvd_next.png \
127         pixmaps/toolbar/dvd_prev.png \
128         pixmaps/toolbar/extended_16px.png \
129         pixmaps/toolbar/frame-by-frame.png \
130         pixmaps/toolbar/fullscreen.png \
131         pixmaps/toolbar/record_16px.png \
132         pixmaps/toolbar/snapshot.png \
133         pixmaps/toolbar/skip_for.png \
134         pixmaps/toolbar/skip_back.png \
135         pixmaps/toolbar/tv.png \
136         pixmaps/toolbar/tvtelx-transparent.png \
137         pixmaps/toolbar/tvtelx.png \
138         pixmaps/toolbar/visu.png \
139         pixmaps/toolbar/volume-high.png \
140         pixmaps/toolbar/volume-low.png \
141         pixmaps/toolbar/volume-medium.png \
142         pixmaps/toolbar/volume-muted.png \
143         pixmaps/toolbar/volume-slider-inside.png \
144         pixmaps/toolbar/volume-slider-outside.png \
145         pixmaps/types/capture-card_16px.png \
146         pixmaps/types/cdda_16px.png \
147         pixmaps/types/disc_16px.png \
148         pixmaps/types/file-asym_16px.png \
149         pixmaps/types/file-wide_16px.png \
150         pixmaps/types/folder-blue_16px.png \
151         pixmaps/types/folder-grey_16px.png \
152         pixmaps/types/harddisk_16px.png \
153         pixmaps/types/network_16px.png \
154         pixmaps/types/tape_16px.png \
155         pixmaps/types/type_directory.png \
156         pixmaps/types/type_file.png \
157         pixmaps/types/type_net.png \
158         pixmaps/types/type_node.png \
159         pixmaps/types/type_playlist.png \
160         pixmaps/types/type_unknown.xpm \
161         pixmaps/update.png
162
163 BUILT_SOURCES += $(nodist_SOURCES_qt4)
164
165 resources.cpp: vlc.qrc $(DEPS_res)
166         $(RCC) -name vlc -o $@ $<
167
168 .hpp.moc.cpp:
169         $(MOC) $(DEFS) $(CPPFLAGS) -I$(top_builddir) `$(VLC_CONFIG) --cppflags plugin qt4` -o $@ $<
170
171 .ui.h:
172         mkdir -p -- ui
173         rm -f $@ $@.tmp
174         echo "#define Q_(a,b) QString::fromUtf8(_(a))" > $@.tmp
175         $(UIC) -tr "Q_" $< >> $@.tmp
176         sed -e 's/Q_(\"_(\\\"\(.*\)\\\")"/Q_("\1"/' $@.tmp >$@
177         rm -f $@.tmp
178
179 SOURCES_qt4 =   qt4.cpp \
180                 menus.cpp \
181                 main_interface.cpp \
182                 dialogs_provider.cpp \
183                 input_manager.cpp \
184                 recents.cpp \
185                 dialogs/playlist.cpp \
186                 dialogs/bookmarks.cpp \
187                 dialogs/preferences.cpp \
188                 dialogs/mediainfo.cpp \
189                 dialogs/extended.cpp \
190                 dialogs/messages.cpp \
191                 dialogs/errors.cpp \
192                 dialogs/plugins.cpp \
193                 dialogs/interaction.cpp \
194                 dialogs/sout.cpp \
195                 dialogs/help.cpp \
196                 dialogs/gototime.cpp \
197                 dialogs/toolbar.cpp \
198                 dialogs/open.cpp \
199                 dialogs/vlm.cpp \
200                 dialogs/podcast_configuration.cpp \
201                 components/extended_panels.cpp \
202                 components/info_panels.cpp \
203                 components/preferences_widgets.cpp \
204                 components/complete_preferences.cpp \
205                 components/simple_preferences.cpp \
206                 components/open_panels.cpp \
207                 components/interface_widgets.cpp \
208                 components/controller.cpp \
209                 components/playlist/playlist_model.cpp \
210                 components/playlist/playlist_item.cpp \
211                 components/playlist/standardpanel.cpp \
212                 components/playlist/playlist.cpp \
213                 components/playlist/selector.cpp \
214                 util/input_slider.cpp \
215                 util/customwidgets.cpp \
216                 util/registry.cpp
217
218 noinst_HEADERS = \
219         qt4.hpp \
220         menus.hpp \
221         main_interface.hpp \
222         dialogs_provider.hpp \
223         input_manager.hpp \
224         recents.hpp \
225         dialogs/playlist.hpp \
226         dialogs/bookmarks.hpp \
227         dialogs/mediainfo.hpp \
228         dialogs/extended.hpp \
229         dialogs/messages.hpp \
230         dialogs/errors.hpp \
231         dialogs/plugins.hpp \
232         dialogs/preferences.hpp \
233         dialogs/interaction.hpp \
234         dialogs/sout.hpp \
235         dialogs/help.hpp \
236         dialogs/gototime.hpp \
237         dialogs/toolbar.hpp \
238         dialogs/open.hpp \
239         dialogs/vlm.hpp \
240         dialogs/podcast_configuration.hpp \
241         components/extended_panels.hpp \
242         components/info_panels.hpp \
243         components/preferences_widgets.hpp \
244         components/complete_preferences.hpp \
245         components/simple_preferences.hpp \
246         components/open_panels.hpp \
247         components/interface_widgets.hpp \
248         components/controller.hpp \
249         components/playlist/playlist_model.hpp \
250         components/playlist/playlist_item.hpp \
251         components/playlist/panels.hpp \
252         components/playlist/playlist.hpp \
253         components/playlist/selector.hpp \
254         components/playlist/sorting.h \
255         util/input_slider.hpp \
256         util/customwidgets.hpp \
257         util/qvlcframe.hpp \
258         util/qvlcapp.hpp \
259         util/registry.hpp
260
261 EXTRA_DIST += \
262         vlc.qrc \
263         ui/equalizer.ui \
264         ui/v4l2.ui \
265         ui/video_effects.ui \
266         ui/open_file.ui \
267         ui/open_disk.ui \
268         ui/open_net.ui \
269         ui/open_capture.ui \
270         ui/open.ui \
271         ui/podcast_configuration.ui \
272         ui/sprefs_audio.ui \
273         ui/sprefs_input.ui \
274         ui/sprefs_interface.ui \
275         ui/sprefs_subtitles.ui \
276         ui/sprefs_video.ui \
277         ui/streampanel.ui \
278         ui/sout.ui \
279         ui/vlm.ui \
280         $(DEPS_res)
281