Changeset 149 in tspsg-svn for trunk/src/settingsdialog.h


Ignore:
Timestamp:
Dec 20, 2010, 9:53:45 PM (14 years ago)
Author:
laleppa
Message:

Converted file formatting to have spaces instead of tabs. No code changes...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/settingsdialog.h

    r143 r149  
    3939class SettingsDialog: public QDialog, Ui::SettingsDialog
    4040{
    41         Q_OBJECT
     41    Q_OBJECT
    4242public:
    43         SettingsDialog(QWidget *parent = 0);
    44         bool colorChanged() const;
    45         bool fontChanged() const;
    46         qint8 translucencyChanged() const;
     43    SettingsDialog(QWidget *parent = 0);
     44    bool colorChanged() const;
     45    bool fontChanged() const;
     46    qint8 translucencyChanged() const;
    4747
    4848private:
    49         bool _newFont;
    50         bool _newColor;
    51         qint8 _translucency;
     49    bool _newFont;
     50    bool _newColor;
     51    qint8 _translucency;
    5252
    53         QColor color;
    54         QFont font;
     53    QColor color;
     54    QFont font;
    5555
    56         QSettings *settings;
    57         QHBoxLayout *layoutCitiesLimit;
     56    QSettings *settings;
     57    QHBoxLayout *layoutCitiesLimit;
    5858#ifdef Q_WS_WIN32
    59         QCheckBox *cbUseTranslucency;
     59    QCheckBox *cbUseTranslucency;
    6060#endif // Q_WS_WIN32
    61         QCheckBox *cbCheck4Updates;
    62         QSpinBox *spinUpdateCheckInterval;
     61    QCheckBox *cbCheck4Updates;
     62    QSpinBox *spinUpdateCheckInterval;
    6363#ifndef QT_NO_PRINTER
    64         QCheckBox *cbHQGraph;
     64    QCheckBox *cbHQGraph;
    6565#endif
    6666#ifdef Q_WS_WINCE_WM
    67         QRect currentGeometry;
     67    QRect currentGeometry;
    6868#elif !defined(HANDHELD)
    69         QCheckBox *cbSaveState;
    70         QLabel *imgIcon;
    71         QFrame *lineVertical;
    72         QLabel *labelHint;
     69    QCheckBox *cbSaveState;
     70    QLabel *imgIcon;
     71    QFrame *lineVertical;
     72    QLabel *labelHint;
    7373
    7474#ifndef QT_NO_STATUSTIP
    75         bool event(QEvent *ev);
     75    bool event(QEvent *ev);
    7676#endif // QT_NO_STATUSTIP
    7777#endif // Q_WS_WINCE_WM
    7878
    7979private slots:
    80         void accept();
    81         void buttonColorClicked();
    82         void buttonFontClicked();
     80    void accept();
     81    void buttonColorClicked();
     82    void buttonFontClicked();
    8383#ifdef Q_WS_WINCE_WM
    84         void desktopResized(int screen);
    85         void showEvent(QShowEvent *ev);
     84    void desktopResized(int screen);
     85    void showEvent(QShowEvent *ev);
    8686#endif // Q_WS_WINCE_WM
    87         void spinRandMinValueChanged(int val);
     87    void spinRandMinValueChanged(int val);
    8888};
    8989
Note: See TracChangeset for help on using the changeset viewer.