KDEUI
Go to the documentation of this file.
30 #include <QtGui/QFontDatabase>
31 #include <QtGui/QToolBar>
32 #include <QtGui/QToolButton>
40 class KFontSizeAction::Private
80 void KFontSizeAction::Private::init()
82 q->setEditable(
true );
84 const QList<int> sizes = fontDB.standardSizes();
86 for ( QList<int>::ConstIterator it = sizes.begin(); it != sizes.end(); ++it )
87 lst.append( QString::number( *it ) );
98 if (action->text() ==
test)
107 kWarning() <<
"KFontSizeAction: Size " << size <<
" is out of range";
116 QStringListIterator itemsIt(
items() );
117 while ( itemsIt.hasNext() )
118 lst.append( itemsIt.next().toInt() );
123 Q_FOREACH(
int it, lst ) {
148 #include "kfontsizeaction.moc"
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sun Apr 28 2013 14:26:11 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.