Changeset View
Changeset View
Standalone View
Standalone View
lib/entrylist.cpp
Show First 20 Lines • Show All 171 Lines • ▼ Show 20 Line(s) | 171 | { | |||
---|---|---|---|---|---|
172 | result += QStringLiteral( "<div class=\"UncommonHeader\">%1</div>" ).arg( i18n( "Uncommon" ) ); | 172 | result += QStringLiteral( "<div class=\"UncommonHeader\">%1</div>" ).arg( i18n( "Uncommon" ) ); | ||
173 | firstTimeUncommon = false; | 173 | firstTimeUncommon = false; | ||
174 | } | 174 | } | ||
175 | } | 175 | } | ||
176 | } | 176 | } | ||
177 | 177 | | |||
178 | if( length-- > 0 ) | 178 | if( length-- > 0 ) | ||
179 | { | 179 | { | ||
180 | result += QStringLiteral( "<div class=\"Entry\" index=\"%1\" dict=\"%2\">%3</div>" ) | 180 | result += QStringLiteral( "<div class=\"%1\" index=\"%2\" dict=\"%3\">%4</div>" ) | ||
181 | .arg( i % 2 == 0 ? "Entry" : "Entry odd" ) | ||||
181 | .arg( QString::number( i ) ) | 182 | .arg( QString::number( i ) ) | ||
182 | .arg( entry->getDictName() ) | 183 | .arg( entry->getDictName() ) | ||
183 | .arg( entry->toHTML() ); | 184 | .arg( entry->toHTML() ); | ||
184 | } | 185 | } | ||
185 | else | 186 | else | ||
186 | { | 187 | { | ||
187 | break; | 188 | break; | ||
188 | } | 189 | } | ||
▲ Show 20 Lines • Show All 140 Lines • Show Last 20 Lines |