/[projects]/infoscreen/webview.h
ViewVC logotype

Diff of /infoscreen/webview.h

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

revision 507 by torben, Fri Dec 11 22:15:18 2009 UTC revision 535 by torben, Fri Jan 8 09:20:37 2010 UTC
# Line 1  Line 1 
1  #include <QApplication>  
2    #ifndef MYWEBVIEW_H
3    #define MYWEBVIEW_H
4    
5  #include <QtWebKit>  #include <QtWebKit>
 #include <QDesktopWidget>  
 #include <iostream>  
 #include <stdexcept>  
6    
7    
8  class MyWebView : public QWebView  class MyWebView : public QWebView
9  {  {
10          Q_OBJECT      Q_OBJECT
11  public:  public:
12          MyWebView(QWidget* parent);      MyWebView(QWidget* parent);
13    
14          virtual void show();      void start(QString url, QString screenid);
15    
16          void showError(const char* msg);      void showError(const char* msg);
17    
18          QString generateUrl();      QString generateUrl(QString url, QString screenid);
19  public slots:  public slots:
20          void test();      void onChange(bool success);
21          void onTimer();      void onTimer();
22  };  };
23    
24    #endif //MYWEBVIEW_H

Legend:
Removed from v.507  
changed lines
  Added in v.535

  ViewVC Help
Powered by ViewVC 1.1.20