/[projects]/infoscreen/MainView.cpp
ViewVC logotype

Diff of /infoscreen/MainView.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 525 by torben, Tue Jan 5 14:03:06 2010 UTC revision 526 by torben, Tue Jan 5 17:19:02 2010 UTC
# Line 20  MainView::MainView(QWidget* parent) Line 20  MainView::MainView(QWidget* parent)
20          this->resize(400,400);          this->resize(400,400);
21          this->setWindowState( Qt::WindowFullScreen );          this->setWindowState( Qt::WindowFullScreen );
22    
23  //      qApp->setOverrideCursor( QCursor( Qt::BlankCursor) );          qApp->setOverrideCursor( QCursor( Qt::BlankCursor) );
24    
25                    
26          //Phonon::VideoPlayer* video;          //Phonon::VideoPlayer* video;
# Line 66  void MainView::onTimer() Line 66  void MainView::onTimer()
66          int t = count / 10;          int t = count / 10;
67          qDebug() << t;          qDebug() << t;
68          if ( (t%2) == 0) {          if ( (t%2) == 0) {
69              picture->loadFromUrl("http://10.210.210.200/infoscreens/data/images/image1.jpg");              picture->loadFromUrl("http://87.104.25.138/infoscreens/data/images/image1.jpg");
70          } else {          } else {
71              picture->loadFromUrl("http://10.210.210.200/infoscreens/data/images/image2.jpg");              picture->loadFromUrl("http://87.104.25.138/infoscreens/data/images/image2.jpg");
72          }          }
73      }      }
74      count++;      count++;

Legend:
Removed from v.525  
changed lines
  Added in v.526

  ViewVC Help
Powered by ViewVC 1.1.20