@ -70,10 +70,10 @@ KStartDlg::~KStartDlg()
/** Set the font Page of the preferences dialog */
void KStartDlg : : setPage_Template ( )
{
K IconLoader * ic = TDEGlobal : : iconLoader ( ) ;
TDE IconLoader * ic = TDEGlobal : : iconLoader ( ) ;
templateMainFrame = addVBoxPage ( i18n ( " Templates " ) , i18n ( " Select templates " ) , DesktopIcon ( " wizard " ) ) ;
view_wizard = new K IconView( templateMainFrame , " view_options " ) ;
( void ) new TQIconViewItem ( view_wizard , i18n ( " New KMyMoney document " ) , ic - > loadIcon ( " mime_empty.png " , KIcon: : Desktop , K Icon: : SizeLarge ) /*TQPixmap( locate("icon","hicolor/48x48/mimetypes/mime_empty.png") )*/ ) ;
view_wizard = new TDE IconView( templateMainFrame , " view_options " ) ;
( void ) new TQIconViewItem ( view_wizard , i18n ( " New KMyMoney document " ) , ic - > loadIcon ( " mime_empty.png " , TDEIcon: : Desktop , TDE Icon: : SizeLarge ) /*TQPixmap( locate("icon","hicolor/48x48/mimetypes/mime_empty.png") )*/ ) ;
connect ( view_wizard , TQT_SIGNAL ( executed ( TQIconViewItem * ) ) , this , TQT_SLOT ( slotTemplateClicked ( TQIconViewItem * ) ) ) ;
connect ( view_wizard , TQT_SIGNAL ( selectionChanged ( TQIconViewItem * ) ) ,
this , TQT_SLOT ( slotTemplateSelectionChanged ( TQIconViewItem * ) ) ) ;
@ -97,11 +97,11 @@ void KStartDlg::setPage_Documents()
TQLabel * label1 = new TQLabel ( recentMainFrame , " label1 " ) ;
label1 - > setText ( i18n ( " Recent Files " ) ) ;
mainLayout - > addWidget ( label1 ) ;
view_recent = new K IconView( recentMainFrame , " view_recent " ) ;
view_recent = new TDE IconView( recentMainFrame , " view_recent " ) ;
connect ( view_recent , TQT_SIGNAL ( executed ( TQIconViewItem * ) ) , this , TQT_SLOT ( slotRecentClicked ( TQIconViewItem * ) ) ) ;
mainLayout - > addWidget ( view_recent ) ;
view_recent - > setArrangement ( K IconView: : LeftToRight /*TopToBottom*/ ) ;
view_recent - > setItemTextPos ( K IconView: : Bottom ) ;
view_recent - > setArrangement ( TDE IconView: : LeftToRight /*TopToBottom*/ ) ;
view_recent - > setItemTextPos ( TDE IconView: : Bottom ) ;
connect ( view_recent , TQT_SIGNAL ( selectionChanged ( TQIconViewItem * ) ) ,
this , TQT_SLOT ( slotRecentSelectionChanged ( TQIconViewItem * ) ) ) ;
@ -129,7 +129,7 @@ void KStartDlg::readConfig()
unsigned int i = 1 ;
TDEConfig * config = TDEGlobal : : config ( ) ;
K IconLoader * il = TDEGlobal : : iconLoader ( ) ;
TDE IconLoader * il = TDEGlobal : : iconLoader ( ) ;
// read file list
do {
@ -142,7 +142,7 @@ void KStartDlg::readConfig()
if ( ! value . isNull ( ) & & fileExists ( value ) )
{
TQString file_name = value . mid ( value . findRev ( ' / ' ) + 1 ) ;
( void ) new TDERecentFileItem ( value , view_recent , file_name , il - > loadIcon ( " kmy " , KIcon: : Desktop , K Icon: : SizeLarge ) ) ;
( void ) new TDERecentFileItem ( value , view_recent , file_name , il - > loadIcon ( " kmy " , TDEIcon: : Desktop , TDE Icon: : SizeLarge ) ) ;
}
i + + ;
} while ( ! value . isNull ( ) ) ;