Subversion Repositories svn1-original

Rev

Rev 287 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 287 Rev 292
Line 23... Line 23...
23
    explicit QmReportWindow(QWidget *parent = 0);
23
    explicit QmReportWindow(QWidget *parent = 0);
24
    ~QmReportWindow();
24
    ~QmReportWindow();
25
    void addReport(const QString &report, const QString &name);
25
    void addReport(const QString &report, const QString &name);
26
    static QmWebView *newTab(void);
26
    static QmWebView *newTab(void);
27
    static void setTabName(const int tab,const QString &name);
27
    static void setTabName(const int tab,const QString &name);
-
 
28
    static void updateTabPath(void);
28
 
29
 
29
private:
30
private:
30
    QTabWidget *tabWidget;
31
    QTabWidget *tabWidget;
31
    QLineEdit *tabPath;
32
    QLineEdit *tabPath;
32
    QAction *pb_original;
33
    QAction *pb_original;
Line 89... Line 90...
89
 
90
 
90
    private slots:
91
    private slots:
91
        void lurlChanged ( const QUrl & url )
92
        void lurlChanged ( const QUrl & url )
92
        {
93
        {
93
            //qDebug("urlChanged:%s", qPrintable(url.toString()));
94
            //qDebug("urlChanged:%s", qPrintable(url.toString()));
-
 
95
            QmReportWindow::updateTabPath();
94
 
96
 
95
            // If the home URL has never been set
97
            // If the home URL has never been set
96
            if (homeUrl.isEmpty())
98
            if (homeUrl.isEmpty())
97
            {
99
            {
98
                // Convert URL to string and remove any tag from the end of it
100
                // Convert URL to string and remove any tag from the end of it