diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-08-04 09:47:00 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-08-04 09:47:00 (GMT) |
commit | 7ff5fd86376714aa4de5dae7e8ef7576d69b5feb (patch) | |
tree | 0221d8e4fbd6083060c8e9e07bab8e8f6ce2a60a /src/s60main/qts60mainapplication.cpp | |
parent | fbe7f34f46de3e0732489c0043f89cc5aa535ecb (diff) | |
download | Qt-7ff5fd86376714aa4de5dae7e8ef7576d69b5feb.zip Qt-7ff5fd86376714aa4de5dae7e8ef7576d69b5feb.tar.gz Qt-7ff5fd86376714aa4de5dae7e8ef7576d69b5feb.tar.bz2 |
Applied Qt coding conventions for s60main
Diffstat (limited to 'src/s60main/qts60mainapplication.cpp')
-rw-r--r-- | src/s60main/qts60mainapplication.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/s60main/qts60mainapplication.cpp b/src/s60main/qts60mainapplication.cpp index 2fada3d..ed7ae22 100644 --- a/src/s60main/qts60mainapplication.cpp +++ b/src/s60main/qts60mainapplication.cpp @@ -49,7 +49,7 @@ // ============================ MEMBER FUNCTIONS =============================== -_LIT( KQtWrapperResourceFile,"\\resource\\apps\\s60main.rsc" ); +_LIT(KQtWrapperResourceFile, "\\resource\\apps\\s60main.rsc"); // ----------------------------------------------------------------------------- // CQtS60MainApplication::CreateDocumentL() @@ -57,10 +57,10 @@ _LIT( KQtWrapperResourceFile,"\\resource\\apps\\s60main.rsc" ); // ----------------------------------------------------------------------------- // CApaDocument* CQtS60MainApplication::CreateDocumentL() - { +{ // Create an QtS60Main document, and return a pointer to it - return (static_cast<CApaDocument*>( CQtS60MainDocument::NewL( *this ) ) ); - } + return (static_cast<CApaDocument*>(CQtS60MainDocument::NewL(*this))); +} // ----------------------------------------------------------------------------- // CQtS60MainApplication::AppDllUid() @@ -68,10 +68,10 @@ CApaDocument* CQtS60MainApplication::CreateDocumentL() // ----------------------------------------------------------------------------- // TUid CQtS60MainApplication::AppDllUid() const - { +{ // Return the UID for the QtS60Main application return ProcessUid(); - } +} // ----------------------------------------------------------------------------- // CQtS60MainApplication::ResourceFileName() @@ -79,13 +79,13 @@ TUid CQtS60MainApplication::AppDllUid() const // ----------------------------------------------------------------------------- // TFileName CQtS60MainApplication::ResourceFileName() const - { +{ TFindFile finder(iCoeEnv->FsSession()); TInt err = finder.FindByDir(KQtWrapperResourceFile, KNullDesC); if (err == KErrNone) return finder.File(); return KNullDesC(); - } +} // End of File |