summaryrefslogtreecommitdiff
Side-by-side diff
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
@@ -1,22 +1,22 @@
#include <qdialog.h>
#include <qlayout.h>
#include <qmultilineedit.h>
#include <qmessagebox.h>
#include <qtextstream.h>
#include <qfile.h>
#include <qfileinfo.h>
class editWindowWidget : public QDialog
{
Q_OBJECT
public:
- editWindowWidget::editWindowWidget(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
+ editWindowWidget(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
~editWindowWidget();
void loadFile(QString fileName);
void saveFile(QString fileName);
private:
QMultiLineEdit *editArea;
};
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
@@ -1,48 +1,48 @@
#include <qpe/qpeapplication.h>
#include <qdialog.h>
#include <qcheckbox.h>
#include <qlistbox.h>
#include <qpushbutton.h>
#ifndef CONFIGDLG_H
#define CONFIGDLG_H
class ConfigDlg : public QDialog
{
Q_OBJECT
public:
ConfigDlg ();
- static QStringList ConfigDlg::loadSw();
+ static QStringList loadSw();
signals:
void pickboardToggled(bool on_off);
void repeatToggled(bool on_off);
void setMapToDefault();
void setMapToFile(QString map);
void reloadKeyboard();
void configDlgClosed();
void reloadSw();
protected:
virtual void accept();
protected slots:
void moveSelectedUp();
void moveSelectedDown();
private slots:
void setMap(int index);
void addMap();
void removeMap();
virtual void closeEvent ( QCloseEvent * );
// all those required slots for the color push buttons
void keyColorClicked();
void keyColorPressedClicked();
void keyColorLinesClicked();
void textColorClicked();
private:
QCheckBox *pick_button;
QCheckBox *repeat_button;
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
@@ -53,52 +53,52 @@ public slots:
signals:
void gameOver( bool won );
void gameStarted();
void mineCount( int );
protected:
void contentsMousePressEvent( QMouseEvent* );
void contentsMouseReleaseEvent( QMouseEvent* );
void keyPressEvent( QKeyEvent* );
void keyReleaseEvent( QKeyEvent* );
void drawContents( QPainter * p, int clipx, int clipy, int clipw, int cliph );
int getHint( int row, int col );
void setHint( int r, int c );
void updateMine( int row, int col );
void paletteChange( const QPalette & );
void updateCell( int r, int c );
bool onBoard( int r, int c ) const { return r >= 0 && r < numRows && c >= 0 && c < numCols; }
Mine *mine( int row, int col ) { return onBoard(row, col ) ? mines[row+numCols*col] : 0; }
const Mine *mine( int row, int col ) const { return onBoard(row, col ) ? mines[row+numCols*col] : 0; }
protected slots:
void cellPressed( int row, int col );
void cellClicked( int row, int col );
void held();
private:
int findCellSize();
void setCellSize( int );
State stat;
- void MineField::setState( State st );
- void MineField::placeMines();
+ void setState( State st );
+ void placeMines();
enum FlagAction { NoAction, FlagOn, FlagNext };
FlagAction flagAction;
bool ignoreClick;
int currRow;
int currCol;
int numRows, numCols;
int minecount;
int mineguess;
int nonminecount;
int lev;
QRect availableRect;
int cellSize;
QTimer *holdTimer;
Mine **mines;
};
#endif // MINEFIELD_H