author | harlekin <harlekin> | 2002-08-01 00:47:09 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-08-01 00:47:09 (UTC) |
commit | ba034bf4cb91b83654056945fc27313a28528015 (patch) (side-by-side diff) | |
tree | 4df33783ca21017424135aacc2e45b94437cfdff /noncore/tools/remote | |
parent | 26ff0c72228b9c89b079dfa381d448b6152eb408 (diff) | |
download | opie-ba034bf4cb91b83654056945fc27313a28528015.zip opie-ba034bf4cb91b83654056945fc27313a28528015.tar.gz opie-ba034bf4cb91b83654056945fc27313a28528015.tar.bz2 |
gcc3.x fixes
-rw-r--r-- | noncore/tools/remote/helptab.cpp | 2 | ||||
-rw-r--r-- | noncore/tools/remote/helptab.h | 7 | ||||
-rw-r--r-- | noncore/tools/remote/recorddialog.cpp | 9 | ||||
-rw-r--r-- | noncore/tools/remote/recorddialog.h | 8 |
4 files changed, 19 insertions, 7 deletions
diff --git a/noncore/tools/remote/helptab.cpp b/noncore/tools/remote/helptab.cpp index 3c53ab6..ac51e13 100644 --- a/noncore/tools/remote/helptab.cpp +++ b/noncore/tools/remote/helptab.cpp @@ -17,5 +17,5 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #include "helptab.h" -HelpTab::HelpTab(QWidget *parent=0, const char *name=0):QWidget(parent, name) +HelpTab::HelpTab(QWidget *parent, const char *name):QWidget(parent, name) { QVBoxLayout *layout = new QVBoxLayout(this); diff --git a/noncore/tools/remote/helptab.h b/noncore/tools/remote/helptab.h index f3f99b3..83f24ef 100644 --- a/noncore/tools/remote/helptab.h +++ b/noncore/tools/remote/helptab.h @@ -15,4 +15,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifndef HELP_TAB_H +#define HELP_TAB_H + #include <qwidget.h> #include <qtextview.h> @@ -24,3 +27,5 @@ class HelpTab : public QWidget public: HelpTab(QWidget *parent=0, const char *name=0); -};
\ No newline at end of file +}; + +#endif diff --git a/noncore/tools/remote/recorddialog.cpp b/noncore/tools/remote/recorddialog.cpp index f7cd30c..cfab730 100644 --- a/noncore/tools/remote/recorddialog.cpp +++ b/noncore/tools/remote/recorddialog.cpp @@ -17,9 +17,10 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #include "recorddialog.h" -RecordDialog::RecordDialog(QWidget *parent=0, const char *name=0):QDialog(parent, name) +RecordDialog::RecordDialog(QWidget *parent, const char *name) + :QDialog(parent, name) { QVBoxLayout *layout = new QVBoxLayout(this); QHBoxLayout *hlayout = new QHBoxLayout(this); - + layout->insertSpacing(0,5); output = new QTextView("Please enter the name of the new remote, and press Return\n", 0, this, "output"); @@ -33,5 +34,5 @@ RecordDialog::RecordDialog(QWidget *parent=0, const char *name=0):QDialog(parent hlayout->insertWidget(-1, input, 1); hlayout->insertSpacing(-1, 5); - + QPushButton *ret = new QPushButton("Return", this, "return"); hlayout->insertWidget(-1, ret); @@ -39,5 +40,5 @@ RecordDialog::RecordDialog(QWidget *parent=0, const char *name=0):QDialog(parent connect(ret, SIGNAL(clicked()), this, SLOT(retPressed()) ); where = 0; - + record = new OProcess; } diff --git a/noncore/tools/remote/recorddialog.h b/noncore/tools/remote/recorddialog.h index 38b2bb4..e4dcae6 100644 --- a/noncore/tools/remote/recorddialog.h +++ b/noncore/tools/remote/recorddialog.h @@ -15,4 +15,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifndef RecordDialog_H +#define RecordDialog_H + #include <qdialog.h> #include <qtextview.h> @@ -41,3 +44,6 @@ private: OProcess *record; int where; -};
\ No newline at end of file +}; + +#endif + |