summaryrefslogtreecommitdiff
path: root/noncore/settings/appearance2
authorsandman <sandman>2002-10-01 20:59:06 (UTC)
committer sandman <sandman>2002-10-01 20:59:06 (UTC)
commit609b04531d5a1caae189397922eb0068aa0e2634 (patch) (side-by-side diff)
tree170ae3b543b48cf2007de7dc0b580778efce9a2f /noncore/settings/appearance2
parent2906826d9ebc268bc233f97956ee1dc5b338c69b (diff)
downloadopie-609b04531d5a1caae189397922eb0068aa0e2634.zip
opie-609b04531d5a1caae189397922eb0068aa0e2634.tar.gz
opie-609b04531d5a1caae189397922eb0068aa0e2634.tar.bz2
adjusted to new OFontSelector c'tor
Diffstat (limited to 'noncore/settings/appearance2') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/appearance2/appearance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/appearance2/appearance.cpp b/noncore/settings/appearance2/appearance.cpp
index a5d216c..e269aec 100644
--- a/noncore/settings/appearance2/appearance.cpp
+++ b/noncore/settings/appearance2/appearance.cpp
@@ -230,49 +230,49 @@ QWidget *Appearance::createDecoTab ( QWidget *parent )
loadDecos ( m_deco_list );
QString s = config. readEntry ( "Decoration" );
m_deco_list-> setCurrentItem ( m_deco_list-> findItem ( s ));
m_original_deco = m_deco_list-> currentItem ( );
if ( m_deco_list-> currentItem ( ) < 0 )
m_deco_list-> setCurrentItem ( 0 );
decoClicked ( m_original_deco );
connect( m_deco_list, SIGNAL( highlighted( int ) ), this, SLOT( decoClicked( int ) ) );
return tab;
}
QWidget *Appearance::createFontTab ( QWidget *parent )
{
Config config ( "qpe" );
config. setGroup ( "Appearance" );
QString familyStr = config.readEntry( "FontFamily", "Helvetica" );
QString styleStr = config.readEntry( "FontStyle", "Regular" );
int size = config.readNumEntry( "FontSize", 10 );
- m_fontselect = new OFontSelector ( parent, "FontTab" );
+ m_fontselect = new OFontSelector ( false, parent, "FontTab" );
m_fontselect-> setSelectedFont ( familyStr, styleStr, size );
connect( m_fontselect, SIGNAL( fontSelected ( const QFont & )),
this, SLOT( fontClicked ( const QFont & )));
return m_fontselect;
}
QWidget *Appearance::createColorTab ( QWidget *parent )
{
Config config ( "qpe" );
config. setGroup ( "Appearance" );
QWidget *tab = new QWidget( parent, "ColorTab" );
QGridLayout *gridLayout = new QGridLayout( tab, 0, 0, 4, 4 );
gridLayout->setRowStretch ( 3, 10 );
m_color_list = new QListBox ( tab );
gridLayout->addMultiCellWidget ( m_color_list, 0, 3, 0, 0 );
connect( m_color_list, SIGNAL( highlighted( int ) ), this, SLOT( colorClicked( int ) ) );
loadColors ( m_color_list );
m_color_list-> setCurrentItem ( 0 );