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
130 connect( cb, SIGNAL(currentFontChanged(
QFont)), SLOT(_k_slotFontChanged(
QFont)) );
131 cb->setMinimumWidth( cb->
sizeHint().width() );
140 kDebug(129) <<
"KFontAction::setFont(" << family <<
")";
145 foreach(
QWidget *w, createdWidgets())
148 kDebug(129) <<
"\tw=" << w <<
"cb=" << cb;
153 kDebug(129) <<
"\t\tw spit back=" << cb->currentFont().family();
158 kDebug(129) <<
"\tcalling setCurrentAction()";
160 QString lowerName = family.toLower();
164 int i = lowerName.indexOf(
" [");
167 lowerName = lowerName.left(i);
179 kDebug(129) <<
"Font not found " << family.toLower();
182 #include "kfontaction.moc"
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Wed Mar 20 2013 07:17:33 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.