KDEUI
Go to the documentation of this file.
31 #include <QtGui/QToolBar>
40 class KFontAction::KFontActionPrivate
49 void _k_slotFontChanged(
const QFont &
font)
51 kDebug(129) <<
"KFontComboBox - slotFontChanged("
52 << font.family() <<
") settingFont=" << settingFont;
56 q->setFont(font.family());
57 q->triggered(font.family());
59 kDebug(129) <<
"\tslotFontChanged done";
86 :
KSelectAction(text, parent), d(new KFontActionPrivate(this))
95 :
KSelectAction(icon, text, parent), d(new KFontActionPrivate(this))
115 kDebug(129) <<
"KFontAction::createWidget()";
117 #warning FIXME: items need to be converted
129 connect( cb, SIGNAL(currentFontChanged(
QFont)), SLOT(_k_slotFontChanged(
QFont)) );
130 cb->setMinimumWidth( cb->
sizeHint().width() );
139 kDebug(129) <<
"KFontAction::setFont(" << family <<
")";
144 foreach(
QWidget *w, createdWidgets())
147 kDebug(129) <<
"\tw=" << w <<
"cb=" << cb;
152 kDebug(129) <<
"\t\tw spit back=" << cb->currentFont().family();
157 kDebug(129) <<
"\tcalling setCurrentAction()";
159 QString lowerName = family.toLower();
163 int i = lowerName.indexOf(
" [");
166 lowerName = lowerName.left(i);
178 kDebug(129) <<
"Font not found " << family.toLower();
181 #include "kfontaction.moc"
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Thu Feb 21 2013 11:06:47 by
doxygen 1.8.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.