|
|
@ -72,7 +72,7 @@ TDEActionSelector::TDEActionSelector( TQWidget *parent, const char *name )
|
|
|
|
d->selectedInsertionPolicy = BelowCurrent;
|
|
|
|
d->selectedInsertionPolicy = BelowCurrent;
|
|
|
|
d->showUpDownButtons = true;
|
|
|
|
d->showUpDownButtons = true;
|
|
|
|
|
|
|
|
|
|
|
|
//int isz = IconSize( KIcon::Small );
|
|
|
|
//int isz = IconSize( TDEIcon::Small );
|
|
|
|
|
|
|
|
|
|
|
|
TQHBoxLayout *lo = new TQHBoxLayout( this );
|
|
|
|
TQHBoxLayout *lo = new TQHBoxLayout( this );
|
|
|
|
lo->setSpacing( KDialog::spacingHint() );
|
|
|
|
lo->setSpacing( KDialog::spacingHint() );
|
|
|
@ -148,7 +148,7 @@ TQListBox *TDEActionSelector::selectedListBox()
|
|
|
|
void TDEActionSelector::setButtonIcon( const TQString &icon, MoveButton button )
|
|
|
|
void TDEActionSelector::setButtonIcon( const TQString &icon, MoveButton button )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
int isz;
|
|
|
|
int isz;
|
|
|
|
if ( d->iconSize == SmallIcon ) isz = IconSize( KIcon::Small );
|
|
|
|
if ( d->iconSize == SmallIcon ) isz = IconSize( TDEIcon::Small );
|
|
|
|
else if ( d->iconSize == Small ) isz = 16;
|
|
|
|
else if ( d->iconSize == Small ) isz = 16;
|
|
|
|
else if ( d->iconSize == Medium ) isz = 22;
|
|
|
|
else if ( d->iconSize == Medium ) isz = 22;
|
|
|
|
else if ( d->iconSize == Large ) isz = 32;
|
|
|
|
else if ( d->iconSize == Large ) isz = 32;
|
|
|
@ -501,7 +501,7 @@ void TDEActionSelector::itemDoubleClicked( TQListBoxItem *item )
|
|
|
|
void TDEActionSelector::loadIcons()
|
|
|
|
void TDEActionSelector::loadIcons()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
int isz;
|
|
|
|
int isz;
|
|
|
|
if ( d->iconSize == SmallIcon ) isz = IconSize( KIcon::Small );
|
|
|
|
if ( d->iconSize == SmallIcon ) isz = IconSize( TDEIcon::Small );
|
|
|
|
else if ( d->iconSize == Small ) isz = 16;
|
|
|
|
else if ( d->iconSize == Small ) isz = 16;
|
|
|
|
else if ( d->iconSize == Medium ) isz = 22;
|
|
|
|
else if ( d->iconSize == Medium ) isz = 22;
|
|
|
|
else if ( d->iconSize == Large ) isz = 32;
|
|
|
|
else if ( d->iconSize == Large ) isz = 32;
|
|
|
|