~klimczak-k/beaver-feeds/server

« back to all changes in this revision

Viewing changes to database_plugins/postgresql/postgresql.cpp

  • Committer: Krzysztof Klimczak
  • Date: 2011-01-31 05:44:57 UTC
  • Revision ID: klimczak.k@gmail.com-20110131054457-39goidzjg9qs26u2
*keys and default values of setting now stored in one place
*moved starting listening and connecting to db from main.cpp to MyApp

*testing connection with RSS channel

Show diffs side-by-side

added added

removed removed

Lines of Context:
196
196
                //should be repairDatabase
197
197
        }
198
198
 
199
 
        //connect(m_pConnector, SIGNAL(dataReaded(QByteArray)), this,
200
 
        //              SLOT(parseData(QByteArray)) );
201
 
 
202
 
        //m_pConnector->connectToUrl("http://www.rmf.fm/rss/rss.xml");
203
 
 
204
 
 
205
199
        return true;
206
200
}
207
201
 
616
610
                                           .arg(m_prefix) );
617
611
                query.addBindValue( id );
618
612
                query.addBindValue( news );
619
 
                query.addBindValue( static_cast<int>(time) );
 
613
                query.addBindValue( static_cast<uint>(time) );
620
614
 
621
615
                if( !query.exec() ){
622
616
                        db.rollback();