~ubuntu-branches/ubuntu/lucid/skrooge/lucid

« back to all changes in this revision

Viewing changes to skgbasemodeler/skgservices.h

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Mercatante
  • Date: 2009-05-02 06:47:15 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090502064715-b7l4eciitw3asos3
Tags: 0.2.7-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
        };
115
115
 
116
116
        /**
 
117
         * Get environment variable
 
118
         * @param iAttribute name of the variable
 
119
         * @return value of the variable
 
120
         */
 
121
        static QString getenv(const QString& iAttribute);
 
122
 
 
123
        /**
117
124
        * Convert a integer into a QString
118
125
        * @param iNumber the integer to convert
119
126
        * @return the converted QString
231
238
        /**
232
239
         * Copy a sqlite database from memory to file or from file to memory.
233
240
         * It's used to do a load or a save
234
 
         * @param iFileDbFile the filename of a sqlite database
235
241
         * @param iFileDb the sqlite pointer corresponding to iFileDbFile
236
242
         * @param iMemoryDb the sqlite pointer corresponding to  memory database
237
243
         * @param iFromFileToMemory
240
246
         * @return An object managing the error
241
247
         *   @see SKGError
242
248
         */
243
 
        static SKGError copySqliteDatabase(const QString& iFileDbFile, QSqlDatabase* iFileDb, QSqlDatabase* iMemoryDb, bool iFromFileToMemory);
 
249
        static SKGError copySqliteDatabase(QSqlDatabase* iFileDb, QSqlDatabase* iMemoryDb, bool iFromFileToMemory);
244
250
 
245
251
        /**
246
252
         * Execute a sqlite order