clock/clockui/clockappcontroller/src/clockappcontroller.cpp
changeset 55 2c54b51f39c4
parent 45 b6db4fd4947b
child 57 bb2d3e476f29
equal deleted inserted replaced
51:0b38fc5b94c6 55:2c54b51f39c4
    41 	// Construct the view manager.
    41 	// Construct the view manager.
    42 	mViewManager = new ClockViewManager(*mIfImpl, this);
    42 	mViewManager = new ClockViewManager(*mIfImpl, this);
    43 	Q_ASSERT_X(
    43 	Q_ASSERT_X(
    44 			mViewManager, "clockappcontroller.cpp",
    44 			mViewManager, "clockappcontroller.cpp",
    45 			"ClockViewManager is 0");
    45 			"ClockViewManager is 0");
       
    46 	connect(mViewManager, SIGNAL(appReady()), this, SLOT(handleAppReady()));
    46 }
    47 }
    47 
    48 
    48 /*!
    49 /*!
    49 	Destructor.
    50 	Destructor.
    50  */
    51  */
    58 		delete mIfImpl;
    59 		delete mIfImpl;
    59 		mIfImpl = 0;
    60 		mIfImpl = 0;
    60 	}
    61 	}
    61 }
    62 }
    62 
    63 
       
    64 /*!
       
    65 	Emits the appReday signal.
       
    66  */
       
    67 void ClockAppController::handleAppReady()
       
    68 {
       
    69 	emit appReady();
       
    70 	disconnect(mViewManager, SIGNAL(appReady()), this, SLOT(handleAppReady()));
       
    71 }
       
    72 
    63 // End of file	--Don't remove this.
    73 // End of file	--Don't remove this.