summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/notes/editwindow.h2
-rw-r--r--inputmethods/multikey/configdlg.h2
-rw-r--r--noncore/games/minesweep/minefield.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/core/pim/notes/editwindow.h b/core/pim/notes/editwindow.h
index 57c5241..30c44d6 100644
--- a/core/pim/notes/editwindow.h
+++ b/core/pim/notes/editwindow.h
@@ -2,21 +2,21 @@
2#include <qlayout.h> 2#include <qlayout.h>
3#include <qmultilineedit.h> 3#include <qmultilineedit.h>
4#include <qmessagebox.h> 4#include <qmessagebox.h>
5#include <qtextstream.h> 5#include <qtextstream.h>
6#include <qfile.h> 6#include <qfile.h>
7#include <qfileinfo.h> 7#include <qfileinfo.h>
8 8
9class editWindowWidget : public QDialog 9class editWindowWidget : public QDialog
10{ 10{
11 Q_OBJECT 11 Q_OBJECT
12 12
13 public: 13 public:
14 editWindowWidget::editWindowWidget(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0); 14 editWindowWidget(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
15 ~editWindowWidget(); 15 ~editWindowWidget();
16 void loadFile(QString fileName); 16 void loadFile(QString fileName);
17 void saveFile(QString fileName); 17 void saveFile(QString fileName);
18 18
19 private: 19 private:
20 QMultiLineEdit *editArea; 20 QMultiLineEdit *editArea;
21 21
22}; 22};
diff --git a/inputmethods/multikey/configdlg.h b/inputmethods/multikey/configdlg.h
index 91ae429..8e96e9b 100644
--- a/inputmethods/multikey/configdlg.h
+++ b/inputmethods/multikey/configdlg.h
@@ -4,25 +4,25 @@
4#include <qlistbox.h> 4#include <qlistbox.h>
5#include <qpushbutton.h> 5#include <qpushbutton.h>
6 6
7#ifndef CONFIGDLG_H 7#ifndef CONFIGDLG_H
8#define CONFIGDLG_H 8#define CONFIGDLG_H
9 9
10class ConfigDlg : public QDialog 10class ConfigDlg : public QDialog
11{ 11{
12 Q_OBJECT 12 Q_OBJECT
13 13
14public: 14public:
15 ConfigDlg (); 15 ConfigDlg ();
16 static QStringList ConfigDlg::loadSw(); 16 static QStringList loadSw();
17 17
18signals: 18signals:
19 void pickboardToggled(bool on_off); 19 void pickboardToggled(bool on_off);
20 void repeatToggled(bool on_off); 20 void repeatToggled(bool on_off);
21 void setMapToDefault(); 21 void setMapToDefault();
22 void setMapToFile(QString map); 22 void setMapToFile(QString map);
23 void reloadKeyboard(); 23 void reloadKeyboard();
24 void configDlgClosed(); 24 void configDlgClosed();
25 void reloadSw(); 25 void reloadSw();
26 26
27protected: 27protected:
28 virtual void accept(); 28 virtual void accept();
diff --git a/noncore/games/minesweep/minefield.h b/noncore/games/minesweep/minefield.h
index e243d77..8d0f754 100644
--- a/noncore/games/minesweep/minefield.h
+++ b/noncore/games/minesweep/minefield.h
@@ -73,26 +73,26 @@ protected:
73 const Mine *mine( int row, int col ) const { return onBoard(row, col ) ? mines[row+numCols*col] : 0; } 73 const Mine *mine( int row, int col ) const { return onBoard(row, col ) ? mines[row+numCols*col] : 0; }
74 74
75protected slots: 75protected slots:
76 void cellPressed( int row, int col ); 76 void cellPressed( int row, int col );
77 void cellClicked( int row, int col ); 77 void cellClicked( int row, int col );
78 void held(); 78 void held();
79 79
80private: 80private:
81 int findCellSize(); 81 int findCellSize();
82 void setCellSize( int ); 82 void setCellSize( int );
83 83
84 State stat; 84 State stat;
85 void MineField::setState( State st ); 85 void setState( State st );
86 void MineField::placeMines(); 86 void placeMines();
87 enum FlagAction { NoAction, FlagOn, FlagNext }; 87 enum FlagAction { NoAction, FlagOn, FlagNext };
88 FlagAction flagAction; 88 FlagAction flagAction;
89 bool ignoreClick; 89 bool ignoreClick;
90 int currRow; 90 int currRow;
91 int currCol; 91 int currCol;
92 int numRows, numCols; 92 int numRows, numCols;
93 93
94 int minecount; 94 int minecount;
95 int mineguess; 95 int mineguess;
96 int nonminecount; 96 int nonminecount;
97 int lev; 97 int lev;
98 QRect availableRect; 98 QRect availableRect;