summaryrefslogtreecommitdiffstats
path: root/src/s60main/qts60maindocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/s60main/qts60maindocument.cpp')
-rw-r--r--src/s60main/qts60maindocument.cpp43
1 files changed, 21 insertions, 22 deletions
diff --git a/src/s60main/qts60maindocument.cpp b/src/s60main/qts60maindocument.cpp
index eb7ea42..77d5cc8 100644
--- a/src/s60main/qts60maindocument.cpp
+++ b/src/s60main/qts60maindocument.cpp
@@ -51,25 +51,25 @@
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
-CQtS60MainDocument* CQtS60MainDocument::NewL( CEikApplication& aApp )
- {
- CQtS60MainDocument* self = NewLC( aApp );
- CleanupStack::Pop( self );
+CQtS60MainDocument* CQtS60MainDocument::NewL(CEikApplication& aApp)
+{
+ CQtS60MainDocument* self = NewLC(aApp);
+ CleanupStack::Pop(self);
return self;
- }
+}
// -----------------------------------------------------------------------------
// CQtS60MainDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
-CQtS60MainDocument* CQtS60MainDocument::NewLC( CEikApplication& aApp )
- {
- CQtS60MainDocument* self = new ( ELeave ) CQtS60MainDocument( aApp );
- CleanupStack::PushL( self );
+CQtS60MainDocument* CQtS60MainDocument::NewLC(CEikApplication& aApp)
+{
+ CQtS60MainDocument* self = new(ELeave) CQtS60MainDocument(aApp);
+ CleanupStack::PushL(self);
self->ConstructL();
return self;
- }
+}
// -----------------------------------------------------------------------------
// CQtS60MainDocument::ConstructL()
@@ -77,20 +77,20 @@ CQtS60MainDocument* CQtS60MainDocument::NewLC( CEikApplication& aApp )
// -----------------------------------------------------------------------------
//
void CQtS60MainDocument::ConstructL()
- {
+{
// No implementation required
- }
+}
// -----------------------------------------------------------------------------
// CQtS60MainDocument::CQtS60MainDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
-CQtS60MainDocument::CQtS60MainDocument( CEikApplication& aApp )
- : CAknDocument( aApp )
- {
+CQtS60MainDocument::CQtS60MainDocument(CEikApplication& aApp)
+ : CAknDocument(aApp)
+{
// No implementation required
- }
+}
// ---------------------------------------------------------------------------
// CQtS60MainDocument::~CQtS60MainDocument()
@@ -98,9 +98,9 @@ CQtS60MainDocument::CQtS60MainDocument( CEikApplication& aApp )
// ---------------------------------------------------------------------------
//
CQtS60MainDocument::~CQtS60MainDocument()
- {
+{
// No implementation required
- }
+}
// ---------------------------------------------------------------------------
// CQtS60MainDocument::CreateAppUiL()
@@ -108,11 +108,10 @@ CQtS60MainDocument::~CQtS60MainDocument()
// ---------------------------------------------------------------------------
//
CEikAppUi* CQtS60MainDocument::CreateAppUiL()
- {
+{
// Create the application user interface, and return a pointer to it;
// the framework takes ownership of this object
- return ( static_cast <CEikAppUi*> ( new ( ELeave )CQtS60MainAppUi ) );
- }
+ return (static_cast <CEikAppUi*>(new(ELeave)CQtS60MainAppUi));
+}
// End of File
-