Changeset View
Changeset View
Standalone View
Standalone View
views/kpUnzoomedThumbnailView.cpp
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Line(s) | 50 | kpUnzoomedThumbnailView::kpUnzoomedThumbnailView ( | |||
---|---|---|---|---|---|
58 | : kpThumbnailView (document, toolToolBar, viewManager, | 58 | : kpThumbnailView (document, toolToolBar, viewManager, | ||
59 | buddyView, | 59 | buddyView, | ||
60 | scrollableContainer, | 60 | scrollableContainer, | ||
61 | parent), | 61 | parent), | ||
62 | d (new kpUnzoomedThumbnailViewPrivate ()) | 62 | d (new kpUnzoomedThumbnailViewPrivate ()) | ||
63 | { | 63 | { | ||
64 | if (buddyViewScrollableContainer ()) | 64 | if (buddyViewScrollableContainer ()) | ||
65 | { | 65 | { | ||
66 | connect (buddyViewScrollableContainer (), | 66 | connect (buddyViewScrollableContainer(), &kpViewScrollableContainer::contentsMoved, | ||
67 | SIGNAL (contentsMoved()), | 67 | this, &kpUnzoomedThumbnailView::adjustToEnvironment); | ||
68 | this, | | |||
69 | SLOT (adjustToEnvironment())); | | |||
70 | } | 68 | } | ||
71 | 69 | | |||
72 | // Call to virtual function - this is why the class is sealed | 70 | // Call to virtual function - this is why the class is sealed | ||
73 | adjustToEnvironment (); | 71 | adjustToEnvironment (); | ||
74 | } | 72 | } | ||
75 | 73 | | |||
76 | //--------------------------------------------------------------------- | 74 | //--------------------------------------------------------------------- | ||
77 | 75 | | |||
▲ Show 20 Lines • Show All 140 Lines • Show Last 20 Lines |