Switch to unified view

a/dirbrowser/cdbrowser.h b/dirbrowser/cdbrowser.h
...
...
85
    };
85
    };
86
86
87
    // This is called when a new tab is created to browse a
87
    // This is called when a new tab is created to browse a
88
    // container. We have no server link yet.
88
    // container. We have no server link yet.
89
    void browseIn(QString UDN, vector<CtPathElt> path);
89
    void browseIn(QString UDN, vector<CtPathElt> path);
90
91
    std::string getServerUDN();
92
    const std::vector<CtPathElt>& getcurpath() {
93
        return m_curpath;
94
    }
95
    QPoint scrollpos();
90
96
91
 public slots:
97
 public slots:
92
    virtual void initialPage(bool redisplay = false);
98
    virtual void initialPage(bool redisplay = false);
93
    void onBrowseDone(int);
99
    void onBrowseDone(int);
94
    void onSliceAvailable(UPnPClient::UPnPDirContent *);
100
    void onSliceAvailable(UPnPClient::UPnPDirContent *);
...
...
137
    void doCreatePopupMenu();
143
    void doCreatePopupMenu();
138
    void runJS(const QString&);
144
    void runJS(const QString&);
139
    void updateAlphamap(char& curinitial, const std::string& tt);
145
    void updateAlphamap(char& curinitial, const std::string& tt);
140
    void maybeShowAlphamap(unsigned int nct);
146
    void maybeShowAlphamap(unsigned int nct);
141
    QString alphalinks(const string& initials);
147
    QString alphalinks(const string& initials);
148
    int serverFromUDN(const std::string& udn);
142
    
149
    
143
    static const std::string CTTitleStartMarker;
150
    static const std::string CTTitleStartMarker;
144
    static const std::string plContainerClass;
151
    static const std::string plContainerClass;
145
    void init_HTML();
152
    void init_HTML();
146
    static QString CTToHtml(unsigned int idx,
153
    static QString CTToHtml(unsigned int idx,