summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:03:49 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:03:49 -0600
commita0523230c43c0c894e924fca7fe775e47a7d86a8 (patch)
tree1ef149baa33f6723a34870f3bacca46e5195dfb2 /kmymoney2/dialogs
parente8837d86c8961bdfb65c25c6ff040468c95240cd (diff)
downloadkmymoney-a0523230c43c0c894e924fca7fe775e47a7d86a8.tar.gz
kmymoney-a0523230c43c0c894e924fca7fe775e47a7d86a8.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kmymoney2/dialogs')
-rw-r--r--kmymoney2/dialogs/kaccountselectdlg.cpp8
-rw-r--r--kmymoney2/dialogs/kbackupdlg.cpp4
-rw-r--r--kmymoney2/dialogs/keditequityentrydlg.cpp4
-rw-r--r--kmymoney2/dialogs/kenterscheduledlg.cpp4
-rw-r--r--kmymoney2/dialogs/kexportdlg.cpp8
-rw-r--r--kmymoney2/dialogs/kimportdlg.cpp8
-rw-r--r--kmymoney2/dialogs/kmymoneypricedlg.cpp10
-rw-r--r--kmymoney2/dialogs/kmymoneysplittable.cpp16
-rw-r--r--kmymoney2/dialogs/knewaccountdlg.cpp2
-rw-r--r--kmymoney2/dialogs/knewloanwizard.cpp8
-rw-r--r--kmymoney2/dialogs/ksecuritylisteditor.cpp10
-rw-r--r--kmymoney2/dialogs/ksplittransactiondlg.cpp6
-rw-r--r--kmymoney2/dialogs/kstartdlg.cpp16
-rw-r--r--kmymoney2/dialogs/kstartdlg.h4
-rw-r--r--kmymoney2/dialogs/mymoneyqifprofileeditor.cpp4
-rw-r--r--kmymoney2/dialogs/settings/ksettingshome.cpp6
-rw-r--r--kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp8
-rw-r--r--kmymoney2/dialogs/transactioneditor.cpp6
18 files changed, 66 insertions, 66 deletions
diff --git a/kmymoney2/dialogs/kaccountselectdlg.cpp b/kmymoney2/dialogs/kaccountselectdlg.cpp
index 42987ba..c60043b 100644
--- a/kmymoney2/dialogs/kaccountselectdlg.cpp
+++ b/kmymoney2/dialogs/kaccountselectdlg.cpp
@@ -60,22 +60,22 @@ KAccountSelectDlg::KAccountSelectDlg(const KMyMoneyUtils::categoryTypeE accountT
slotReloadWidget();
- KIconLoader* il = TDEGlobal::iconLoader();
+ TDEIconLoader* il = TDEGlobal::iconLoader();
KGuiItem skipButtonItem( i18n( "&Skip" ),
- TQIconSet(il->loadIcon("redo", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("redo", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Skip this transaction"),
i18n("Use this to skip importing this transaction and proceed with the next one."));
m_qbuttonCancel->setGuiItem(skipButtonItem);
KGuiItem createButtenItem( i18n( "&Create..." ),
- TQIconSet(il->loadIcon("filenew", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("filenew", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Create a new account/category"),
i18n("Use this to add a new account/category to the file"));
m_createButton->setGuiItem(createButtenItem);
m_qbuttonOk->setGuiItem(KStdGuiItem::ok());
KGuiItem abortButtenItem( i18n("&Abort" ),
- TQIconSet(il->loadIcon("stop", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("stop", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Abort the import operation and dismiss all changes"),
i18n("Use this to abort the import. Your financial data will be in the state before you started the QIF import."));
m_kButtonAbort->setGuiItem(abortButtenItem);
diff --git a/kmymoney2/dialogs/kbackupdlg.cpp b/kmymoney2/dialogs/kbackupdlg.cpp
index d931f90..de1eadd 100644
--- a/kmymoney2/dialogs/kbackupdlg.cpp
+++ b/kmymoney2/dialogs/kbackupdlg.cpp
@@ -50,12 +50,12 @@ KBackupDlg::KBackupDlg( TQWidget* parent, const char* name/*, bool modal*/)
readConfig();
// add icons to buttons
- KIconLoader *il = TDEGlobal::iconLoader();
+ TDEIconLoader *il = TDEGlobal::iconLoader();
btnOK->setGuiItem(KStdGuiItem::ok());
btnCancel->setGuiItem(KStdGuiItem::cancel());
KGuiItem chooseButtenItem( i18n("C&hoose..."),
- TQIconSet(il->loadIcon("folder", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("folder", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Select mount point"),
i18n("Use this to browse to the mount point."));
chooseButton->setGuiItem(chooseButtenItem);
diff --git a/kmymoney2/dialogs/keditequityentrydlg.cpp b/kmymoney2/dialogs/keditequityentrydlg.cpp
index cb32a64..77aec7c 100644
--- a/kmymoney2/dialogs/keditequityentrydlg.cpp
+++ b/kmymoney2/dialogs/keditequityentrydlg.cpp
@@ -66,14 +66,14 @@ KEditEquityEntryDlg::KEditEquityEntryDlg(const MyMoneySecurity& selectedSecurity
// kpvPriceHistory->setHistory(m_selectedSecurity.priceHistory());
// add icons to buttons
- KIconLoader *il = TDEGlobal::iconLoader();
+ TDEIconLoader *il = TDEGlobal::iconLoader();
btnOK->setGuiItem(KStdGuiItem::ok());
btnCancel->setGuiItem(KStdGuiItem::cancel());
btnRemoveEntry->setGuiItem(KStdGuiItem::remove());
btnAddEntry->setGuiItem(KStdGuiItem::add());
KGuiItem editButtenItem( i18n( "&Edit" ),
- TQIconSet(il->loadIcon("edit", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("edit", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Modify the selected entry"),
i18n("Change the price information of the selected entry."));
btnEditEntry->setGuiItem(editButtenItem);
diff --git a/kmymoney2/dialogs/kenterscheduledlg.cpp b/kmymoney2/dialogs/kenterscheduledlg.cpp
index c0f9d7b..daa8428 100644
--- a/kmymoney2/dialogs/kenterscheduledlg.cpp
+++ b/kmymoney2/dialogs/kenterscheduledlg.cpp
@@ -68,8 +68,8 @@ KEnterScheduleDlg::KEnterScheduleDlg(TQWidget *parent, const MyMoneySchedule& sc
{
d->m_schedule = schedule;
d->m_extendedReturnCode = KMyMoneyUtils::Enter;
- buttonOk->setIconSet(TDEGlobal::iconLoader()->loadIconSet("key_enter", KIcon::NoGroup, KIcon::SizeSmall, true));
- buttonSkip->setIconSet(TDEGlobal::iconLoader()->loadIconSet("player_fwd", KIcon::NoGroup, KIcon::SizeSmall, true));
+ buttonOk->setIconSet(TDEGlobal::iconLoader()->loadIconSet("key_enter", TDEIcon::NoGroup, TDEIcon::SizeSmall, true));
+ buttonSkip->setIconSet(TDEGlobal::iconLoader()->loadIconSet("player_fwd", TDEIcon::NoGroup, TDEIcon::SizeSmall, true));
buttonCancel->setGuiItem(KStdGuiItem::cancel());
buttonHelp->setGuiItem(KStdGuiItem::help());
buttonIgnore->setHidden(true);
diff --git a/kmymoney2/dialogs/kexportdlg.cpp b/kmymoney2/dialogs/kexportdlg.cpp
index 9a89a95..f87e6b5 100644
--- a/kmymoney2/dialogs/kexportdlg.cpp
+++ b/kmymoney2/dialogs/kexportdlg.cpp
@@ -55,23 +55,23 @@ KExportDlg::KExportDlg(TQWidget *parent)
loadAccounts();
// load button icons
- KIconLoader* il = TDEGlobal::iconLoader();
+ TDEIconLoader* il = TDEGlobal::iconLoader();
m_qbuttonCancel->setGuiItem(KStdGuiItem::cancel());
KGuiItem okButtenItem( i18n( "&Export" ),
- TQIconSet(il->loadIcon("fileexport", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("fileexport", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Start operation"),
i18n("Use this to start the export operation"));
m_qbuttonOk->setGuiItem(okButtenItem);
KGuiItem browseButtenItem( i18n( "&Browse..." ),
- TQIconSet(il->loadIcon("fileopen", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("fileopen", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Select filename"),
i18n("Use this to select a filename to export to"));
m_qbuttonBrowse->setGuiItem(browseButtenItem);
KGuiItem newButtenItem( i18n( "&New..." ),
- TQIconSet(il->loadIcon("filenew", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("filenew", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Create a new profile"),
i18n("Use this to open the profile editor"));
m_profileEditorButton->setGuiItem(newButtenItem);
diff --git a/kmymoney2/dialogs/kimportdlg.cpp b/kmymoney2/dialogs/kimportdlg.cpp
index 874469f..118db29 100644
--- a/kmymoney2/dialogs/kimportdlg.cpp
+++ b/kmymoney2/dialogs/kimportdlg.cpp
@@ -62,21 +62,21 @@ KImportDlg::KImportDlg(TQWidget *parent, const char * name)
// load button icons
m_qbuttonCancel->setGuiItem(KStdGuiItem::cancel());
- KIconLoader* il = TDEGlobal::iconLoader();
+ TDEIconLoader* il = TDEGlobal::iconLoader();
KGuiItem okButtenItem( i18n( "&Import" ),
- TQIconSet(il->loadIcon("fileimport", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("fileimport", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Start operation"),
i18n("Use this to start the import operation"));
m_qbuttonOk->setGuiItem(okButtenItem);
KGuiItem browseButtenItem( i18n( "&Browse..." ),
- TQIconSet(il->loadIcon("fileopen", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("fileopen", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Select filename"),
i18n("Use this to select a filename to export to"));
m_qbuttonBrowse->setGuiItem(browseButtenItem);
KGuiItem newButtenItem( i18n( "&New..." ),
- TQIconSet(il->loadIcon("filenew", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("filenew", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Create a new profile"),
i18n("Use this to open the profile editor"));
m_profileEditorButton->setGuiItem(newButtenItem);
diff --git a/kmymoney2/dialogs/kmymoneypricedlg.cpp b/kmymoney2/dialogs/kmymoneypricedlg.cpp
index 720fbf4..9d55b82 100644
--- a/kmymoney2/dialogs/kmymoneypricedlg.cpp
+++ b/kmymoney2/dialogs/kmymoneypricedlg.cpp
@@ -56,27 +56,27 @@
KMyMoneyPriceDlg::KMyMoneyPriceDlg(TQWidget* parent, const char *name) :
KMyMoneyPriceDlgDecl(parent, name)
{
- KIconLoader *il = TDEGlobal::iconLoader();
+ TDEIconLoader *il = TDEGlobal::iconLoader();
KGuiItem removeButtenItem( i18n( "&Delete" ),
- TQIconSet(il->loadIcon("delete", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("delete", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Delete this entry"),
i18n("Remove this price item from the file"));
m_deleteButton->setGuiItem(removeButtenItem);
KGuiItem newButtenItem( i18n( "&New" ),
- TQIconSet(il->loadIcon("file_new", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("file_new", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Add a new entry"),
i18n("Create a new price entry."));
m_newButton->setGuiItem(newButtenItem);
KGuiItem editButtenItem( i18n( "&Edit" ),
- TQIconSet(il->loadIcon("edit", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("edit", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Modify the selected entry"),
i18n("Change the details of selected price information."));
m_editButton->setGuiItem(editButtenItem);
KGuiItem okButtenItem( i18n("&Close" ),
- TQIconSet(il->loadIcon("button_ok", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("button_ok", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Close the dialog"),
i18n("Use this to close the dialog and return to the application."));
m_closeButton->setGuiItem(okButtenItem);
diff --git a/kmymoney2/dialogs/kmymoneysplittable.cpp b/kmymoney2/dialogs/kmymoneysplittable.cpp
index 57f1e09..6724cd0 100644
--- a/kmymoney2/dialogs/kmymoneysplittable.cpp
+++ b/kmymoney2/dialogs/kmymoneysplittable.cpp
@@ -94,11 +94,11 @@ kMyMoneySplitTable::kMyMoneySplitTable(TQWidget *parent, const char *name ) :
// setup the context menu
m_contextMenu = new TDEPopupMenu(this);
- KIconLoader *il = TDEGlobal::iconLoader();
- m_contextMenu->insertTitle(il->loadIcon("transaction", KIcon::MainToolbar), i18n("Split Options"));
- m_contextMenu->insertItem(il->loadIcon("edit", KIcon::Small), i18n("Edit..."), this, TQT_SLOT(slotStartEdit()));
- m_contextMenuDuplicate = m_contextMenu->insertItem(il->loadIcon("editcopy", KIcon::Small), i18n("Duplicate"), this, TQT_SLOT(slotDuplicateSplit()));
- m_contextMenuDelete = m_contextMenu->insertItem(il->loadIcon("delete", KIcon::Small),
+ TDEIconLoader *il = TDEGlobal::iconLoader();
+ m_contextMenu->insertTitle(il->loadIcon("transaction", TDEIcon::MainToolbar), i18n("Split Options"));
+ m_contextMenu->insertItem(il->loadIcon("edit", TDEIcon::Small), i18n("Edit..."), this, TQT_SLOT(slotStartEdit()));
+ m_contextMenuDuplicate = m_contextMenu->insertItem(il->loadIcon("editcopy", TDEIcon::Small), i18n("Duplicate"), this, TQT_SLOT(slotDuplicateSplit()));
+ m_contextMenuDelete = m_contextMenu->insertItem(il->loadIcon("delete", TDEIcon::Small),
i18n("Delete ..."),
this, TQT_SLOT(slotDeleteSplit()));
@@ -851,16 +851,16 @@ TQWidget* kMyMoneySplitTable::createEditWidgets(void)
m_editMemo->setFont(cellFont);
// create buttons for the mouse users
- KIconLoader *il = TDEGlobal::iconLoader();
+ TDEIconLoader *il = TDEGlobal::iconLoader();
m_registerButtonFrame = new TQFrame(this, "buttonFrame");
TQPalette palette = m_registerButtonFrame->palette();
palette.setColor(TQColorGroup::Background, rowBackgroundColor(m_currentRow+1) );
m_registerButtonFrame->setPalette(palette);
TQHBoxLayout* l = new TQHBoxLayout(m_registerButtonFrame);
- m_registerEnterButton = new KPushButton(il->loadIcon("button_ok", KIcon::Small, KIcon::SizeSmall), TQString(), m_registerButtonFrame, "EnterButton");
+ m_registerEnterButton = new KPushButton(il->loadIcon("button_ok", TDEIcon::Small, TDEIcon::SizeSmall), TQString(), m_registerButtonFrame, "EnterButton");
- m_registerCancelButton = new KPushButton(il->loadIcon("button_cancel", KIcon::Small, KIcon::SizeSmall), TQString(), m_registerButtonFrame, "CancelButton");
+ m_registerCancelButton = new KPushButton(il->loadIcon("button_cancel", TDEIcon::Small, TDEIcon::SizeSmall), TQString(), m_registerButtonFrame, "CancelButton");
l->addWidget(m_registerEnterButton);
l->addWidget(m_registerCancelButton);
diff --git a/kmymoney2/dialogs/knewaccountdlg.cpp b/kmymoney2/dialogs/knewaccountdlg.cpp
index f95ad5e..7f964dc 100644
--- a/kmymoney2/dialogs/knewaccountdlg.cpp
+++ b/kmymoney2/dialogs/knewaccountdlg.cpp
@@ -362,7 +362,7 @@ KNewAccountDlg::KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bo
setCaption(title);
// load button icons
- KIconLoader* il = TDEGlobal::iconLoader();
+ TDEIconLoader* il = TDEGlobal::iconLoader();
cancelButton->setGuiItem(KStdGuiItem::cancel());
createButton->setGuiItem(KStdGuiItem::ok());
diff --git a/kmymoney2/dialogs/knewloanwizard.cpp b/kmymoney2/dialogs/knewloanwizard.cpp
index e5b16c0..d75072b 100644
--- a/kmymoney2/dialogs/knewloanwizard.cpp
+++ b/kmymoney2/dialogs/knewloanwizard.cpp
@@ -118,23 +118,23 @@ KNewLoanWizard::KNewLoanWizard(TQWidget *parent, const char *name ) :
m_interestAccountEdit->removeButtons();
// load button icons
- KIconLoader* il = TDEGlobal::iconLoader();
+ TDEIconLoader* il = TDEGlobal::iconLoader();
KGuiItem createCategoryButtenItem( i18n( "&Create..." ),
- TQIconSet(il->loadIcon("filenew", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("filenew", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Create a new category"),
i18n("Use this to open the new account editor"));
m_createCategoryButton->setGuiItem(createCategoryButtenItem);
connect(m_createCategoryButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCreateCategory()));
KGuiItem additionalFeeButtenItem( i18n( "&Additional fees..." ),
- 0, //TQIconSet(il->loadIcon("filenew", KIcon::Small, KIcon::SizeSmall)),
+ 0, //TQIconSet(il->loadIcon("filenew", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Enter additional fees"),
i18n("Use this to add any additional fees other than principal and interest contained in your periodical payments."));
m_additionalFeeButton->setGuiItem(additionalFeeButtenItem);
connect(m_additionalFeeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAdditionalFees()));
KGuiItem createAssetButtenItem( i18n( "&Create..." ),
- TQIconSet(il->loadIcon("filenew", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("filenew", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Create a new asset account"),
i18n("Use this to create a new account to which the initial payment should be made"));
m_createNewAssetButton->setGuiItem(createAssetButtenItem);
diff --git a/kmymoney2/dialogs/ksecuritylisteditor.cpp b/kmymoney2/dialogs/ksecuritylisteditor.cpp
index 84266e3..72715aa 100644
--- a/kmymoney2/dialogs/ksecuritylisteditor.cpp
+++ b/kmymoney2/dialogs/ksecuritylisteditor.cpp
@@ -63,27 +63,27 @@ KSecurityListEditor::KSecurityListEditor(TQWidget *parent, const char *name) :
m_listView->setMultiSelection(false);
m_listView->setAllColumnsShowFocus(true);
- KIconLoader *il = TDEGlobal::iconLoader();
+ TDEIconLoader *il = TDEGlobal::iconLoader();
KGuiItem removeButtenItem( i18n( "&Delete" ),
- TQIconSet(il->loadIcon("delete", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("delete", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Delete this entry"),
i18n("Remove this security item from the file"));
m_deleteButton->setGuiItem(removeButtenItem);
KGuiItem addButtenItem( i18n( "&Add" ),
- TQIconSet(il->loadIcon("file_new", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("file_new", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Add a new entry"),
i18n("Create a new security entry."));
m_addButton->setGuiItem(addButtenItem);
KGuiItem editButtenItem( i18n( "&Edit" ),
- TQIconSet(il->loadIcon("edit", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("edit", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Modify the selected entry"),
i18n("Change the security information of the selected entry."));
m_editButton->setGuiItem(editButtenItem);
KGuiItem okButtenItem( i18n("&Close" ),
- TQIconSet(il->loadIcon("button_ok", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("button_ok", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Close the dialog"),
i18n("Use this to close the dialog and return to the application."));
m_closeButton->setGuiItem(okButtenItem);
diff --git a/kmymoney2/dialogs/ksplittransactiondlg.cpp b/kmymoney2/dialogs/ksplittransactiondlg.cpp
index bf30d61..eb8b867 100644
--- a/kmymoney2/dialogs/ksplittransactiondlg.cpp
+++ b/kmymoney2/dialogs/ksplittransactiondlg.cpp
@@ -72,17 +72,17 @@ KSplitTransactionDlg::KSplitTransactionDlg(const MyMoneyTransaction& t,
m_calculatedValue(calculatedValue)
{
// add icons to buttons
- KIconLoader *il = TDEGlobal::iconLoader();
+ TDEIconLoader *il = TDEGlobal::iconLoader();
KGuiItem clearButtenItem( i18n( "Clear &All" ),
- TQIconSet(il->loadIcon("edittrash", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("edittrash", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Clear all splits"),
i18n("Use this to clear all splits of this transaction"));
clearAllBtn->setGuiItem(clearButtenItem);
KGuiItem mergeButtenItem( i18n( "&Merge" ),
- TQIconSet(il->loadIcon("math_sum", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("math_sum", TDEIcon::Small, TDEIcon::SizeSmall)),
"", "");
mergeBtn->setGuiItem(mergeButtenItem);
diff --git a/kmymoney2/dialogs/kstartdlg.cpp b/kmymoney2/dialogs/kstartdlg.cpp
index c781479..a5cdb21 100644
--- a/kmymoney2/dialogs/kstartdlg.cpp
+++ b/kmymoney2/dialogs/kstartdlg.cpp
@@ -70,10 +70,10 @@ KStartDlg::~KStartDlg()
/** Set the font Page of the preferences dialog */
void KStartDlg::setPage_Template()
{
- KIconLoader *ic = TDEGlobal::iconLoader();
+ TDEIconLoader *ic = TDEGlobal::iconLoader();
templateMainFrame = addVBoxPage( i18n("Templates"), i18n("Select templates"), DesktopIcon("wizard"));
- view_wizard = new KIconView( templateMainFrame, "view_options" );
- (void)new TQIconViewItem( view_wizard, i18n("New KMyMoney document"), ic->loadIcon("mime_empty.png", KIcon::Desktop, KIcon::SizeLarge)/*TQPixmap( locate("icon","hicolor/48x48/mimetypes/mime_empty.png") )*/ );
+ view_wizard = new TDEIconView( templateMainFrame, "view_options" );
+ (void)new TQIconViewItem( view_wizard, i18n("New KMyMoney document"), ic->loadIcon("mime_empty.png", TDEIcon::Desktop, TDEIcon::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 KIconView( recentMainFrame, "view_recent" );
+ view_recent = new TDEIconView( recentMainFrame, "view_recent" );
connect( view_recent, TQT_SIGNAL( executed(TQIconViewItem *) ), this, TQT_SLOT( slotRecentClicked(TQIconViewItem *) ) );
mainLayout->addWidget( view_recent );
- view_recent->setArrangement(KIconView::LeftToRight/*TopToBottom*/);
- view_recent->setItemTextPos(KIconView::Bottom);
+ view_recent->setArrangement(TDEIconView::LeftToRight/*TopToBottom*/);
+ view_recent->setItemTextPos(TDEIconView::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();
- KIconLoader *il = TDEGlobal::iconLoader();
+ TDEIconLoader *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, KIcon::SizeLarge));
+ (void)new TDERecentFileItem( value, view_recent, file_name, il->loadIcon("kmy", TDEIcon::Desktop, TDEIcon::SizeLarge));
}
i++;
} while( !value.isNull() );
diff --git a/kmymoney2/dialogs/kstartdlg.h b/kmymoney2/dialogs/kstartdlg.h
index 4a4c9dd..463cd53 100644
--- a/kmymoney2/dialogs/kstartdlg.h
+++ b/kmymoney2/dialogs/kstartdlg.h
@@ -58,8 +58,8 @@ private: // Private methods
void writeConfig();
/** Read config window */
void readConfig();
- KIconView *view_wizard;
- KIconView *view_recent;
+ TDEIconView *view_wizard;
+ TDEIconView *view_recent;
KURLRequester *kurlrequest;
/** misc variables */
bool isnewfile;
diff --git a/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp b/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp
index 742b32c..5a2ebb6 100644
--- a/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp
+++ b/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp
@@ -90,9 +90,9 @@ MyMoneyQifProfileEditor::MyMoneyQifProfileEditor(const bool edit, TQWidget *pare
loadProfileListFromConfig();
// load button icons
- KIconLoader* il = TDEGlobal::iconLoader();
+ TDEIconLoader* il = TDEGlobal::iconLoader();
KGuiItem newButtenItem( i18n( "&New" ),
- TQIconSet(il->loadIcon("filenew", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("filenew", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Create a new profile"),
i18n("Use this to create a new QIF import/export profile"));
m_newButton->setGuiItem(newButtenItem);
diff --git a/kmymoney2/dialogs/settings/ksettingshome.cpp b/kmymoney2/dialogs/settings/ksettingshome.cpp
index 3ef5e51..8eb85e5 100644
--- a/kmymoney2/dialogs/settings/ksettingshome.cpp
+++ b/kmymoney2/dialogs/settings/ksettingshome.cpp
@@ -47,13 +47,13 @@ KSettingsHome::KSettingsHome(TQWidget* parent, const char* name) :
m_homePageList->header()->hide();
m_homePageList->setAllColumnsShowFocus(true);
- KIconLoader* il = TDEGlobal::iconLoader();
+ TDEIconLoader* il = TDEGlobal::iconLoader();
KGuiItem upButtonItem( i18n( "&Up" ),
- TQIconSet(il->loadIcon("up", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("up", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Move selected item up"),
i18n("Use this to move the selected item up by one position in the list."));
KGuiItem downButtonItem( i18n( "&Down" ),
- TQIconSet(il->loadIcon("down", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("down", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Move selected item down"),
i18n("Use this to move the selected item down by one position in the list."));
diff --git a/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp b/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp
index 0262e78..6afa4f4 100644
--- a/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp
+++ b/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp
@@ -48,21 +48,21 @@ KSettingsOnlineQuotes::KSettingsOnlineQuotes(TQWidget *parent, const char *name
m_updateButton->setEnabled(false);
- KIconLoader* il = TDEGlobal::iconLoader();
+ TDEIconLoader* il = TDEGlobal::iconLoader();
KGuiItem updateButtenItem( i18n("&Update" ),
- TQIconSet(il->loadIcon("button_ok", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("button_ok", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Accepts the entered data and stores it"),
i18n("Use this to accept the modified data."));
m_updateButton->setGuiItem(updateButtenItem);
KGuiItem deleteButtenItem( i18n( "&Delete" ),
- TQIconSet(il->loadIcon("editdelete", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("editdelete", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Delete the selected source entry"),
i18n("Use this to delete the selected online source entry"));
m_deleteButton->setGuiItem(deleteButtenItem);
KGuiItem newButtenItem( i18n( "&New..." ),
- TQIconSet(il->loadIcon("filenew", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("filenew", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Create a new source entry for online quotes"),
i18n("Use this to create a new entry for online quotes"));
m_newButton->setGuiItem(newButtenItem);
diff --git a/kmymoney2/dialogs/transactioneditor.cpp b/kmymoney2/dialogs/transactioneditor.cpp
index fd5b1de..eb6c7c7 100644
--- a/kmymoney2/dialogs/transactioneditor.cpp
+++ b/kmymoney2/dialogs/transactioneditor.cpp
@@ -601,13 +601,13 @@ bool TransactionEditor::enterTransactions(TQString& newId, bool askForSchedule,
bool enter = true;
if(askForSchedule && (*it_ts).postDate() > TQDate::currentDate()) {
KGuiItem enterItem;
- KIconLoader* il = TDEGlobal::iconLoader();
+ TDEIconLoader* il = TDEGlobal::iconLoader();
KGuiItem enterButton( i18n("&Enter" ),
- TQIconSet(il->loadIcon("kontact_journal", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("kontact_journal", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Accepts the entered data and stores it"),
i18n("Use this to enter the transaction into the ledger."));
KGuiItem scheduleButton( i18n("&Schedule" ),
- TQIconSet(il->loadIcon("kontact_date", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("kontact_date", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Accepts the entered data and stores it as schedule"),
i18n("Use this to schedule the transaction for later entry into the ledger."));