~ubuntu-branches/debian/experimental/smplayer/experimental

« back to all changes in this revision

Viewing changes to src/prefadvanced.h

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2009-01-03 17:08:06 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090103170806-eodntb2slv6g2pb6
Tags: 0.6.6-0ubuntu1
* The "just before FF" release.
* New upstream release.
* debian/control: Bumped Standards-Version to 3.8.0.
* debian/copyright: Changed (C) to © to fix Lintian warning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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; };
49
51
#endif
50
52
 
 
53
        bool proxyChanged() { return proxy_changed; };
 
54
 
51
55
protected:
52
56
        virtual void createHelp();
53
57
 
55
59
        void setMonitorAspect(QString asp);
56
60
        QString monitorAspect();
57
61
 
58
 
        void setClearBackground(bool b);
59
 
        bool clearBackground();
 
62
#if REPAINT_BACKGROUND_OPTION
 
63
        void setRepaintVideoBackground(bool b);
 
64
        bool repaintVideoBackground();
 
65
#endif
60
66
 
61
67
        void setUseMplayerWindow(bool v);
62
68
        bool useMplayerWindow();
79
85
        unsigned int colorKey();
80
86
#endif
81
87
 
 
88
        void setPreferIpv4(bool b);
 
89
        bool preferIpv4();
 
90
 
 
91
        void setUseIdx(bool);
 
92
        bool useIdx();
 
93
 
 
94
        void setUseCorrectPts(bool b);
 
95
        bool useCorrectPts();
 
96
 
 
97
        void setActionsToRun(QString actions);
 
98
        QString actionsToRun();
 
99
 
82
100
        // Log options
83
101
        void setLogMplayer(bool b);
84
102
        bool logMplayer();
95
113
    void setMplayerLogName(QString filter);
96
114
    QString mplayerLogName();
97
115
 
98
 
        // MPlayer language
99
 
        void setEndOfFileText(QString t);
100
 
        QString endOfFileText();
101
 
 
102
 
        void setNoVideoText(QString t);
103
 
        QString noVideoText();
 
116
        // Proxy
 
117
        void setUseProxy(bool b);
 
118
        bool useProxy();
 
119
 
 
120
        void setProxyHostname(QString host);
 
121
        QString proxyHostname();
 
122
 
 
123
        void setProxyPort(int port);
 
124
        int proxyPort();
 
125
 
 
126
        void setProxyUsername(QString username);
 
127
        QString proxyUsername();
 
128
 
 
129
        void setProxyPassword(QString password);
 
130
        QString proxyPassword();
 
131
 
 
132
        void setProxyType(int type);
 
133
        int proxyType();
104
134
 
105
135
protected:
106
136
        virtual void retranslateStrings();
109
139
        void on_changeButton_clicked();
110
140
 
111
141
private:
112
 
        bool clearing_background_changed;
 
142
#if REPAINT_BACKGROUND_OPTION
 
143
        bool repaint_video_background_changed;
 
144
#endif
113
145
        bool monitor_aspect_changed;
114
146
#if USE_COLORKEY
115
147
        bool colorkey_changed;
116
148
#endif
 
149
        bool proxy_changed;
117
150
};
118
151
 
119
152
#endif