@ -103,37 +103,37 @@ KBudgetView::KBudgetView(TQWidget *parent, const char *name ) :
m_accountTree - > setSorting ( - 1 ) ;
m_accountTree - > setSorting ( - 1 ) ;
m_budgetList - > setSorting ( 0 ) ;
m_budgetList - > setSorting ( 0 ) ;
K IconLoader* il = TDEGlobal : : iconLoader ( ) ;
TDE IconLoader* il = TDEGlobal : : iconLoader ( ) ;
KGuiItem newButtenItem ( TQString ( " " ) ,
KGuiItem newButtenItem ( TQString ( " " ) ,
TQIconSet ( il - > loadIcon ( " file_new " , KIcon: : Small , K Icon: : SizeSmall ) ) ,
TQIconSet ( il - > loadIcon ( " file_new " , TDEIcon: : Small , TDE Icon: : SizeSmall ) ) ,
i18n ( " Creates a new budget " ) ,
i18n ( " Creates a new budget " ) ,
i18n ( " Use this to create a new empty budget. " ) ) ;
i18n ( " Use this to create a new empty budget. " ) ) ;
m_newButton - > setGuiItem ( newButtenItem ) ;
m_newButton - > setGuiItem ( newButtenItem ) ;
TQToolTip : : add ( m_newButton , newButtenItem . toolTip ( ) ) ;
TQToolTip : : add ( m_newButton , newButtenItem . toolTip ( ) ) ;
KGuiItem renameButtenItem ( TQString ( " " ) ,
KGuiItem renameButtenItem ( TQString ( " " ) ,
TQIconSet ( il - > loadIcon ( " editpaste " , KIcon: : Small , K Icon: : SizeSmall ) ) ,
TQIconSet ( il - > loadIcon ( " editpaste " , TDEIcon: : Small , TDE Icon: : SizeSmall ) ) ,
i18n ( " Rename the current selected budget " ) ,
i18n ( " Rename the current selected budget " ) ,
i18n ( " Use this to start renaming the selected budget. " ) ) ;
i18n ( " Use this to start renaming the selected budget. " ) ) ;
m_renameButton - > setGuiItem ( renameButtenItem ) ;
m_renameButton - > setGuiItem ( renameButtenItem ) ;
TQToolTip : : add ( m_renameButton , renameButtenItem . toolTip ( ) ) ;
TQToolTip : : add ( m_renameButton , renameButtenItem . toolTip ( ) ) ;
KGuiItem deleteButtenItem ( TQString ( " " ) ,
KGuiItem deleteButtenItem ( TQString ( " " ) ,
TQIconSet ( il - > loadIcon ( " editdelete " , KIcon: : Small , K Icon: : SizeSmall ) ) ,
TQIconSet ( il - > loadIcon ( " editdelete " , TDEIcon: : Small , TDE Icon: : SizeSmall ) ) ,
i18n ( " Delete the current selected budget " ) ,
i18n ( " Delete the current selected budget " ) ,
i18n ( " Use this to delete the selected budget. " ) ) ;
i18n ( " Use this to delete the selected budget. " ) ) ;
m_deleteButton - > setGuiItem ( deleteButtenItem ) ;
m_deleteButton - > setGuiItem ( deleteButtenItem ) ;
TQToolTip : : add ( m_deleteButton , deleteButtenItem . toolTip ( ) ) ;
TQToolTip : : add ( m_deleteButton , deleteButtenItem . toolTip ( ) ) ;
KGuiItem updateButtenItem ( TQString ( " " ) ,
KGuiItem updateButtenItem ( TQString ( " " ) ,
TQIconSet ( il - > loadIcon ( " button_ok " , KIcon: : Small , K Icon: : SizeSmall ) ) ,
TQIconSet ( il - > loadIcon ( " button_ok " , TDEIcon: : Small , TDE Icon: : SizeSmall ) ) ,
i18n ( " Accepts the entered values and stores the budget " ) ,
i18n ( " Accepts the entered values and stores the budget " ) ,
i18n ( " Use this to store the modified data. " ) ) ;
i18n ( " Use this to store the modified data. " ) ) ;
m_updateButton - > setGuiItem ( updateButtenItem ) ;
m_updateButton - > setGuiItem ( updateButtenItem ) ;
TQToolTip : : add ( m_updateButton , updateButtenItem . toolTip ( ) ) ;
TQToolTip : : add ( m_updateButton , updateButtenItem . toolTip ( ) ) ;
KGuiItem resetButtenItem ( TQString ( " " ) ,
KGuiItem resetButtenItem ( TQString ( " " ) ,
TQIconSet ( il - > loadIcon ( " undo " , KIcon: : Small , K Icon: : SizeSmall ) ) ,
TQIconSet ( il - > loadIcon ( " undo " , TDEIcon: : Small , TDE Icon: : SizeSmall ) ) ,
i18n ( " Revert budget to last saved state " ) ,
i18n ( " Revert budget to last saved state " ) ,
i18n ( " Use this to discard the modified data. " ) ) ;
i18n ( " Use this to discard the modified data. " ) ) ;
m_resetButton - > setGuiItem ( resetButtenItem ) ;
m_resetButton - > setGuiItem ( resetButtenItem ) ;