author | zecke <zecke> | 2004-03-14 17:00:46 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-14 17:00:46 (UTC) |
commit | 52169e2469a1edcca986e9f0404c3ca815d5833b (patch) (unidiff) | |
tree | 9c6651125f29fe63df33fe56b352d3288b2ea8df | |
parent | 59106c8ffcf25181925281c519a2b49d6835ef9e (diff) | |
download | opie-52169e2469a1edcca986e9f0404c3ca815d5833b.zip opie-52169e2469a1edcca986e9f0404c3ca815d5833b.tar.gz opie-52169e2469a1edcca986e9f0404c3ca815d5833b.tar.bz2 |
Change Signature of Signals to obey namespace
Make example compile
-rw-r--r-- | libopie2/examples/opieui/osplitter_example/osplitter_example.cpp | 1 | ||||
-rw-r--r-- | libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.cpp | 1 | ||||
-rw-r--r-- | libopie2/opiecore/oprocess.h | 12 | ||||
-rw-r--r-- | libopie2/opienet/opcap.h | 2 | ||||
-rw-r--r-- | libopie2/opieui/opopupmenu.h | 2 | ||||
-rw-r--r-- | libopie2/opieui/otimepicker.h | 3 | ||||
-rw-r--r-- | libopie2/opieui/oversatileview.h | 48 |
7 files changed, 34 insertions, 35 deletions
diff --git a/libopie2/examples/opieui/osplitter_example/osplitter_example.cpp b/libopie2/examples/opieui/osplitter_example/osplitter_example.cpp index 4a1468d..07c7e51 100644 --- a/libopie2/examples/opieui/osplitter_example/osplitter_example.cpp +++ b/libopie2/examples/opieui/osplitter_example/osplitter_example.cpp | |||
@@ -14,2 +14,3 @@ | |||
14 | using namespace Opie::Ui; | 14 | using namespace Opie::Ui; |
15 | using namespace Opie::Core; | ||
15 | 16 | ||
diff --git a/libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.cpp b/libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.cpp index 50cc11b..272e42b 100644 --- a/libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.cpp +++ b/libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.cpp | |||
@@ -21,2 +21,3 @@ | |||
21 | 21 | ||
22 | using namespace Opie::Core; | ||
22 | using namespace Opie::Ui; | 23 | using namespace Opie::Ui; |
diff --git a/libopie2/opiecore/oprocess.h b/libopie2/opiecore/oprocess.h index eb56b03..e23f98c 100644 --- a/libopie2/opiecore/oprocess.h +++ b/libopie2/opiecore/oprocess.h | |||
@@ -103,4 +103,4 @@ class OProcessPrivate; | |||
103 | **proc << "These" << "are" << "the" << "command" << "line" << "args"; | 103 | **proc << "These" << "are" << "the" << "command" << "line" << "args"; |
104 | *QApplication::connect(proc, SIGNAL(processExited(OProcess *)), | 104 | *QApplication::connect(proc, SIGNAL(processExited(Opie::Core::OProcess *)), |
105 | * pointer_to_my_object, SLOT(my_objects_slot(OProcess *))); | 105 | * pointer_to_my_object, SLOT(my_objects_slot(Opie::Core::OProcess *))); |
106 | *proc->start(); | 106 | *proc->start(); |
@@ -482,3 +482,3 @@ signals: | |||
482 | **/ | 482 | **/ |
483 | void processExited( OProcess *proc ); | 483 | void processExited( Opie::Core::OProcess *proc ); |
484 | 484 | ||
@@ -499,3 +499,3 @@ signals: | |||
499 | **/ | 499 | **/ |
500 | void receivedStdout( OProcess *proc, char *buffer, int buflen ); | 500 | void receivedStdout( Opie::Core::OProcess *proc, char *buffer, int buflen ); |
501 | 501 | ||
@@ -532,3 +532,3 @@ signals: | |||
532 | */ | 532 | */ |
533 | void receivedStderr( OProcess *proc, char *buffer, int buflen ); | 533 | void receivedStderr( Opie::Core::OProcess *proc, char *buffer, int buflen ); |
534 | 534 | ||
@@ -539,3 +539,3 @@ signals: | |||
539 | **/ | 539 | **/ |
540 | void wroteStdin( OProcess *proc ); | 540 | void wroteStdin( Opie::Core::OProcess *proc ); |
541 | 541 | ||
diff --git a/libopie2/opienet/opcap.h b/libopie2/opienet/opcap.h index dc609a3..72a78de 100644 --- a/libopie2/opienet/opcap.h +++ b/libopie2/opienet/opcap.h | |||
@@ -700,3 +700,3 @@ class OPacketCapturer : public QObject | |||
700 | */ | 700 | */ |
701 | void receivedPacket( OPacket* ); | 701 | void receivedPacket( Opie::Net::OPacket* ); |
702 | 702 | ||
diff --git a/libopie2/opieui/opopupmenu.h b/libopie2/opieui/opopupmenu.h index 419a954..294edcc 100644 --- a/libopie2/opieui/opopupmenu.h +++ b/libopie2/opieui/opopupmenu.h | |||
@@ -236,3 +236,3 @@ signals: | |||
236 | */ | 236 | */ |
237 | void aboutToShowContextMenu(OPopupMenu* menu, int menuItem, QPopupMenu* ctxMenu); | 237 | void aboutToShowContextMenu(Opie::Ui::OPopupMenu* menu, int menuItem, QPopupMenu* ctxMenu); |
238 | 238 | ||
diff --git a/libopie2/opieui/otimepicker.h b/libopie2/opieui/otimepicker.h index 01bb557..fb20781 100644 --- a/libopie2/opieui/otimepicker.h +++ b/libopie2/opieui/otimepicker.h | |||
@@ -127,6 +127,3 @@ private: | |||
127 | #error "Fix the UI File to use namespaces" | 127 | #error "Fix the UI File to use namespaces" |
128 | #else | ||
129 | typedef Opie::Ui::OTimePicker OUIOTimePicker; | ||
130 | #endif | 128 | #endif |
131 | #endif | 129 | #endif |
132 | |||
diff --git a/libopie2/opieui/oversatileview.h b/libopie2/opieui/oversatileview.h index 61b61db..8cba65c 100644 --- a/libopie2/opieui/oversatileview.h +++ b/libopie2/opieui/oversatileview.h | |||
@@ -149,3 +149,3 @@ class OVersatileView : public QWidgetStack | |||
149 | 149 | ||
150 | void contextMenuRequested( OVersatileViewItem * item, const QPoint& pos, int col ); | 150 | void contextMenuRequested( Opie::Ui::OVersatileViewItem * item, const QPoint& pos, int col ); |
151 | 151 | ||
@@ -238,4 +238,4 @@ public: | |||
238 | signals: | 238 | signals: |
239 | void expanded( OVersatileViewItem *item ); // QListView | 239 | void expanded( Opie::Ui::OVersatileViewItem *item ); // QListView |
240 | void collapsed( OVersatileViewItem *item ); // QListView | 240 | void collapsed( Opie::Ui::OVersatileViewItem *item ); // QListView |
241 | 241 | ||
@@ -299,4 +299,4 @@ public: | |||
299 | void moved(); // QIconView | 299 | void moved(); // QIconView |
300 | void itemRenamed( OVersatileViewItem *item, const QString & ); // QIconView | 300 | void itemRenamed( Opie::Ui::OVersatileViewItem *item, const QString & ); // QIconView |
301 | void itemRenamed( OVersatileViewItem *item ); // QIconView | 301 | void itemRenamed( Opie::Ui::OVersatileViewItem *item ); // QIconView |
302 | 302 | ||
@@ -342,11 +342,11 @@ public: | |||
342 | void selectionChanged(); | 342 | void selectionChanged(); |
343 | void selectionChanged( OVersatileViewItem * ); | 343 | void selectionChanged( Opie::Ui::OVersatileViewItem * ); |
344 | void currentChanged( OVersatileViewItem * ); | 344 | void currentChanged( Opie::Ui::OVersatileViewItem * ); |
345 | void clicked( OVersatileViewItem * ); | 345 | void clicked( Opie::Ui::OVersatileViewItem * ); |
346 | void pressed( OVersatileViewItem * ); | 346 | void pressed( Opie::Ui::OVersatileViewItem * ); |
347 | 347 | ||
348 | void doubleClicked( OVersatileViewItem * ); | 348 | void doubleClicked( Opie::Ui::OVersatileViewItem * ); |
349 | void returnPressed( OVersatileViewItem * ); | 349 | void returnPressed( Opie::Ui::OVersatileViewItem * ); |
350 | 350 | ||
351 | void onItem( OVersatileViewItem * ); | 351 | void onItem( Opie::Ui::OVersatileViewItem * ); |
352 | void onViewport(); | 352 | void onViewport(); |
@@ -375,19 +375,19 @@ public: | |||
375 | signals: | 375 | signals: |
376 | void clicked( OVersatileViewItem *, const QPoint &, int ); // QListView | 376 | void clicked( Opie::Ui::OVersatileViewItem *, const QPoint &, int ); // QListView |
377 | void clicked( OVersatileViewItem *, const QPoint & ); // QIconView | 377 | void clicked( Opie::Ui::OVersatileViewItem *, const QPoint & ); // QIconView |
378 | 378 | ||
379 | void pressed( OVersatileViewItem *, const QPoint &, int ); // QListView | 379 | void pressed( Opie::Ui::OVersatileViewItem *, const QPoint &, int ); // QListView |
380 | void pressed( OVersatileViewItem *, const QPoint & ); // QIconView | 380 | void pressed( Opie::Ui::OVersatileViewItem *, const QPoint & ); // QIconView |
381 | 381 | ||
382 | void rightButtonClicked( OVersatileViewItem* item, const QPoint& pos ); // QIconView | 382 | void rightButtonClicked( Opie::Ui::OVersatileViewItem* item, const QPoint& pos ); // QIconView |
383 | void rightButtonClicked( OVersatileViewItem *, const QPoint&, int ); // QListView | 383 | void rightButtonClicked( Opie::Ui::OVersatileViewItem *, const QPoint&, int ); // QListView |
384 | 384 | ||
385 | void rightButtonPressed( OVersatileViewItem* item, const QPoint& pos ); // QIconView | 385 | void rightButtonPressed( Opie::Ui::OVersatileViewItem* item, const QPoint& pos ); // QIconView |
386 | void rightButtonPressed( OVersatileViewItem *, const QPoint&, int ); // QListView | 386 | void rightButtonPressed( Opie::Ui::OVersatileViewItem *, const QPoint&, int ); // QListView |
387 | 387 | ||
388 | void mouseButtonPressed( int, OVersatileViewItem *, const QPoint& , int ); // QListView | 388 | void mouseButtonPressed( int, Opie::Ui::OVersatileViewItem *, const QPoint& , int ); // QListView |
389 | void mouseButtonPressed( int button, OVersatileViewItem* item, const QPoint& pos ); // QIconView | 389 | void mouseButtonPressed( int button, Opie::Ui::OVersatileViewItem* item, const QPoint& pos ); // QIconView |
390 | 390 | ||
391 | void mouseButtonClicked( int, OVersatileViewItem *, const QPoint&, int ); // QListView | 391 | void mouseButtonClicked( int, Opie::Ui::OVersatileViewItem *, const QPoint&, int ); // QListView |
392 | void mouseButtonClicked( int button, OVersatileViewItem* item, const QPoint& pos ); // QIconView | 392 | void mouseButtonClicked( int button, Opie::Ui::OVersatileViewItem* item, const QPoint& pos ); // QIconView |
393 | 393 | ||