summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--examples/simple-pim/simple.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/simple-pim/simple.cpp b/examples/simple-pim/simple.cpp
index d3ce2cc..00c5600 100644
--- a/examples/simple-pim/simple.cpp
+++ b/examples/simple-pim/simple.cpp
@@ -81,28 +81,28 @@ MainWindow::MainWindow(QWidget *parent, const char* name, WFlags fl )
this, SLOT(slotShow() ) );
/*
* We will change the date
*/
connect(m_dateAction, SIGNAL(activated() ),
this, SLOT(slotDate() ) );
/*
* connect the show signal of the PIMListView
* to a slot to show a dialog
*/
- connect(m_todoView, SIGNAL(showRecord(const OPimRecord&) ),
- this, SLOT(slotShowRecord(const OPimRecord&) ) );
- connect(m_dateView, SIGNAL(showRecord(const OPimRecord&) ),
- this, SLOT(slotShowRecord(const OPimRecord&) ) );
+ connect(m_todoView, SIGNAL(showRecord(const Opie::OPimRecord&) ),
+ this, SLOT(slotShowRecord(const Opie::OPimRecord&) ) );
+ connect(m_dateView, SIGNAL(showRecord(const Opie::OPimRecord&) ),
+ this, SLOT(slotShowRecord(const Opie::OPimRecord&) ) );
/*
* Now comes the important lines of code for this example
* We do not directly call load but delay loading until
* all Events are dispatches and handled.
* SO we will load once our window is mapped to screen
* to achieve that we use a QTimer::singleShot
* After 10 milli seconds the timer fires and on TimerEvent
* out slot slotLoad will be called
* Remember this a Constructor to construct your object and not
* to load
*/