-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 | |||
17 | #include "helptab.h" | 17 | #include "helptab.h" |
18 | 18 | ||
19 | HelpTab::HelpTab(QWidget *parent=0, const char *name=0):QWidget(parent, name) | 19 | HelpTab::HelpTab(QWidget *parent, const char *name):QWidget(parent, name) |
20 | { | 20 | { |
21 | QVBoxLayout *layout = new QVBoxLayout(this); | 21 | 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 | |||
15 | */ | 15 | */ |
16 | 16 | ||
17 | #ifndef HELP_TAB_H | ||
18 | #define HELP_TAB_H | ||
19 | |||
17 | #include <qwidget.h> | 20 | #include <qwidget.h> |
18 | #include <qtextview.h> | 21 | #include <qtextview.h> |
@@ -24,3 +27,5 @@ class HelpTab : public QWidget | |||
24 | public: | 27 | public: |
25 | HelpTab(QWidget *parent=0, const char *name=0); | 28 | HelpTab(QWidget *parent=0, const char *name=0); |
26 | }; \ No newline at end of file | 29 | }; |
30 | |||
31 | #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 | |||
17 | #include "recorddialog.h" | 17 | #include "recorddialog.h" |
18 | 18 | ||
19 | RecordDialog::RecordDialog(QWidget *parent=0, const char *name=0):QDialog(parent, name) | 19 | RecordDialog::RecordDialog(QWidget *parent, const char *name) |
20 | :QDialog(parent, name) | ||
20 | { | 21 | { |
21 | QVBoxLayout *layout = new QVBoxLayout(this); | 22 | QVBoxLayout *layout = new QVBoxLayout(this); |
22 | QHBoxLayout *hlayout = new QHBoxLayout(this); | 23 | QHBoxLayout *hlayout = new QHBoxLayout(this); |
23 | 24 | ||
24 | layout->insertSpacing(0,5); | 25 | layout->insertSpacing(0,5); |
25 | output = new QTextView("Please enter the name of the new remote, and press Return\n", 0, this, "output"); | 26 | 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 | |||
33 | hlayout->insertWidget(-1, input, 1); | 34 | hlayout->insertWidget(-1, input, 1); |
34 | hlayout->insertSpacing(-1, 5); | 35 | hlayout->insertSpacing(-1, 5); |
35 | 36 | ||
36 | QPushButton *ret = new QPushButton("Return", this, "return"); | 37 | QPushButton *ret = new QPushButton("Return", this, "return"); |
37 | hlayout->insertWidget(-1, ret); | 38 | hlayout->insertWidget(-1, ret); |
@@ -39,5 +40,5 @@ RecordDialog::RecordDialog(QWidget *parent=0, const char *name=0):QDialog(parent | |||
39 | connect(ret, SIGNAL(clicked()), this, SLOT(retPressed()) ); | 40 | connect(ret, SIGNAL(clicked()), this, SLOT(retPressed()) ); |
40 | where = 0; | 41 | where = 0; |
41 | 42 | ||
42 | record = new OProcess; | 43 | record = new OProcess; |
43 | } | 44 | } |
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 | |||
15 | */ | 15 | */ |
16 | 16 | ||
17 | #ifndef RecordDialog_H | ||
18 | #define RecordDialog_H | ||
19 | |||
17 | #include <qdialog.h> | 20 | #include <qdialog.h> |
18 | #include <qtextview.h> | 21 | #include <qtextview.h> |
@@ -41,3 +44,6 @@ private: | |||
41 | OProcess *record; | 44 | OProcess *record; |
42 | int where; | 45 | int where; |
43 | }; \ No newline at end of file | 46 | }; |
47 | |||
48 | #endif | ||
49 | |||