~ubuntu-branches/ubuntu/raring/smplayer/raring

« back to all changes in this revision

Viewing changes to src/prefinterface.h

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2013-02-12 03:00:21 UTC
  • mfrom: (20.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20130212030021-q5mg053fru2u6zl8
Tags: 0.8.3-1
* Team upload.
* New upstream release. (Closes: #698300)

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
#include "ui_prefinterface.h"
23
23
#include "prefwidget.h"
 
24
#include "config.h"
24
25
 
25
26
class Preferences;
26
27
 
46
47
        bool guiChanged() { return gui_changed; }
47
48
        bool styleChanged() { return style_changed; };
48
49
        bool recentsChanged() { return recents_changed; };
 
50
        bool urlMaxChanged() { return url_max_changed; };
49
51
 
50
52
protected:
51
53
        virtual void createHelp();
74
76
        bool useSingleInstance();
75
77
#endif
76
78
 
77
 
        void setRecentsMaxItems(int n);
78
 
        int recentsMaxItems();
79
 
 
80
79
        void setSeeking1(int n);
81
80
        int seeking1();
82
81
 
92
91
        void setUpdateWhileDragging(bool);
93
92
        bool updateWhileDragging();
94
93
 
 
94
#ifdef SEEKBAR_RESOLUTION
95
95
        void setRelativeSeeking(bool);
 
96
#endif
96
97
        bool relativeSeeking();
97
98
 
98
99
        void setPreciseSeeking(bool);
122
123
        bool floatingBypassWindowManager();
123
124
#endif
124
125
 
 
126
        // Privacy tab
 
127
        void setRecentsMaxItems(int n);
 
128
        int recentsMaxItems();
 
129
 
 
130
        void setURLMaxItems(int n);
 
131
        int urlMaxItems();
 
132
 
 
133
        void setRememberDirs(bool b);
 
134
        bool rememberDirs();
 
135
 
125
136
protected slots:
126
137
        void on_changeFontButton_clicked();
127
138
#ifdef SINGLE_INSTANCE
128
139
        void changeInstanceImages();
129
140
#endif
 
141
#ifdef SKINS
 
142
        void GUIChanged(int index);
 
143
#endif
130
144
 
131
145
protected:
132
146
        virtual void retranslateStrings();
137
151
        bool gui_changed;
138
152
        bool style_changed;
139
153
        bool recents_changed;
 
154
        bool url_max_changed;
 
155
 
 
156
#ifdef SKINS
 
157
        int n_skins;
 
158
#endif
140
159
};
141
160
 
142
161
#endif