Changeset View
Changeset View
Standalone View
Standalone View
krusader/GUI/krtreewidget.cpp
Context not available. | |||||
20 | 20 | | |||
---|---|---|---|---|---|
21 | #include "krtreewidget.h" | 21 | #include "krtreewidget.h" | ||
22 | #include "krstyleproxy.h" | 22 | #include "krstyleproxy.h" | ||
23 | #include "../compat.h" | ||||
23 | 24 | | |||
24 | // QtGui | 25 | // QtGui | ||
25 | #include <QContextMenuEvent> | 26 | #include <QContextMenuEvent> | ||
Context not available. | |||||
162 | QString tip = item->text(column); | 163 | QString tip = item->text(column); | ||
163 | 164 | | |||
164 | int textMargin = QApplication::style()->pixelMetric(QStyle::PM_FocusFrameHMargin) + 1; | 165 | int textMargin = QApplication::style()->pixelMetric(QStyle::PM_FocusFrameHMargin) + 1; | ||
165 | int requiredWidth = QFontMetrics(font()).width(tip) + 2 * textMargin; | 166 | int requiredWidth = QFontMetrics(font()).QFONTMETRICS_WIDTH(tip) + 2 * textMargin; | ||
166 | 167 | | |||
167 | if (column == 0 && indentation()) { | 168 | if (column == 0 && indentation()) { | ||
168 | int level = 0; | 169 | int level = 0; | ||
Context not available. |