Fix regressions
[kphotoalbum.git] / MainWindow / BreadcrumbViewer.h
blob7316ac28d7f005c49b6ede8e5022736ec02380a2
1 #ifndef BREADCRUMBVIEWER_H
2 #define BREADCRUMBVIEWER_H
3 #include <QLabel>
4 #include <Browser/BreadcrumbList.h>
6 class BreadcrumbViewer :public QLabel
8 Q_OBJECT
10 public:
11 BreadcrumbViewer();
12 OVERRIDE QSize minimumSizeHint() const;
14 public slots:
15 void setBreadcrumbs( const Browser::BreadcrumbList& list );
17 signals:
18 void widenToBreadcrumb( const Browser::Breadcrumb& );
20 protected:
21 OVERRIDE void resizeEvent( QResizeEvent* event );
23 private slots:
24 void linkClicked( const QString& link );
26 private:
27 void updateText();
29 private:
30 Browser::BreadcrumbList _activeCrumbs;
33 #endif /* BREADCRUMBVIEWER_H */