~ubuntu-branches/ubuntu/wily/smplayer/wily

« back to all changes in this revision

Viewing changes to src/prefadvanced.h

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2009-03-31 23:05:43 UTC
  • mfrom: (1.2.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20090331230543-0h2hfwpwlu9opbv2
* New upstream release. (Closes: #523791)
  - Reworked subtitle font preferences. (Closes: #503295)
  - No longer installs qt_fr.qm. (Closes: #486314)
* debian/control:
  - Bumped Standards-Version to 3.8.1.
  - Changed maintainer name (still the same person and GPG key).
  - Changed section to video.
  - Build-depend on zlib1g-dev for findsubtitles.
  - Require Qt >= 4.3 per readme.
  - Added ${misc:Depends}.
  - Make smplayer-translations depend on smplayer and smplayer recommend
    smplayer-translations, not the other way round. (Closes: #489375)
* debian/copyright:
  - Significantly expanded per-file with new upstream authors.
* debian/rules:
  - Make make use correct uic in install.
  - Clean svn_revision.
  - Removed get-orig-source - not needed with uscan --repack.
* debian/patches/01_gl_translation.patch:
  - Added patch to fix lrelease error on smplayer_gl.ts.
* Added debian/README.source for simple-patchsys.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*  smplayer, GUI front-end for mplayer.
2
 
    Copyright (C) 2006-2008 Ricardo Villalba <rvm@escomposlinux.org>
 
2
    Copyright (C) 2006-2009 Ricardo Villalba <rvm@escomposlinux.org>
3
3
 
4
4
    This program is free software; you can redistribute it and/or modify
5
5
    it under the terms of the GNU General Public License as published by
21
21
 
22
22
#include "ui_prefadvanced.h"
23
23
#include "prefwidget.h"
24
 
#include "config.h"
 
24
#include "preferences.h"
25
25
 
26
26
class Preferences;
27
27
 
42
42
    // Apply changes
43
43
    void getData(Preferences * pref);
44
44
 
45
 
        bool clearingBackgroundChanged() { return clearing_background_changed; };
 
45
#if REPAINT_BACKGROUND_OPTION
 
46
        bool repaintVideoBackgroundChanged() { return repaint_video_background_changed; };
 
47
#endif
46
48
        bool monitorAspectChanged() { return monitor_aspect_changed; };
47
49
#if USE_COLORKEY
48
50
        bool colorkeyChanged() { return colorkey_changed; };
55
57
        void setMonitorAspect(QString asp);
56
58
        QString monitorAspect();
57
59
 
58
 
        void setClearBackground(bool b);
59
 
        bool clearBackground();
 
60
#if REPAINT_BACKGROUND_OPTION
 
61
        void setRepaintVideoBackground(bool b);
 
62
        bool repaintVideoBackground();
 
63
#endif
60
64
 
61
65
        void setUseMplayerWindow(bool v);
62
66
        bool useMplayerWindow();
79
83
        unsigned int colorKey();
80
84
#endif
81
85
 
 
86
        void setPreferIpv4(bool b);
 
87
        bool preferIpv4();
 
88
 
 
89
        void setUseIdx(bool);
 
90
        bool useIdx();
 
91
 
 
92
        void setUseCorrectPts(Preferences::OptionState value);
 
93
        Preferences::OptionState useCorrectPts();
 
94
 
 
95
        void setActionsToRun(QString actions);
 
96
        QString actionsToRun();
 
97
 
82
98
        // Log options
83
99
        void setLogMplayer(bool b);
84
100
        bool logMplayer();
95
111
    void setMplayerLogName(QString filter);
96
112
    QString mplayerLogName();
97
113
 
98
 
        // MPlayer language
99
 
        void setEndOfFileText(QString t);
100
 
        QString endOfFileText();
101
 
 
102
 
        void setNoVideoText(QString t);
103
 
        QString noVideoText();
104
 
 
105
114
protected:
106
115
        virtual void retranslateStrings();
107
116
 
109
118
        void on_changeButton_clicked();
110
119
 
111
120
private:
112
 
        bool clearing_background_changed;
 
121
#if REPAINT_BACKGROUND_OPTION
 
122
        bool repaint_video_background_changed;
 
123
#endif
113
124
        bool monitor_aspect_changed;
114
125
#if USE_COLORKEY
115
126
        bool colorkey_changed;