Rename a number of classes to enhance compatibility with KDE4

r14.0.x
Timothy Pearson 12 years ago
parent db89d6f6d9
commit a6000c6f2f

@ -3084,7 +3084,7 @@
* Added plugin dialog to show plugin information * Added plugin dialog to show plugin information
* Added warning message when quitting transaction dialog editor * Added warning message when quitting transaction dialog editor
via selection of a different transaction via selection of a different transaction
* Don't show the sort column shaded in KListViews * Don't show the sort column shaded in TDEListViews
2007-12-10 Tony Bloomfield <tonybloom@users.sourceforge.net> 2007-12-10 Tony Bloomfield <tonybloom@users.sourceforge.net>
* Make GNC import error message translator-friendly * Make GNC import error message translator-friendly
@ -3188,7 +3188,7 @@
2007-10-25 Thomas Baumgart <ipwizard@users.sourceforge.net> 2007-10-25 Thomas Baumgart <ipwizard@users.sourceforge.net>
* Added forecast patch provided by Alvaro Soliverez * Added forecast patch provided by Alvaro Soliverez
* Modified layout and changed QListView* into KListView* objects in forecast * Modified layout and changed QListView* into TDEListView* objects in forecast
* Don't include disabled widgets in mandatory field checks * Don't include disabled widgets in mandatory field checks
* Fixed a layout problem in enter and edit schedule dialogs when resizing * Fixed a layout problem in enter and edit schedule dialogs when resizing
* Fixed a sizing problem with KMyMoneyCombo widgets * Fixed a sizing problem with KMyMoneyCombo widgets
@ -3418,7 +3418,7 @@
* Allow creation of multi currency categories * Allow creation of multi currency categories
* Allow changing the base currency * Allow changing the base currency
* Removed default parameter of MyMoneyPrice::rate() * Removed default parameter of MyMoneyPrice::rate()
* Base currency activities (new, edit, delete, etc.) on KActions * Base currency activities (new, edit, delete, etc.) on TDEActions
* Show networth graph on home page in base currency * Show networth graph on home page in base currency
* Fixed a problem with ledger not displaying all transactions when * Fixed a problem with ledger not displaying all transactions when
loading a new account loading a new account
@ -3538,7 +3538,7 @@
2007-05-16 Thomas Baumgart <ipwizard@users.sourceforge.net> 2007-05-16 Thomas Baumgart <ipwizard@users.sourceforge.net>
* Use prettyURL() where appropriate * Use prettyURL() where appropriate
* Renamed KMergeTransactionDlgDecl into KSelectTransactionDlgDecl * Renamed KMergeTransactionDlgDecl into TDESelectTransactionDlgDecl
2007-05-14 Thomas Baumgart <ipwizard@users.sourceforge.net> 2007-05-14 Thomas Baumgart <ipwizard@users.sourceforge.net>
* Better detection of write errors in GPGFile component * Better detection of write errors in GPGFile component
@ -4703,7 +4703,7 @@
* Renamed kMyMoneyCurrencySelector to KMyMoneyCurrencySelector * Renamed kMyMoneyCurrencySelector to KMyMoneyCurrencySelector
* Renamed kMyMoneySecuritySelector to KMyMoneySecuritySelector * Renamed kMyMoneySecuritySelector to KMyMoneySecuritySelector
* Added both of the above to Qt designer widgets * Added both of the above to Qt designer widgets
* Reworked payees view to use new KAction logic * Reworked payees view to use new TDEAction logic
2006-01-21 Darren Gould <darren_gould@linuxmail.org> 2006-01-21 Darren Gould <darren_gould@linuxmail.org>
* Initial budgeting view and report mockup * Initial budgeting view and report mockup
@ -4728,7 +4728,7 @@
2006-01-14 Ace Jones <acejones@users.sourceforge.net> 2006-01-14 Ace Jones <acejones@users.sourceforge.net>
* Added account setup for OFX direct connect * Added account setup for OFX direct connect
* Revived OFX direct connect (it's been broken since the KAction changes) * Revived OFX direct connect (it's been broken since the TDEAction changes)
* OFX direct connect is now officially supproted! * OFX direct connect is now officially supproted!
* Even added some docs * Even added some docs
@ -4968,7 +4968,7 @@
2005-11-08 Thomas Baumgart <ipwizard@users.sourceforge.net> 2005-11-08 Thomas Baumgart <ipwizard@users.sourceforge.net>
* Moved some action slots to KMyMoney2App: * Moved some action slots to KMyMoney2App:
* Revised KAction handling * Revised TDEAction handling
* Fixed date calculation in isOverdue testcase, enhanced testcase * Fixed date calculation in isOverdue testcase, enhanced testcase
* Restructured action handling * Restructured action handling
* Renamed some members in the new account wizard * Renamed some members in the new account wizard
@ -8039,7 +8039,7 @@
view. view.
* The date for the current cell to be painted is passed to the * The date for the current cell to be painted is passed to the
drawCellContents method. drawCellContents method.
* Changed the list view widget in KScheduleView to a KListView so I can use * Changed the list view widget in KScheduleView to a TDEListView so I can use
the executed signal. the executed signal.
* Implemented an executed slot on a schedule list item that shows the next * Implemented an executed slot on a schedule list item that shows the next
payment date in the calendar. payment date in the calendar.
@ -8936,7 +8936,7 @@
2002-01-16 Michael Edwardes <mte@users.sourceforge.net> 2002-01-16 Michael Edwardes <mte@users.sourceforge.net>
* Removed some old 'recurring transactions' code. * Removed some old 'recurring transactions' code.
* Removed the unneeded KMainView class and converted KMyMoneyView * Removed the unneeded TDEMainView class and converted KMyMoneyView
to use the KBanksView and KTransactionView classes directly. to use the KBanksView and KTransactionView classes directly.
* Moved all the dialogs into the dialogs subdir. * Moved all the dialogs into the dialogs subdir.
@ -9027,11 +9027,11 @@
* fixed memory leaks in the reconcile and endingbalance dialog boxes * fixed memory leaks in the reconcile and endingbalance dialog boxes
2001-12-14 Thomas Baumgart <ipwizard@users.sourceforge.net> 2001-12-14 Thomas Baumgart <ipwizard@users.sourceforge.net>
* fixed another memory leak bug having to do with the Transaction KPopupMenu * fixed another memory leak bug having to do with the Transaction TDEPopupMenu
* revised Felix' fixes to avoid creating countless objects * revised Felix' fixes to avoid creating countless objects
2001-12-14 Felix Rodriguez <frodriguez@mail.wesleyan.edu> 2001-12-14 Felix Rodriguez <frodriguez@mail.wesleyan.edu>
* fixed another memory leak bug having to do with the Account KPopupMenu * fixed another memory leak bug having to do with the Account TDEPopupMenu
2001-12-13 Thomas Baumgart <ipwizard@users.sourceforge.net> 2001-12-13 Thomas Baumgart <ipwizard@users.sourceforge.net>
* fixed debug output of QIF import (result message of date conversion) * fixed debug output of QIF import (result message of date conversion)

@ -59,7 +59,7 @@
use the apprpriate KDE 2 dialog. (KMenu -> Preferences -> Personalisation -> Country & Language.) use the apprpriate KDE 2 dialog. (KMenu -> Preferences -> Personalisation -> Country & Language.)
Added a dialog to let the user choose the columns to be displayed, and to choose the fonts/colours. Added a dialog to let the user choose the columns to be displayed, and to choose the fonts/colours.
Updated the list view code to read from the user variables. A couple of bugs exist. Updated the list view code to read from the user variables. A couple of bugs exist.
The settings are now saved in the application config file. (KMainWnd::read/saveOptions). The settings are now saved in the application config file. (TDEMainWnd::read/saveOptions).
Added a find dialog and added menu and toolbar items. Added a find dialog and added menu and toolbar items.
The find dialog now opens a new results window to display in, and now support The find dialog now opens a new results window to display in, and now support
regular expressions in the description & number fields. regular expressions in the description & number fields.
@ -81,14 +81,14 @@
ALL THE HAND EDITED FILES (KDEVELOP DOESN'T ON MINE BUT I CAN'T GUARANTEE IT FOR OTHER ALL THE HAND EDITED FILES (KDEVELOP DOESN'T ON MINE BUT I CAN'T GUARANTEE IT FOR OTHER
MACHINES). -- I DON'T REALLY UNDERSTAND AUTOCONF ETC!!! MACHINES). -- I DON'T REALLY UNDERSTAND AUTOCONF ETC!!!
Added a caption to let the user know where they are at any time. Thanks to ... Added a caption to let the user know where they are at any time. Thanks to ...
Moved the list views over to KListView and am now using better ordering of the items. Moved the list views over to TDEListView and am now using better ordering of the items.
Changed the API in the engine to be more robust and to disengage itself from external number ordering. Changed the API in the engine to be more robust and to disengage itself from external number ordering.
Added an index field to MyMoneyTransaction and removed MyMoneyTransactionE from KReconcileDlg. Added an index field to MyMoneyTransaction and removed MyMoneyTransactionE from KReconcileDlg.
KReconcileDlg is now implemented using designer, and the code has been modified to reflect this KReconcileDlg is now implemented using designer, and the code has been modified to reflect this
and the code has been simplified. and the code has been simplified.
Added == operators to the 'engine' classes. Added == operators to the 'engine' classes.
Removed QdbtTabular completely from the source code. All lists now use the Removed QdbtTabular completely from the source code. All lists now use the
KListView class. TDEListView class.
Moved over to KDevelop 1.3 and am now using the new templates and admin directory. Moved over to KDevelop 1.3 and am now using the new templates and admin directory.
Made all tdevelop dialogs into designer dialogs and they now look better and the tabs behave as expected. Made all tdevelop dialogs into designer dialogs and they now look better and the tabs behave as expected.
Removed the dock applet from the source, I will release it once kmymoney2 becomes stable again. (most of Removed the dock applet from the source, I will release it once kmymoney2 becomes stable again. (most of
@ -174,7 +174,7 @@ useful and sometimes errenous, but I have decided to integrate them purely for c
Copy constructors and assignment operators added to all the mymoney classes. Copy constructors and assignment operators added to all the mymoney classes.
Quite a few changes to the mymoney classes actually, (added consts, &'s, removed a few methods etc). Quite a few changes to the mymoney classes actually, (added consts, &'s, removed a few methods etc).
Switched to KDE2 Beta3 and QT2.2.0 beta0 (qt-copy-1.92). Switched to KDE2 Beta3 and QT2.2.0 beta0 (qt-copy-1.92).
Changed the main window from KTMainWindow to KMainWindow and changed some affected code. Changed the main window from KTMainWindow to TDEMainWindow and changed some affected code.
Added income/expense support to categories and changed dialog and list view code to reflect these changes. Added income/expense support to categories and changed dialog and list view code to reflect these changes.
Added a KNewCategoryDlg to edit the categories from KCategoriesDlg. Added a KNewCategoryDlg to edit the categories from KCategoriesDlg.
Added code to load standard categories when a new file is created. The data is loaded from Added code to load standard categories when a new file is created. The data is loaded from
@ -234,9 +234,9 @@ yet).
Started making the interface look like it will do in version 1. (Most of it prints Started making the interface look like it will do in version 1. (Most of it prints
a message saying that it isn't working yet !). a message saying that it isn't working yet !).
Removed calendar-0.12 from the source tree. You now need to install this prior to compiling. Removed calendar-0.12 from the source tree. You now need to install this prior to compiling.
Added a new tabbed widget to control the different aspects of KMyMoney2. The Main widget ((KMainView) Added a new tabbed widget to control the different aspects of KMyMoney2. The Main widget ((TDEMainView)
is now one of the tabs (Accounts). is now one of the tabs (Accounts).
Cleaned up KMainWnd (the class inherited from KTMainWindow) and it is now lean and clean. Cleaned up TDEMainWnd (the class inherited from KTMainWindow) and it is now lean and clean.
NOTHING WORKS AT THE MOMENT. NOTHING WORKS AT THE MOMENT.
@ -305,7 +305,7 @@ yet).
090500 090500
First steps in making MyMoney* ready for a shared library. This First steps in making MyMoney* ready for a shared library. This
version WON'T compile due to undefined methods and KMainWnd version WON'T compile due to undefined methods and TDEMainWnd
not using the new methods. not using the new methods.
060500 060500

@ -76,9 +76,9 @@ private:
/** Color background */ /** Color background */
KColorButton *m_kcolorbuttonBack; KColorButton *m_kcolorbuttonBack;
/** Select font header */ /** Select font header */
KFontChooser *m_kfontchooserHeader; TDEFontChooser *m_kfontchooserHeader;
/** Font cell setting */ /** Font cell setting */
KFontChooser *m_kfontchooserCell; TDEFontChooser *m_kfontchooserCell;
/** No rows to show in register */ /** No rows to show in register */
KLineEdit *m_klineeditRowCount; KLineEdit *m_klineeditRowCount;
@ -387,14 +387,14 @@ void KSettingsDlg::setPageList()
QVBox *qvboxInsideTab1 = new QVBox( this, "tab1" ); QVBox *qvboxInsideTab1 = new QVBox( this, "tab1" );
qvboxInsideTab1->setSpacing( 6 ); qvboxInsideTab1->setSpacing( 6 );
qvboxInsideTab1->setMargin( 11 ); qvboxInsideTab1->setMargin( 11 );
m_kfontchooserHeader = new KFontChooser(qvboxInsideTab1); m_kfontchooserHeader = new TDEFontChooser(qvboxInsideTab1);
qtabwidget->insertTab(qvboxInsideTab1, i18n("Header Font")); qtabwidget->insertTab(qvboxInsideTab1, i18n("Header Font"));
// Create another tab adding a font chooser widget // Create another tab adding a font chooser widget
QVBox *qvboxInsideTab2 = new QVBox( this, "tab2" ); QVBox *qvboxInsideTab2 = new QVBox( this, "tab2" );
qvboxInsideTab2->setSpacing( 6 ); qvboxInsideTab2->setSpacing( 6 );
qvboxInsideTab2->setMargin( 11 ); qvboxInsideTab2->setMargin( 11 );
m_kfontchooserCell = new KFontChooser(qvboxInsideTab2); m_kfontchooserCell = new TDEFontChooser(qvboxInsideTab2);
qtabwidget->addTab(qvboxInsideTab2, i18n("Cell Font")); qtabwidget->addTab(qvboxInsideTab2, i18n("Cell Font"));
} }

@ -31,7 +31,7 @@
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// KDE Includes // KDE Includes
class KPopupMenu; class TDEPopupMenu;
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Project Includes // Project Includes

@ -38,7 +38,7 @@
<property name="name"> <property name="name">
<cstring>unnamed</cstring> <cstring>unnamed</cstring>
</property> </property>
<widget class="KListView"> <widget class="TDEListView">
<property name="name"> <property name="name">
<cstring>m_currencyList</cstring> <cstring>m_currencyList</cstring>
</property> </property>
@ -174,7 +174,7 @@
<string>X</string> <string>X</string>
</property> </property>
</widget> </widget>
<widget class="KListView"> <widget class="TDEListView">
<column> <column>
<property name="text"> <property name="text">
<string>Currency</string> <string>Currency</string>

@ -217,7 +217,7 @@ void KEquityPriceUpdateDlg::addPricePair(const MyMoneySecurityPair& pair, bool d
} }
if(keep) { if(keep) {
KListViewItem* item = new KListViewItem(lvEquityList, TDEListViewItem* item = new TDEListViewItem(lvEquityList,
symbol, symbol,
i18n("%1 units in %2").arg(pair.first,pair.second)); i18n("%1 units in %2").arg(pair.first,pair.second));
if(pr.isValid()) { if(pr.isValid()) {
@ -251,7 +251,7 @@ void KEquityPriceUpdateDlg::addInvestment(const MyMoneySecurity& inv)
} }
// if it is in use, it_a is not equal to list.end() // if it is in use, it_a is not equal to list.end()
if(it_a != list.end()) { if(it_a != list.end()) {
KListViewItem* item = new KListViewItem(lvEquityList, symbol, inv.name()); TDEListViewItem* item = new TDEListViewItem(lvEquityList, symbol, inv.name());
MyMoneySecurity currency = file->currency(inv.tradingCurrency()); MyMoneySecurity currency = file->currency(inv.tradingCurrency());
MyMoneyPrice pr = file->price(id.utf8(), inv.tradingCurrency()); MyMoneyPrice pr = file->price(id.utf8(), inv.tradingCurrency());
if(pr.isValid()) { if(pr.isValid()) {

@ -20,7 +20,7 @@
<property name="name"> <property name="name">
<cstring>unnamed</cstring> <cstring>unnamed</cstring>
</property> </property>
<widget class="KListView"> <widget class="TDEListView">
<property name="name"> <property name="name">
<cstring>lvEquityList</cstring> <cstring>lvEquityList</cstring>
</property> </property>

@ -488,7 +488,7 @@
<property name="spacing"> <property name="spacing">
<number>6</number> <number>6</number>
</property> </property>
<widget class="KListView"> <widget class="TDEListView">
<column> <column>
<property name="text"> <property name="text">
<string>Payee</string> <string>Payee</string>

@ -32,7 +32,7 @@
#include "kmergetransactionsdlg.h" #include "kmergetransactionsdlg.h"
KMergeTransactionsDlg::KMergeTransactionsDlg(const MyMoneyAccount& account, TQWidget* parent, const char* name) : KMergeTransactionsDlg::KMergeTransactionsDlg(const MyMoneyAccount& account, TQWidget* parent, const char* name) :
KSelectTransactionsDlg(account, parent, name) TDESelectTransactionsDlg(account, parent, name)
{ {
// setup descriptive texts // setup descriptive texts

@ -36,7 +36,7 @@ class TQResizeEvent;
#include "../dialogs/kselecttransactionsdlg.h" #include "../dialogs/kselecttransactionsdlg.h"
class KMergeTransactionsDlg: public KSelectTransactionsDlg class KMergeTransactionsDlg: public TDESelectTransactionsDlg
{ {
Q_OBJECT Q_OBJECT

@ -67,7 +67,7 @@ KMyMoneyFileInfoDlg::KMyMoneyFileInfoDlg(TQWidget *parent, const char *name )
TQMap<MyMoneyAccount::accountTypeE, int>::const_iterator it_m; TQMap<MyMoneyAccount::accountTypeE, int>::const_iterator it_m;
for(it_m = accountMap.begin(); it_m != accountMap.end(); ++it_m) { for(it_m = accountMap.begin(); it_m != accountMap.end(); ++it_m) {
new KListViewItem(m_accountView, KMyMoneyUtils::accountTypeToString(it_m.key()), TQString("%1").arg(*it_m), TQString("%1").arg(accountMapClosed[it_m.key()])); new TDEListViewItem(m_accountView, KMyMoneyUtils::accountTypeToString(it_m.key()), TQString("%1").arg(*it_m), TQString("%1").arg(accountMapClosed[it_m.key()]));
} }

@ -49,7 +49,7 @@
<string>x</string> <string>x</string>
</property> </property>
</widget> </widget>
<widget class="KListView" row="6" column="0" rowspan="1" colspan="2"> <widget class="TDEListView" row="6" column="0" rowspan="1" colspan="2">
<column> <column>
<property name="text"> <property name="text">
<string>Type</string> <string>Type</string>

@ -93,7 +93,7 @@ kMyMoneySplitTable::kMyMoneySplitTable(TQWidget *parent, const char *name ) :
setHScrollBarMode(TQScrollView::AlwaysOff); setHScrollBarMode(TQScrollView::AlwaysOff);
// setup the context menu // setup the context menu
m_contextMenu = new KPopupMenu(this); m_contextMenu = new TDEPopupMenu(this);
KIconLoader *il = TDEGlobal::iconLoader(); KIconLoader *il = TDEGlobal::iconLoader();
m_contextMenu->insertTitle(il->loadIcon("transaction", KIcon::MainToolbar), i18n("Split Options")); 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_contextMenu->insertItem(il->loadIcon("edit", KIcon::Small), i18n("Edit..."), this, TQT_SLOT(slotStartEdit()));
@ -272,8 +272,8 @@ bool kMyMoneySplitTable::eventFilter(TQObject *o, TQEvent *e)
default: default:
rc = true; rc = true;
KShortcut copySplit(i18n("Duplicate split", "CTRL+c")); TDEShortcut copySplit(i18n("Duplicate split", "CTRL+c"));
KShortcut newSplit(TQKeySequence(TQt::CTRL | TQt::Key_Insert)); TDEShortcut newSplit(TQKeySequence(TQt::CTRL | TQt::Key_Insert));
if(copySplit.contains(KKey(k))) { if(copySplit.contains(KKey(k))) {
slotDuplicateSplit(); slotDuplicateSplit();

@ -34,7 +34,7 @@
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// KDE Includes // KDE Includes
class KPopupMenu; class TDEPopupMenu;
class KPushButton; class KPushButton;
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@ -221,7 +221,7 @@ private:
/** /**
* This member keeps a pointer to the context menu * This member keeps a pointer to the context menu
*/ */
KPopupMenu* m_contextMenu; TDEPopupMenu* m_contextMenu;
/// keeps the id of the delete entry in the context menu /// keeps the id of the delete entry in the context menu
int m_contextMenuDelete; int m_contextMenuDelete;

@ -22,7 +22,7 @@
<property name="name"> <property name="name">
<cstring>unnamed</cstring> <cstring>unnamed</cstring>
</property> </property>
<widget class="KListView" row="0" column="0" rowspan="1" colspan="4"> <widget class="TDEListView" row="0" column="0" rowspan="1" colspan="4">
<column> <column>
<property name="text"> <property name="text">
<string>PlugIn</string> <string>PlugIn</string>

@ -37,7 +37,7 @@
#include "krecentfileitem.h" #include "krecentfileitem.h"
KRecentFileItem::KRecentFileItem(const TQString& url, TQIconView* parent, const TQString& text, const TQPixmap& icon) TDERecentFileItem::TDERecentFileItem(const TQString& url, TQIconView* parent, const TQString& text, const TQPixmap& icon)
: TQIconViewItem(parent, text, icon), : TQIconViewItem(parent, text, icon),
m_url(url), m_url(url),
m_parent(parent) m_parent(parent)
@ -47,11 +47,11 @@ KRecentFileItem::KRecentFileItem(const TQString& url, TQIconView* parent, const
setDragEnabled(false); setDragEnabled(false);
} }
KRecentFileItem::~KRecentFileItem() TDERecentFileItem::~TDERecentFileItem()
{ {
} }
bool KRecentFileItem::move( int x, int y ) bool TDERecentFileItem::move( int x, int y )
{ {
TQRect r = rect(); TQRect r = rect();
TQToolTip::remove(m_parent, rect()); TQToolTip::remove(m_parent, rect());

@ -40,10 +40,10 @@
* @author Michael Edwardes * @author Michael Edwardes
*/ */
class KRecentFileItem : public TQIconViewItem { class TDERecentFileItem : public TQIconViewItem {
public: public:
KRecentFileItem(const TQString& url, TQIconView* parent, const TQString& text, const TQPixmap& icon); TDERecentFileItem(const TQString& url, TQIconView* parent, const TQString& text, const TQPixmap& icon);
~KRecentFileItem(); ~TDERecentFileItem();
TQString fileURL(void) const { return m_url; } TQString fileURL(void) const { return m_url; }
bool move( int x, int y ); bool move( int x, int y );

@ -141,7 +141,7 @@ Your account is balanced when the Difference is Zero. Click on the Finish butto
<string>Withdrawals</string> <string>Withdrawals</string>
</property> </property>
</widget> </widget>
<widget class="KListView"> <widget class="TDEListView">
<property name="name"> <property name="name">
<cstring>debitListView</cstring> <cstring>debitListView</cstring>
</property> </property>
@ -198,7 +198,7 @@ Your account is balanced when the Difference is Zero. Click on the Finish butto
<string>Deposits</string> <string>Deposits</string>
</property> </property>
</widget> </widget>
<widget class="KListView"> <widget class="TDEListView">
<property name="name"> <property name="name">
<cstring>creditListView</cstring> <cstring>creditListView</cstring>
</property> </property>

@ -115,7 +115,7 @@ void KSecurityListEditor::slotLoadList(void)
list += MyMoneyFile::instance()->currencyList(); list += MyMoneyFile::instance()->currencyList();
} }
for(it = list.begin(); it != list.end(); ++it) { for(it = list.begin(); it != list.end(); ++it) {
KListViewItem* newItem = new KListViewItem(m_listView, TQString((*it).id())); TDEListViewItem* newItem = new TDEListViewItem(m_listView, TQString((*it).id()));
fillItem(newItem, *it); fillItem(newItem, *it);
} }

@ -30,7 +30,7 @@
<property name="name"> <property name="name">
<cstring>unnamed</cstring> <cstring>unnamed</cstring>
</property> </property>
<widget class="KListView"> <widget class="TDEListView">
<column> <column>
<property name="text"> <property name="text">
<string>ID</string> <string>ID</string>

@ -45,8 +45,8 @@
#include "kselectdatabasedlg.h" #include "kselectdatabasedlg.h"
KSelectDatabaseDlg::KSelectDatabaseDlg(TQWidget *parent, const char *name) TDESelectDatabaseDlg::TDESelectDatabaseDlg(TQWidget *parent, const char *name)
: KSelectDatabaseDlgDecl(parent, name) { : TDESelectDatabaseDlgDecl(parent, name) {
listDrivers->clear(); listDrivers->clear();
// list drivers supported by KMM // list drivers supported by KMM
TQMap<TQString, TQString> map = m_map.driverMap(); TQMap<TQString, TQString> map = m_map.driverMap();
@ -95,8 +95,8 @@ KSelectDatabaseDlg::KSelectDatabaseDlg(TQWidget *parent, const char *name)
} }
} }
KSelectDatabaseDlg::KSelectDatabaseDlg(KURL openURL, TQWidget *parent, const char *name) TDESelectDatabaseDlg::TDESelectDatabaseDlg(KURL openURL, TQWidget *parent, const char *name)
: KSelectDatabaseDlgDecl(parent, name) { : TDESelectDatabaseDlgDecl(parent, name) {
// here we are re-opening a database from a URL // here we are re-opening a database from a URL
// probably taken from the last-used or recent file list // probably taken from the last-used or recent file list
listDrivers->clear(); listDrivers->clear();
@ -142,16 +142,16 @@ KSelectDatabaseDlg::KSelectDatabaseDlg(KURL openURL, TQWidget *parent, const cha
} }
KSelectDatabaseDlg::~KSelectDatabaseDlg() { TDESelectDatabaseDlg::~TDESelectDatabaseDlg() {
if (m_requiredFields != 0) delete m_requiredFields; if (m_requiredFields != 0) delete m_requiredFields;
} }
void KSelectDatabaseDlg::setMode (int openMode) { void TDESelectDatabaseDlg::setMode (int openMode) {
m_mode = openMode; m_mode = openMode;
checkPreLoad->setEnabled (openMode == IO_ReadWrite); checkPreLoad->setEnabled (openMode == IO_ReadWrite);
} }
const KURL KSelectDatabaseDlg::selectedURL() { const KURL TDESelectDatabaseDlg::selectedURL() {
KURL url; KURL url;
url.setProtocol("sql"); url.setProtocol("sql");
url.setUser(textUserName->text()); url.setUser(textUserName->text());
@ -166,7 +166,7 @@ const KURL KSelectDatabaseDlg::selectedURL() {
return (url); return (url);
} }
void KSelectDatabaseDlg::slotDriverSelected (TQListBoxItem *driver) { void TDESelectDatabaseDlg::slotDriverSelected (TQListBoxItem *driver) {
databaseTypeE dbType = m_map.driverToType(driver->text().section(' ', 0, 0)); databaseTypeE dbType = m_map.driverToType(driver->text().section(' ', 0, 0));
if (!m_map.isTested(dbType)) { if (!m_map.isTested(dbType)) {
int rc = KMessageBox::warningContinueCancel (0, int rc = KMessageBox::warningContinueCancel (0,
@ -203,7 +203,7 @@ void KSelectDatabaseDlg::slotDriverSelected (TQListBoxItem *driver) {
} }
} }
void KSelectDatabaseDlg::slotGenerateSQL () { void TDESelectDatabaseDlg::slotGenerateSQL () {
TQString fileName = TQFileDialog::getSaveFileName( TQString fileName = TQFileDialog::getSaveFileName(
"", "",
i18n("All files (*.*)"), i18n("All files (*.*)"),
@ -219,11 +219,11 @@ void KSelectDatabaseDlg::slotGenerateSQL () {
out.close(); out.close();
} }
void KSelectDatabaseDlg::slotHelp(void) { void TDESelectDatabaseDlg::slotHelp(void) {
kapp->invokeHelp("details.database.selectdatabase"); kapp->invokeHelp("details.database.selectdatabase");
} }
void KSelectDatabaseDlg::setError() { void TDESelectDatabaseDlg::setError() {
buttonOK->setEnabled(false); buttonOK->setEnabled(false);
buttonSQL->setEnabled(false); buttonSQL->setEnabled(false);
m_requiredFields = 0; m_requiredFields = 0;

@ -34,14 +34,14 @@
#include "../mymoney/storage/mymoneystoragesql.h" #include "../mymoney/storage/mymoneystoragesql.h"
#include "kmymoney/kguiutils.h" #include "kmymoney/kguiutils.h"
class KSelectDatabaseDlg : public KSelectDatabaseDlgDecl class TDESelectDatabaseDlg : public TDESelectDatabaseDlgDecl
{ {
Q_OBJECT Q_OBJECT
public: public:
KSelectDatabaseDlg(TQWidget *parent = 0, const char *name = 0); TDESelectDatabaseDlg(TQWidget *parent = 0, const char *name = 0);
KSelectDatabaseDlg(KURL openURL, TQWidget *parent = 0, const char *name = 0); TDESelectDatabaseDlg(KURL openURL, TQWidget *parent = 0, const char *name = 0);
~KSelectDatabaseDlg(); ~TDESelectDatabaseDlg();
/** Set the mode of this dialog /** Set the mode of this dialog
* @param - openMode (IO_ReadWrite = open database; IO_WriteOnly = saveas database) * @param - openMode (IO_ReadWrite = open database; IO_WriteOnly = saveas database)
**/ **/

@ -1,8 +1,8 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KSelectDatabaseDlgDecl</class> <class>TDESelectDatabaseDlgDecl</class>
<widget class="TQDialog"> <widget class="TQDialog">
<property name="name"> <property name="name">
<cstring>KSelectDatabaseDlgDecl</cstring> <cstring>TDESelectDatabaseDlgDecl</cstring>
</property> </property>
<property name="geometry"> <property name="geometry">
<rect> <rect>
@ -236,13 +236,13 @@ As always, please make sure you have adequate backups of your data.&lt;/font&gt;
<connection> <connection>
<sender>buttonOK</sender> <sender>buttonOK</sender>
<signal>released()</signal> <signal>released()</signal>
<receiver>KSelectDatabaseDlgDecl</receiver> <receiver>TDESelectDatabaseDlgDecl</receiver>
<slot>accept()</slot> <slot>accept()</slot>
</connection> </connection>
<connection> <connection>
<sender>buttonCancel</sender> <sender>buttonCancel</sender>
<signal>released()</signal> <signal>released()</signal>
<receiver>KSelectDatabaseDlgDecl</receiver> <receiver>TDESelectDatabaseDlgDecl</receiver>
<slot>reject()</slot> <slot>reject()</slot>
</connection> </connection>
</connections> </connections>

@ -36,8 +36,8 @@
#include "kmergetransactionsdlg.h" #include "kmergetransactionsdlg.h"
KSelectTransactionsDlg::KSelectTransactionsDlg(const MyMoneyAccount& _account, TQWidget* parent, const char* name) : TDESelectTransactionsDlg::TDESelectTransactionsDlg(const MyMoneyAccount& _account, TQWidget* parent, const char* name) :
KSelectTransactionsDlgDecl(parent, name), TDESelectTransactionsDlgDecl(parent, name),
m_account(_account) m_account(_account)
{ {
// setup descriptive texts // setup descriptive texts
@ -82,12 +82,12 @@ KSelectTransactionsDlg::KSelectTransactionsDlg(const MyMoneyAccount& _account, T
connect(m_helpButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotHelp())); connect(m_helpButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotHelp()));
} }
void KSelectTransactionsDlg::slotEnableOk(const KMyMoneyRegister::SelectedTransactions& list) void TDESelectTransactionsDlg::slotEnableOk(const KMyMoneyRegister::SelectedTransactions& list)
{ {
buttonOk->setEnabled(list.count() != 0); buttonOk->setEnabled(list.count() != 0);
} }
void KSelectTransactionsDlg::addTransaction(const MyMoneyTransaction& t) void TDESelectTransactionsDlg::addTransaction(const MyMoneyTransaction& t)
{ {
TQValueList<MyMoneySplit>::const_iterator it_s; TQValueList<MyMoneySplit>::const_iterator it_s;
for(it_s = t.splits().begin(); it_s != t.splits().end(); ++it_s) { for(it_s = t.splits().begin(); it_s != t.splits().end(); ++it_s) {
@ -100,37 +100,37 @@ void KSelectTransactionsDlg::addTransaction(const MyMoneyTransaction& t)
} }
} }
int KSelectTransactionsDlg::exec(void) int TDESelectTransactionsDlg::exec(void)
{ {
m_register->updateRegister(true); m_register->updateRegister(true);
m_register->updateContents(); m_register->updateContents();
m_register->setFocus(); m_register->setFocus();
return KSelectTransactionsDlgDecl::exec(); return TDESelectTransactionsDlgDecl::exec();
} }
void KSelectTransactionsDlg::slotHelp(void) void TDESelectTransactionsDlg::slotHelp(void)
{ {
// kapp->invokeHelp("details.ledgers.match"); // kapp->invokeHelp("details.ledgers.match");
} }
void KSelectTransactionsDlg::show(void) void TDESelectTransactionsDlg::show(void)
{ {
KSelectTransactionsDlgDecl::show(); TDESelectTransactionsDlgDecl::show();
m_register->resize(KMyMoneyRegister::DetailColumn); m_register->resize(KMyMoneyRegister::DetailColumn);
} }
void KSelectTransactionsDlg::resizeEvent(TQResizeEvent* ev) void TDESelectTransactionsDlg::resizeEvent(TQResizeEvent* ev)
{ {
// don't forget the resizer // don't forget the resizer
KSelectTransactionsDlgDecl::resizeEvent(ev); TDESelectTransactionsDlgDecl::resizeEvent(ev);
// resize the register // resize the register
m_register->resize(KMyMoneyRegister::DetailColumn); m_register->resize(KMyMoneyRegister::DetailColumn);
} }
MyMoneyTransaction KSelectTransactionsDlg::transaction(void) const MyMoneyTransaction TDESelectTransactionsDlg::transaction(void) const
{ {
MyMoneyTransaction t; MyMoneyTransaction t;
@ -144,7 +144,7 @@ MyMoneyTransaction KSelectTransactionsDlg::transaction(void) const
return t; return t;
} }
bool KSelectTransactionsDlg::eventFilter(TQObject* o, TQEvent* e) bool TDESelectTransactionsDlg::eventFilter(TQObject* o, TQEvent* e)
{ {
bool rc = false; bool rc = false;
TQKeyEvent* k; TQKeyEvent* k;

@ -36,12 +36,12 @@ class TQResizeEvent;
#include "../dialogs/kselecttransactionsdlgdecl.h" #include "../dialogs/kselecttransactionsdlgdecl.h"
class KSelectTransactionsDlg: public KSelectTransactionsDlgDecl class TDESelectTransactionsDlg: public TDESelectTransactionsDlgDecl
{ {
Q_OBJECT Q_OBJECT
public: public:
KSelectTransactionsDlg(const MyMoneyAccount& account, TQWidget* parent = 0, const char* name = 0); TDESelectTransactionsDlg(const MyMoneyAccount& account, TQWidget* parent = 0, const char* name = 0);
/** /**
* Adds the transaction @a t to the dialog * Adds the transaction @a t to the dialog

@ -1,8 +1,8 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KSelectTransactionsDlgDecl</class> <class>TDESelectTransactionsDlgDecl</class>
<widget class="TQDialog"> <widget class="TQDialog">
<property name="name"> <property name="name">
<cstring>KSelectTransactionsDlgDecl</cstring> <cstring>TDESelectTransactionsDlgDecl</cstring>
</property> </property>
<property name="geometry"> <property name="geometry">
<rect> <rect>
@ -160,13 +160,13 @@
<connection> <connection>
<sender>buttonOk</sender> <sender>buttonOk</sender>
<signal>clicked()</signal> <signal>clicked()</signal>
<receiver>KSelectTransactionsDlgDecl</receiver> <receiver>TDESelectTransactionsDlgDecl</receiver>
<slot>accept()</slot> <slot>accept()</slot>
</connection> </connection>
<connection> <connection>
<sender>buttonCancel</sender> <sender>buttonCancel</sender>
<signal>clicked()</signal> <signal>clicked()</signal>
<receiver>KSelectTransactionsDlgDecl</receiver> <receiver>TDESelectTransactionsDlgDecl</receiver>
<slot>reject()</slot> <slot>reject()</slot>
</connection> </connection>
</connections> </connections>

@ -142,7 +142,7 @@ void KStartDlg::readConfig()
if( !value.isNull() && fileExists(value) ) if( !value.isNull() && fileExists(value) )
{ {
TQString file_name = value.mid(value.findRev('/')+1); TQString file_name = value.mid(value.findRev('/')+1);
(void)new KRecentFileItem( value, view_recent, file_name, il->loadIcon("kmy", KIcon::Desktop, KIcon::SizeLarge)); (void)new TDERecentFileItem( value, view_recent, file_name, il->loadIcon("kmy", KIcon::Desktop, KIcon::SizeLarge));
} }
i++; i++;
} while( !value.isNull() ); } while( !value.isNull() );
@ -176,7 +176,7 @@ void KStartDlg::writeConfig()
/** slot to recent view */ /** slot to recent view */
void KStartDlg::slotRecentClicked(TQIconViewItem *item) void KStartDlg::slotRecentClicked(TQIconViewItem *item)
{ {
KRecentFileItem *kitem = (KRecentFileItem*)item; TDERecentFileItem *kitem = (TDERecentFileItem*)item;
if(!kitem) return; if(!kitem) return;
isopenfile = true; isopenfile = true;
@ -220,7 +220,7 @@ void KStartDlg::slotTemplateSelectionChanged(TQIconViewItem* item)
void KStartDlg::slotRecentSelectionChanged(TQIconViewItem* item) void KStartDlg::slotRecentSelectionChanged(TQIconViewItem* item)
{ {
KRecentFileItem *kitem = (KRecentFileItem*)item; TDERecentFileItem *kitem = (TDERecentFileItem*)item;
if(!kitem) return; if(!kitem) return;
// Clear the other selection // Clear the other selection

@ -38,12 +38,12 @@
<property name="name"> <property name="name">
<cstring>unnamed</cstring> <cstring>unnamed</cstring>
</property> </property>
<widget class="KFontRequester" row="0" column="2"> <widget class="TDEFontRequester" row="0" column="2">
<property name="name"> <property name="name">
<cstring>kcfg_listCellFont</cstring> <cstring>kcfg_listCellFont</cstring>
</property> </property>
</widget> </widget>
<widget class="KFontRequester" row="1" column="2"> <widget class="TDEFontRequester" row="1" column="2">
<property name="name"> <property name="name">
<cstring>kcfg_listHeaderFont</cstring> <cstring>kcfg_listHeaderFont</cstring>
</property> </property>

@ -370,7 +370,7 @@
<set>WordBreak|AlignTop</set> <set>WordBreak|AlignTop</set>
</property> </property>
</widget> </widget>
<widget class="KListView"> <widget class="TDEListView">
<property name="name"> <property name="name">
<cstring>m_viewList</cstring> <cstring>m_viewList</cstring>
</property> </property>

@ -132,7 +132,7 @@ Use the buttons and checkboxes to customize the layout of the home page.</string
<string></string> <string></string>
</property> </property>
</widget> </widget>
<widget class="KListView" row="0" column="1" rowspan="2" colspan="1"> <widget class="TDEListView" row="0" column="1" rowspan="2" colspan="1">
<property name="name"> <property name="name">
<cstring>m_homePageList</cstring> <cstring>m_homePageList</cstring>
</property> </property>

@ -25,7 +25,7 @@
<property name="name"> <property name="name">
<cstring>unnamed</cstring> <cstring>unnamed</cstring>
</property> </property>
<widget class="KListView"> <widget class="TDEListView">
<column> <column>
<property name="text"> <property name="text">
<string>Name</string> <string>Name</string>

@ -1286,7 +1286,7 @@ void StdTransactionEditor::autoFill(const TQString& payeeId)
t = list.last().first; t = list.last().first;
} else { } else {
#endif #endif
KSelectTransactionsDlg dlg(m_account, m_regForm); TDESelectTransactionsDlg dlg(m_account, m_regForm);
dlg.setCaption(i18n("Select autofill transaction")); dlg.setCaption(i18n("Select autofill transaction"));
TQMap<TQString, struct uniqTransaction>::const_iterator it_u; TQMap<TQString, struct uniqTransaction>::const_iterator it_u;

@ -193,7 +193,7 @@ signals:
/** /**
* This signal is sent out whenever enough data is present to enter the * This signal is sent out whenever enough data is present to enter the
* transaction into the ledger. This signal can be used to control the * transaction into the ledger. This signal can be used to control the
* KAction which implements entering the transaction. * TDEAction which implements entering the transaction.
* *
* @sa isComplete() * @sa isComplete()
* *

@ -176,7 +176,7 @@ public:
}; };
KMyMoney2App::KMyMoney2App(TQWidget * /*parent*/ , const char* name) : KMyMoney2App::KMyMoney2App(TQWidget * /*parent*/ , const char* name) :
KMainWindow(0, name), TDEMainWindow(0, name),
DCOPObject("kmymoney2app"), DCOPObject("kmymoney2app"),
d(new Private), d(new Private),
myMoneyView(0), myMoneyView(0),
@ -299,7 +299,7 @@ void KMyMoney2App::initDynamicMenus(void)
void KMyMoney2App::initActions(void) void KMyMoney2App::initActions(void)
{ {
KAction* p; TDEAction* p;
// ************* // *************
// The File menu // The File menu
@ -313,177 +313,177 @@ void KMyMoney2App::initActions(void)
KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(slotFileQuit()), actionCollection()); KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(slotFileQuit()), actionCollection());
KStdAction::print(TQT_TQOBJECT(this), TQT_SLOT(slotPrintView()), actionCollection()); KStdAction::print(TQT_TQOBJECT(this), TQT_SLOT(slotPrintView()), actionCollection());
new KAction(i18n("Open database..."), "",0,TQT_TQOBJECT(this), TQT_SLOT(slotOpenDatabase()),actionCollection(),"open_database"); new TDEAction(i18n("Open database..."), "",0,TQT_TQOBJECT(this), TQT_SLOT(slotOpenDatabase()),actionCollection(),"open_database");
new KAction(i18n("Save as database..."), "",0,TQT_TQOBJECT(this), TQT_SLOT(slotSaveAsDatabase()),actionCollection(),"saveas_database"); new TDEAction(i18n("Save as database..."), "",0,TQT_TQOBJECT(this), TQT_SLOT(slotSaveAsDatabase()),actionCollection(),"saveas_database");
new KAction(i18n("Backup..."), "backup",0,TQT_TQOBJECT(this), TQT_SLOT(slotFileBackup()),actionCollection(),"file_backup"); new TDEAction(i18n("Backup..."), "backup",0,TQT_TQOBJECT(this), TQT_SLOT(slotFileBackup()),actionCollection(),"file_backup");
new KAction(i18n("QIF..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotQifImport()), actionCollection(), "file_import_qif"); new TDEAction(i18n("QIF..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotQifImport()), actionCollection(), "file_import_qif");
new KAction(i18n("Gnucash..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotGncImport()), actionCollection(), "file_import_gnc"); new TDEAction(i18n("Gnucash..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotGncImport()), actionCollection(), "file_import_gnc");
new KAction(i18n("Statement file..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotStatementImport()), actionCollection(), "file_import_statement"); new TDEAction(i18n("Statement file..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotStatementImport()), actionCollection(), "file_import_statement");
new KAction(i18n("Account Template..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotLoadAccountTemplates()), actionCollection(), "file_import_template"); new TDEAction(i18n("Account Template..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotLoadAccountTemplates()), actionCollection(), "file_import_template");
new KAction(i18n("Account Template..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotSaveAccountTemplates()), actionCollection(), "file_export_template"); new TDEAction(i18n("Account Template..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotSaveAccountTemplates()), actionCollection(), "file_export_template");
new KAction(i18n("QIF..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotQifExport()), actionCollection(), "file_export_qif"); new TDEAction(i18n("QIF..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotQifExport()), actionCollection(), "file_export_qif");
new KAction(i18n("Personal Data..."), "personal_data", 0, TQT_TQOBJECT(this), TQT_SLOT(slotFileViewPersonal()), actionCollection(), "view_personal_data"); new TDEAction(i18n("Personal Data..."), "personal_data", 0, TQT_TQOBJECT(this), TQT_SLOT(slotFileViewPersonal()), actionCollection(), "view_personal_data");
#if KMM_DEBUG #if KMM_DEBUG
new KAction(i18n("Dump Memory"), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotFileFileInfo()), actionCollection(), "file_dump"); new TDEAction(i18n("Dump Memory"), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotFileFileInfo()), actionCollection(), "file_dump");
#endif #endif
new KAction(i18n("File-Information..."), "info", 0, TQT_TQOBJECT(this), TQT_SLOT(slotFileInfoDialog()), actionCollection(), "view_file_info"); new TDEAction(i18n("File-Information..."), "info", 0, TQT_TQOBJECT(this), TQT_SLOT(slotFileInfoDialog()), actionCollection(), "view_file_info");
// ************* // *************
// The Edit menu // The Edit menu
// ************* // *************
new KAction(i18n("Find transaction..."), "transaction_find", KShortcut("Ctrl+F"), TQT_TQOBJECT(this), TQT_SLOT(slotFindTransaction()), actionCollection(), "edit_find_transaction"); new TDEAction(i18n("Find transaction..."), "transaction_find", TDEShortcut("Ctrl+F"), TQT_TQOBJECT(this), TQT_SLOT(slotFindTransaction()), actionCollection(), "edit_find_transaction");
// ************* // *************
// The View menu // The View menu
// ************* // *************
new KToggleAction(i18n("Show Transaction Detail"), KShortcut("Ctrl+T"), actionCollection(), "view_show_transaction_detail"); new TDEToggleAction(i18n("Show Transaction Detail"), TDEShortcut("Ctrl+T"), actionCollection(), "view_show_transaction_detail");
new KToggleAction(i18n("Hide reconciled transactions"), "hide_reconciled", KShortcut("Ctrl+R"), TQT_TQOBJECT(this), TQT_SLOT(slotHideReconciledTransactions()), actionCollection(), "view_hide_reconciled_transactions"); new TDEToggleAction(i18n("Hide reconciled transactions"), "hide_reconciled", TDEShortcut("Ctrl+R"), TQT_TQOBJECT(this), TQT_SLOT(slotHideReconciledTransactions()), actionCollection(), "view_hide_reconciled_transactions");
new KToggleAction(i18n("Hide unused categories"), "hide_categories", KShortcut("Ctrl+U"), TQT_TQOBJECT(this), TQT_SLOT(slotHideUnusedCategories()), actionCollection(), "view_hide_unused_categories"); new TDEToggleAction(i18n("Hide unused categories"), "hide_categories", TDEShortcut("Ctrl+U"), TQT_TQOBJECT(this), TQT_SLOT(slotHideUnusedCategories()), actionCollection(), "view_hide_unused_categories");
new KToggleAction(i18n("Show all accounts"), "", KShortcut("Ctrl+Shift+A"), TQT_TQOBJECT(this), TQT_SLOT(slotShowAllAccounts()), actionCollection(), "view_show_all_accounts"); new TDEToggleAction(i18n("Show all accounts"), "", TDEShortcut("Ctrl+Shift+A"), TQT_TQOBJECT(this), TQT_SLOT(slotShowAllAccounts()), actionCollection(), "view_show_all_accounts");
// ********************* // *********************
// The institutions menu // The institutions menu
// ********************* // *********************
new KAction(i18n("New institution..."), "institution_add", 0, TQT_TQOBJECT(this), TQT_SLOT(slotInstitutionNew()), actionCollection(), "institution_new"); new TDEAction(i18n("New institution..."), "institution_add", 0, TQT_TQOBJECT(this), TQT_SLOT(slotInstitutionNew()), actionCollection(), "institution_new");
new KAction(i18n("Edit institution..."), "edit", 0, TQT_TQOBJECT(this), TQT_SLOT(slotInstitutionEdit()), actionCollection(), "institution_edit"); new TDEAction(i18n("Edit institution..."), "edit", 0, TQT_TQOBJECT(this), TQT_SLOT(slotInstitutionEdit()), actionCollection(), "institution_edit");
new KAction(i18n("Delete institution..."), "delete", 0, TQT_TQOBJECT(this), TQT_SLOT(slotInstitutionDelete()), actionCollection(), "institution_delete"); new TDEAction(i18n("Delete institution..."), "delete", 0, TQT_TQOBJECT(this), TQT_SLOT(slotInstitutionDelete()), actionCollection(), "institution_delete");
// ***************** // *****************
// The accounts menu // The accounts menu
// ***************** // *****************
new KAction(i18n("New account..."), "account_add", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountNew()), actionCollection(), "account_new"); new TDEAction(i18n("New account..."), "account_add", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountNew()), actionCollection(), "account_new");
// note : action "category_new" is included in this menu but defined below // note : action "category_new" is included in this menu but defined below
new KAction(i18n("Open ledger"), "ledger", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountOpen()), actionCollection(), "account_open"); new TDEAction(i18n("Open ledger"), "ledger", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountOpen()), actionCollection(), "account_open");
new KAction(i18n("Reconcile..."), "reconcile", KShortcut("Ctrl+Shift+R"), TQT_TQOBJECT(this), TQT_SLOT(slotAccountReconcileStart()), actionCollection(), "account_reconcile"); new TDEAction(i18n("Reconcile..."), "reconcile", TDEShortcut("Ctrl+Shift+R"), TQT_TQOBJECT(this), TQT_SLOT(slotAccountReconcileStart()), actionCollection(), "account_reconcile");
new KAction(i18n("Finish reconciliation", "Finish"), "player_end", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountReconcileFinish()), actionCollection(), "account_reconcile_finish"); new TDEAction(i18n("Finish reconciliation", "Finish"), "player_end", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountReconcileFinish()), actionCollection(), "account_reconcile_finish");
new KAction(i18n("Postpone reconciliation", "Postpone"), "player_pause", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountReconcilePostpone()), actionCollection(), "account_reconcile_postpone"); new TDEAction(i18n("Postpone reconciliation", "Postpone"), "player_pause", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountReconcilePostpone()), actionCollection(), "account_reconcile_postpone");
new KAction(i18n("Edit account..."), "edit", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountEdit()), actionCollection(), "account_edit"); new TDEAction(i18n("Edit account..."), "edit", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountEdit()), actionCollection(), "account_edit");
new KAction(i18n("Delete account..."), "delete", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountDelete()), actionCollection(), "account_delete"); new TDEAction(i18n("Delete account..."), "delete", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountDelete()), actionCollection(), "account_delete");
new KAction(i18n("Close account"), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountClose()), actionCollection(), "account_close"); new TDEAction(i18n("Close account"), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountClose()), actionCollection(), "account_close");
new KAction(i18n("Reopen account"), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountReopen()), actionCollection(), "account_reopen"); new TDEAction(i18n("Reopen account"), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountReopen()), actionCollection(), "account_reopen");
new KAction(i18n("Transaction report"), "view_info", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountTransactionReport()), actionCollection(), "account_transaction_report"); new TDEAction(i18n("Transaction report"), "view_info", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountTransactionReport()), actionCollection(), "account_transaction_report");
#ifdef HAVE_KDCHART #ifdef HAVE_KDCHART
new KAction(i18n("Show balance chart..."), "kchart_chrt", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountChart()), actionCollection(), "account_chart"); new TDEAction(i18n("Show balance chart..."), "kchart_chrt", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountChart()), actionCollection(), "account_chart");
#endif #endif
new KAction(i18n("Map to online account"), "news_subscribe", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountMapOnline()), actionCollection(), "account_online_map"); new TDEAction(i18n("Map to online account"), "news_subscribe", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountMapOnline()), actionCollection(), "account_online_map");
new KAction(i18n("Unmap account"), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountUnmapOnline()), actionCollection(), "account_online_unmap"); new TDEAction(i18n("Unmap account"), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountUnmapOnline()), actionCollection(), "account_online_unmap");
KActionMenu* menu = new KActionMenu(i18n("Update"), TQIconSet(TDEGlobal::iconLoader()->loadIcon("reload", KIcon::Small, TDEActionMenu* menu = new TDEActionMenu(i18n("Update"), TQIconSet(TDEGlobal::iconLoader()->loadIcon("reload", KIcon::Small,
KIcon::SizeSmall)), actionCollection(), "account_online_update_menu"); KIcon::SizeSmall)), actionCollection(), "account_online_update_menu");
// activating the menu button is the same as selecting the current account // activating the menu button is the same as selecting the current account
connect( menu, TQT_SIGNAL( activated() ), TQT_TQOBJECT(this), TQT_SLOT(slotAccountUpdateOnline())); connect( menu, TQT_SIGNAL( activated() ), TQT_TQOBJECT(this), TQT_SLOT(slotAccountUpdateOnline()));
menu->insert(new KAction(i18n("Update account..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountUpdateOnline()), actionCollection(), "account_online_update")); menu->insert(new TDEAction(i18n("Update account..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountUpdateOnline()), actionCollection(), "account_online_update"));
menu->insert(new KAction(i18n("Update all accounts..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountUpdateOnlineAll()), actionCollection(), "account_online_update_all")); menu->insert(new TDEAction(i18n("Update all accounts..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountUpdateOnlineAll()), actionCollection(), "account_online_update_all"));
// ******************* // *******************
// The categories menu // The categories menu
// ******************* // *******************
new KAction(i18n("New category..."), "account_add", 0, TQT_TQOBJECT(this), TQT_SLOT(slotCategoryNew()), actionCollection(), "category_new"); new TDEAction(i18n("New category..."), "account_add", 0, TQT_TQOBJECT(this), TQT_SLOT(slotCategoryNew()), actionCollection(), "category_new");
new KAction(i18n("Edit category..."), "edit", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountEdit()), actionCollection(), "category_edit"); new TDEAction(i18n("Edit category..."), "edit", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountEdit()), actionCollection(), "category_edit");
new KAction(i18n("Delete category..."), "delete", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountDelete()), actionCollection(), "category_delete"); new TDEAction(i18n("Delete category..."), "delete", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAccountDelete()), actionCollection(), "category_delete");
// ************** // **************
// The tools menu // The tools menu
// ************** // **************
new KAction(i18n("QIF Profile Editor..."), "edit", 0, TQT_TQOBJECT(this), TQT_SLOT(slotQifProfileEditor()), actionCollection(), "tools_qif_editor"); new TDEAction(i18n("QIF Profile Editor..."), "edit", 0, TQT_TQOBJECT(this), TQT_SLOT(slotQifProfileEditor()), actionCollection(), "tools_qif_editor");
new KAction(i18n("Securities..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotSecurityEditor()), actionCollection(), "tools_security_editor"); new TDEAction(i18n("Securities..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotSecurityEditor()), actionCollection(), "tools_security_editor");
new KAction(i18n("Currencies..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotCurrencyDialog()), actionCollection(), "tools_currency_editor"); new TDEAction(i18n("Currencies..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotCurrencyDialog()), actionCollection(), "tools_currency_editor");
new KAction(i18n("Prices..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotPriceDialog()), actionCollection(), "tools_price_editor"); new TDEAction(i18n("Prices..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotPriceDialog()), actionCollection(), "tools_price_editor");
new KAction(i18n("Update Stock and Currency Prices..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotEquityPriceUpdate()), actionCollection(), "tools_update_prices"); new TDEAction(i18n("Update Stock and Currency Prices..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotEquityPriceUpdate()), actionCollection(), "tools_update_prices");
new KAction(i18n("Consistency Check"), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotFileConsitencyCheck()), actionCollection(), "tools_consistency_check"); new TDEAction(i18n("Consistency Check"), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotFileConsitencyCheck()), actionCollection(), "tools_consistency_check");
new KAction(i18n("Performance-Test"), "fork", 0, TQT_TQOBJECT(this), TQT_SLOT(slotPerformanceTest()), actionCollection(), "tools_performancetest"); new TDEAction(i18n("Performance-Test"), "fork", 0, TQT_TQOBJECT(this), TQT_SLOT(slotPerformanceTest()), actionCollection(), "tools_performancetest");
new KAction(i18n("KCalc..."), "kcalc", 0, TQT_TQOBJECT(this), TQT_SLOT(slotToolsStartKCalc()), actionCollection(), "tools_kcalc"); new TDEAction(i18n("KCalc..."), "kcalc", 0, TQT_TQOBJECT(this), TQT_SLOT(slotToolsStartKCalc()), actionCollection(), "tools_kcalc");
// ***************** // *****************
// The settings menu // The settings menu
// ***************** // *****************
KStdAction::preferences(TQT_TQOBJECT(this), TQT_SLOT( slotSettings() ), actionCollection()); KStdAction::preferences(TQT_TQOBJECT(this), TQT_SLOT( slotSettings() ), actionCollection());
new KAction(i18n("Enable all messages"), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotEnableMessages()), actionCollection(), "settings_enable_messages"); new TDEAction(i18n("Enable all messages"), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotEnableMessages()), actionCollection(), "settings_enable_messages");
new KAction(i18n("TDE language settings..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotKDELanguageSettings()), actionCollection(), "settings_language"); new TDEAction(i18n("TDE language settings..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotKDELanguageSettings()), actionCollection(), "settings_language");
// ************* // *************
// The help menu // The help menu
// ************* // *************
new KAction(i18n("&Show tip of the day"), "idea", 0, TQT_TQOBJECT(this), TQT_SLOT(slotShowTipOfTheDay()), actionCollection(), "help_show_tip"); new TDEAction(i18n("&Show tip of the day"), "idea", 0, TQT_TQOBJECT(this), TQT_SLOT(slotShowTipOfTheDay()), actionCollection(), "help_show_tip");
// *************************** // ***************************
// Actions w/o main menu entry // Actions w/o main menu entry
// *************************** // ***************************
new KAction(i18n("New transaction button", "New"), "filenew", TQKeySequence(TQt::CTRL | TQt::Key_Insert), TQT_TQOBJECT(this), TQT_SLOT(slotTransactionsNew()), actionCollection(), "transaction_new"); new TDEAction(i18n("New transaction button", "New"), "filenew", TQKeySequence(TQt::CTRL | TQt::Key_Insert), TQT_TQOBJECT(this), TQT_SLOT(slotTransactionsNew()), actionCollection(), "transaction_new");
// we use Return as the same shortcut for Edit and Enter. Therefore, we don't allow // we use Return as the same shortcut for Edit and Enter. Therefore, we don't allow
// to change them (The standard KDE dialog complains anyway if you want to assign // to change them (The standard KDE dialog complains anyway if you want to assign
// the same shortcut to two actions) // the same shortcut to two actions)
p = new KAction(i18n("Edit transaction button", "Edit"), "edit", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionsEdit()), actionCollection(), "transaction_edit"); p = new TDEAction(i18n("Edit transaction button", "Edit"), "edit", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionsEdit()), actionCollection(), "transaction_edit");
p->setShortcutConfigurable(false); p->setShortcutConfigurable(false);
p = new KAction(i18n("Enter transaction", "Enter"), "button_ok", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionsEnter()), actionCollection(), "transaction_enter"); p = new TDEAction(i18n("Enter transaction", "Enter"), "button_ok", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionsEnter()), actionCollection(), "transaction_enter");
p->setShortcutConfigurable(false); p->setShortcutConfigurable(false);
new KAction(i18n("Edit split button", "Edit splits"), "split_transaction", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionsEditSplits()), actionCollection(), "transaction_editsplits"); new TDEAction(i18n("Edit split button", "Edit splits"), "split_transaction", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionsEditSplits()), actionCollection(), "transaction_editsplits");
new KAction(i18n("Cancel transaction edit", "Cancel"), "button_cancel", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionsCancel()), actionCollection(), "transaction_cancel"); new TDEAction(i18n("Cancel transaction edit", "Cancel"), "button_cancel", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionsCancel()), actionCollection(), "transaction_cancel");
new KAction(i18n("Delete transaction", "Delete"), "delete", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionsDelete()), actionCollection(), "transaction_delete"); new TDEAction(i18n("Delete transaction", "Delete"), "delete", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionsDelete()), actionCollection(), "transaction_delete");
new KAction(i18n("Duplicate transaction", "Duplicate"), "editcopy", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionDuplicate()), actionCollection(), "transaction_duplicate"); new TDEAction(i18n("Duplicate transaction", "Duplicate"), "editcopy", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionDuplicate()), actionCollection(), "transaction_duplicate");
new KAction(i18n("Button text for match transaction", "Match"), "stop", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionMatch()), actionCollection(), "transaction_match"); new TDEAction(i18n("Button text for match transaction", "Match"), "stop", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionMatch()), actionCollection(), "transaction_match");
new KAction(i18n("Accept 'imported' and 'matched' transaction", "Accept"), "apply", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionsAccept()), actionCollection(), "transaction_accept"); new TDEAction(i18n("Accept 'imported' and 'matched' transaction", "Accept"), "apply", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionsAccept()), actionCollection(), "transaction_accept");
new KAction(i18n("Toggle reconciliation flag", "Toggle"), 0, KShortcut("Ctrl+Space"), TQT_TQOBJECT(this), TQT_SLOT(slotToggleReconciliationFlag()), actionCollection(), "transaction_mark_toggle"); new TDEAction(i18n("Toggle reconciliation flag", "Toggle"), 0, TDEShortcut("Ctrl+Space"), TQT_TQOBJECT(this), TQT_SLOT(slotToggleReconciliationFlag()), actionCollection(), "transaction_mark_toggle");
new KAction(i18n("Mark transaction cleared", "Cleared"), 0, KShortcut("Ctrl+Alt+Space"), TQT_TQOBJECT(this), TQT_SLOT(slotMarkTransactionCleared()), actionCollection(), "transaction_mark_cleared"); new TDEAction(i18n("Mark transaction cleared", "Cleared"), 0, TDEShortcut("Ctrl+Alt+Space"), TQT_TQOBJECT(this), TQT_SLOT(slotMarkTransactionCleared()), actionCollection(), "transaction_mark_cleared");
new KAction(i18n("Mark transaction reconciled", "Reconciled"), "", KShortcut("Ctrl+Shift+Space"), TQT_TQOBJECT(this), TQT_SLOT(slotMarkTransactionReconciled()), actionCollection(), "transaction_mark_reconciled"); new TDEAction(i18n("Mark transaction reconciled", "Reconciled"), "", TDEShortcut("Ctrl+Shift+Space"), TQT_TQOBJECT(this), TQT_SLOT(slotMarkTransactionReconciled()), actionCollection(), "transaction_mark_reconciled");
new KAction(i18n("Mark transaction not reconciled", "Not reconciled"), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotMarkTransactionNotReconciled()), actionCollection(), "transaction_mark_notreconciled"); new TDEAction(i18n("Mark transaction not reconciled", "Not reconciled"), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotMarkTransactionNotReconciled()), actionCollection(), "transaction_mark_notreconciled");
new KAction(i18n("Select all transactions", "Select all"), 0, KShortcut("Ctrl+A"), TQT_TQOBJECT(this), TQT_SIGNAL(selectAllTransactions()), actionCollection(), "transaction_select_all"); new TDEAction(i18n("Select all transactions", "Select all"), 0, TDEShortcut("Ctrl+A"), TQT_TQOBJECT(this), TQT_SIGNAL(selectAllTransactions()), actionCollection(), "transaction_select_all");
new KAction(i18n("Goto account"), "goto", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionGotoAccount()), actionCollection(), "transaction_goto_account"); new TDEAction(i18n("Goto account"), "goto", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionGotoAccount()), actionCollection(), "transaction_goto_account");
new KAction(i18n("Goto payee"), "goto", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionGotoPayee()), actionCollection(), "transaction_goto_payee"); new TDEAction(i18n("Goto payee"), "goto", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionGotoPayee()), actionCollection(), "transaction_goto_payee");
new KAction(i18n("Create scheduled transaction..."), "bookmark_add", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionCreateSchedule()), actionCollection(), "transaction_create_schedule"); new TDEAction(i18n("Create scheduled transaction..."), "bookmark_add", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionCreateSchedule()), actionCollection(), "transaction_create_schedule");
new KAction(i18n("Assign next number"), "", KShortcut("Ctrl+Shift+N"), TQT_TQOBJECT(this), TQT_SLOT(slotTransactionAssignNumber()), actionCollection(), "transaction_assign_number"); new TDEAction(i18n("Assign next number"), "", TDEShortcut("Ctrl+Shift+N"), TQT_TQOBJECT(this), TQT_SLOT(slotTransactionAssignNumber()), actionCollection(), "transaction_assign_number");
new KAction(i18n("Combine transactions", "Combine"), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionCombine()), actionCollection(), "transaction_combine"); new TDEAction(i18n("Combine transactions", "Combine"), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotTransactionCombine()), actionCollection(), "transaction_combine");
new KAction(i18n("New investment"), "filenew", 0, TQT_TQOBJECT(this), TQT_SLOT(slotInvestmentNew()), actionCollection(), "investment_new"); new TDEAction(i18n("New investment"), "filenew", 0, TQT_TQOBJECT(this), TQT_SLOT(slotInvestmentNew()), actionCollection(), "investment_new");
new KAction(i18n("Edit investment..."), "edit", 0, TQT_TQOBJECT(this), TQT_SLOT(slotInvestmentEdit()), actionCollection(), "investment_edit"); new TDEAction(i18n("Edit investment..."), "edit", 0, TQT_TQOBJECT(this), TQT_SLOT(slotInvestmentEdit()), actionCollection(), "investment_edit");
new KAction(i18n("Delete investment..."), "delete", 0, TQT_TQOBJECT(this), TQT_SLOT(slotInvestmentDelete()), actionCollection(), "investment_delete"); new TDEAction(i18n("Delete investment..."), "delete", 0, TQT_TQOBJECT(this), TQT_SLOT(slotInvestmentDelete()), actionCollection(), "investment_delete");
new KAction(i18n("Online price update..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotOnlinePriceUpdate()), actionCollection(), "investment_online_price_update"); new TDEAction(i18n("Online price update..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotOnlinePriceUpdate()), actionCollection(), "investment_online_price_update");
new KAction(i18n("Manual price update..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotManualPriceUpdate()), actionCollection(), "investment_manual_price_update"); new TDEAction(i18n("Manual price update..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotManualPriceUpdate()), actionCollection(), "investment_manual_price_update");
new KAction(i18n("New scheduled transaction..."), "filenew", 0, TQT_TQOBJECT(this), TQT_SLOT(slotScheduleNew()), actionCollection(), "schedule_new"); new TDEAction(i18n("New scheduled transaction..."), "filenew", 0, TQT_TQOBJECT(this), TQT_SLOT(slotScheduleNew()), actionCollection(), "schedule_new");
new KAction(i18n("Edit scheduled transaction..."), "edit", 0, TQT_TQOBJECT(this), TQT_SLOT(slotScheduleEdit()), actionCollection(), "schedule_edit"); new TDEAction(i18n("Edit scheduled transaction..."), "edit", 0, TQT_TQOBJECT(this), TQT_SLOT(slotScheduleEdit()), actionCollection(), "schedule_edit");
new KAction(i18n("Delete scheduled transaction..."), "delete", 0, TQT_TQOBJECT(this), TQT_SLOT(slotScheduleDelete()), actionCollection(), "schedule_delete"); new TDEAction(i18n("Delete scheduled transaction..."), "delete", 0, TQT_TQOBJECT(this), TQT_SLOT(slotScheduleDelete()), actionCollection(), "schedule_delete");
new KAction(i18n("Duplicate scheduled transaction"), "editcopy", 0, TQT_TQOBJECT(this), TQT_SLOT(slotScheduleDuplicate()), actionCollection(), "schedule_duplicate"); new TDEAction(i18n("Duplicate scheduled transaction"), "editcopy", 0, TQT_TQOBJECT(this), TQT_SLOT(slotScheduleDuplicate()), actionCollection(), "schedule_duplicate");
new KAction(i18n("Enter next transaction..."), "key_enter", 0, TQT_TQOBJECT(this), TQT_SLOT(slotScheduleEnter()), actionCollection(), "schedule_enter"); new TDEAction(i18n("Enter next transaction..."), "key_enter", 0, TQT_TQOBJECT(this), TQT_SLOT(slotScheduleEnter()), actionCollection(), "schedule_enter");
new KAction(i18n("Skip next transaction..."), "player_fwd", 0, TQT_TQOBJECT(this), TQT_SLOT(slotScheduleSkip()), actionCollection(), "schedule_skip"); new TDEAction(i18n("Skip next transaction..."), "player_fwd", 0, TQT_TQOBJECT(this), TQT_SLOT(slotScheduleSkip()), actionCollection(), "schedule_skip");
new KAction(i18n("New payee"), "filenew", 0, TQT_TQOBJECT(this), TQT_SLOT(slotPayeeNew()), actionCollection(), "payee_new"); new TDEAction(i18n("New payee"), "filenew", 0, TQT_TQOBJECT(this), TQT_SLOT(slotPayeeNew()), actionCollection(), "payee_new");
new KAction(i18n("Rename payee"), "edit", 0, TQT_TQOBJECT(this), TQT_SIGNAL(payeeRename()), actionCollection(), "payee_rename"); new TDEAction(i18n("Rename payee"), "edit", 0, TQT_TQOBJECT(this), TQT_SIGNAL(payeeRename()), actionCollection(), "payee_rename");
new KAction(i18n("Delete payee"), "delete", 0, TQT_TQOBJECT(this), TQT_SLOT(slotPayeeDelete()), actionCollection(), "payee_delete"); new TDEAction(i18n("Delete payee"), "delete", 0, TQT_TQOBJECT(this), TQT_SLOT(slotPayeeDelete()), actionCollection(), "payee_delete");
new KAction(i18n("New budget"), "filenew", 0, TQT_TQOBJECT(this), TQT_SLOT(slotBudgetNew()), actionCollection(), "budget_new"); new TDEAction(i18n("New budget"), "filenew", 0, TQT_TQOBJECT(this), TQT_SLOT(slotBudgetNew()), actionCollection(), "budget_new");
new KAction(i18n("Rename budget"), "edit", 0, TQT_TQOBJECT(this), TQT_SIGNAL(budgetRename()), actionCollection(), "budget_rename"); new TDEAction(i18n("Rename budget"), "edit", 0, TQT_TQOBJECT(this), TQT_SIGNAL(budgetRename()), actionCollection(), "budget_rename");
new KAction(i18n("Delete budget"), "delete", 0, TQT_TQOBJECT(this), TQT_SLOT(slotBudgetDelete()), actionCollection(), "budget_delete"); new TDEAction(i18n("Delete budget"), "delete", 0, TQT_TQOBJECT(this), TQT_SLOT(slotBudgetDelete()), actionCollection(), "budget_delete");
new KAction(i18n("Copy budget"), "editcopy", 0, TQT_TQOBJECT(this), TQT_SLOT(slotBudgetCopy()), actionCollection(), "budget_copy"); new TDEAction(i18n("Copy budget"), "editcopy", 0, TQT_TQOBJECT(this), TQT_SLOT(slotBudgetCopy()), actionCollection(), "budget_copy");
new KAction(i18n("Change budget year"), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotBudgetChangeYear()), actionCollection(), "budget_change_year"); new TDEAction(i18n("Change budget year"), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotBudgetChangeYear()), actionCollection(), "budget_change_year");
new KAction(i18n("Budget based on forecast", "Forecast"), "forcast", 0, TQT_TQOBJECT(this), TQT_SLOT(slotBudgetForecast()), actionCollection(), "budget_forecast"); new TDEAction(i18n("Budget based on forecast", "Forecast"), "forcast", 0, TQT_TQOBJECT(this), TQT_SLOT(slotBudgetForecast()), actionCollection(), "budget_forecast");
// ************************ // ************************
// Currency actions // Currency actions
// ************************ // ************************
new KAction(i18n("New currency"), "filenew", 0, TQT_TQOBJECT(this), TQT_SLOT(slotCurrencyNew()), actionCollection(), "currency_new"); new TDEAction(i18n("New currency"), "filenew", 0, TQT_TQOBJECT(this), TQT_SLOT(slotCurrencyNew()), actionCollection(), "currency_new");
new KAction(i18n("Rename currency"), "edit", 0, TQT_TQOBJECT(this), TQT_SIGNAL(currencyRename()), actionCollection(), "currency_rename"); new TDEAction(i18n("Rename currency"), "edit", 0, TQT_TQOBJECT(this), TQT_SIGNAL(currencyRename()), actionCollection(), "currency_rename");
new KAction(i18n("Delete currency"), "delete", 0, TQT_TQOBJECT(this), TQT_SLOT(slotCurrencyDelete()), actionCollection(), "currency_delete"); new TDEAction(i18n("Delete currency"), "delete", 0, TQT_TQOBJECT(this), TQT_SLOT(slotCurrencyDelete()), actionCollection(), "currency_delete");
new KAction(i18n("Select as base currency"), "kmymoney2", 0, TQT_TQOBJECT(this), TQT_SLOT(slotCurrencySetBase()), actionCollection(), "currency_setbase"); new TDEAction(i18n("Select as base currency"), "kmymoney2", 0, TQT_TQOBJECT(this), TQT_SLOT(slotCurrencySetBase()), actionCollection(), "currency_setbase");
#ifdef KMM_DEBUG #ifdef KMM_DEBUG
new KAction("Test new feature", "", KShortcut("Ctrl+G"), TQT_TQOBJECT(this), TQT_SLOT(slotNewFeature()), actionCollection(), "new_user_wizard"); new TDEAction("Test new feature", "", TDEShortcut("Ctrl+G"), TQT_TQOBJECT(this), TQT_SLOT(slotNewFeature()), actionCollection(), "new_user_wizard");
new KToggleAction("Debug Traces", "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotToggleTraces()), actionCollection(), "debug_traces"); new TDEToggleAction("Debug Traces", "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotToggleTraces()), actionCollection(), "debug_traces");
new KToggleAction("Debug Timers", "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotToggleTimers()), actionCollection(), "debug_timers"); new TDEToggleAction("Debug Timers", "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotToggleTimers()), actionCollection(), "debug_timers");
#endif #endif
// ************************ // ************************
// Currently unused actions // Currently unused actions
// ************************ // ************************
#if 0 #if 0
new KToolBarPopupAction(i18n("View back"), "back", 0, TQT_TQOBJECT(this), TQT_SLOT(slotShowPreviousView()), actionCollection(), "go_back"); new TDEToolBarPopupAction(i18n("View back"), "back", 0, TQT_TQOBJECT(this), TQT_SLOT(slotShowPreviousView()), actionCollection(), "go_back");
new KToolBarPopupAction(i18n("View forward"), "forward", 0, TQT_TQOBJECT(this), TQT_SLOT(slotShowNextView()), actionCollection(), "go_forward"); new TDEToolBarPopupAction(i18n("View forward"), "forward", 0, TQT_TQOBJECT(this), TQT_SLOT(slotShowNextView()), actionCollection(), "go_forward");
action("go_back")->setEnabled(false); action("go_back")->setEnabled(false);
action("go_forward")->setEnabled(false); action("go_forward")->setEnabled(false);
@ -502,19 +502,19 @@ void KMyMoney2App::initActions(void)
void KMyMoney2App::dumpActions(void) const void KMyMoney2App::dumpActions(void) const
{ {
KActionPtrList list = actionCollection()->actions(); TDEActionPtrList list = actionCollection()->actions();
KActionPtrList::const_iterator it; TDEActionPtrList::const_iterator it;
for(it = list.begin(); it != list.end(); ++it) { for(it = list.begin(); it != list.end(); ++it) {
std::cout << (*it)->name() << ": " << (*it)->text() << std::endl; std::cout << (*it)->name() << ": " << (*it)->text() << std::endl;
} }
} }
KAction* KMyMoney2App::action(const TQString& actionName) const TDEAction* KMyMoney2App::action(const TQString& actionName) const
{ {
static KShortcut shortcut(""); static TDEShortcut shortcut("");
static KAction dummyAction(TQString("Dummy"), TQString(), shortcut, TQT_TQOBJECT_CONST(this), 0, static_cast<KActionCollection*>(0), ""); static TDEAction dummyAction(TQString("Dummy"), TQString(), shortcut, TQT_TQOBJECT_CONST(this), 0, static_cast<TDEActionCollection*>(0), "");
KAction* p = actionCollection()->action(actionName.latin1()); TDEAction* p = actionCollection()->action(actionName.latin1());
if(p) if(p)
return p; return p;
@ -522,17 +522,17 @@ KAction* KMyMoney2App::action(const TQString& actionName) const
return &dummyAction; return &dummyAction;
} }
KToggleAction* KMyMoney2App::toggleAction(const TQString& actionName) const TDEToggleAction* KMyMoney2App::toggleAction(const TQString& actionName) const
{ {
static KShortcut shortcut(""); static TDEShortcut shortcut("");
static KToggleAction dummyAction(TQString("Dummy"), TQString(), shortcut, TQT_TQOBJECT_CONST(this), 0, static_cast<KActionCollection*>(0), ""); static TDEToggleAction dummyAction(TQString("Dummy"), TQString(), shortcut, TQT_TQOBJECT_CONST(this), 0, static_cast<TDEActionCollection*>(0), "");
KAction* q = actionCollection()->action(actionName.latin1()); TDEAction* q = actionCollection()->action(actionName.latin1());
if(q) { if(q) {
KToggleAction* p = dynamic_cast<KToggleAction*>(q); TDEToggleAction* p = dynamic_cast<TDEToggleAction*>(q);
if(!p) { if(!p) {
tqWarning("Action '%s' is not of type KToggleAction", actionName.latin1()); tqWarning("Action '%s' is not of type TDEToggleAction", actionName.latin1());
p = &dummyAction; p = &dummyAction;
} }
return p; return p;
@ -571,7 +571,7 @@ void KMyMoney2App::saveOptions(void)
// config->writeEntry("Show Statusbar", toggleAction("options_show_statusbar")->isChecked()); // config->writeEntry("Show Statusbar", toggleAction("options_show_statusbar")->isChecked());
// toolBar("mainToolBar")->saveSettings(config, "mainToolBar"); // toolBar("mainToolBar")->saveSettings(config, "mainToolBar");
dynamic_cast<KRecentFilesAction*>(action("file_open_recent"))->saveEntries(config,"Recent Files"); dynamic_cast<TDERecentFilesAction*>(action("file_open_recent"))->saveEntries(config,"Recent Files");
} }
@ -583,7 +583,7 @@ void KMyMoney2App::readOptions(void)
toggleAction("view_hide_unused_categories")->setChecked(KMyMoneyGlobalSettings::hideUnusedCategory()); toggleAction("view_hide_unused_categories")->setChecked(KMyMoneyGlobalSettings::hideUnusedCategory());
// initialize the recent file list // initialize the recent file list
KRecentFilesAction *p = dynamic_cast<KRecentFilesAction*>(action("file_open_recent")); TDERecentFilesAction *p = dynamic_cast<TDERecentFilesAction*>(action("file_open_recent"));
if(p) if(p)
p->loadEntries(config,"Recent Files"); p->loadEntries(config,"Recent Files");
@ -603,7 +603,7 @@ void KMyMoney2App::readOptions(void)
void KMyMoney2App::resizeEvent(TQResizeEvent* ev) void KMyMoney2App::resizeEvent(TQResizeEvent* ev)
{ {
KMainWindow::resizeEvent(ev); TDEMainWindow::resizeEvent(ev);
updateCaption(true); updateCaption(true);
} }
@ -827,7 +827,7 @@ void KMyMoney2App::slotFileNew(void)
slotFileSave(); slotFileSave();
// now keep the filename in the recent files used list // now keep the filename in the recent files used list
KRecentFilesAction *p = dynamic_cast<KRecentFilesAction*>(action("file_open_recent")); TDERecentFilesAction *p = dynamic_cast<TDERecentFilesAction*>(action("file_open_recent"));
if(p) if(p)
p->addURL( m_fileName ); p->addURL( m_fileName );
writeLastUsedFile(m_fileName.url()); writeLastUsedFile(m_fileName.url());
@ -887,7 +887,7 @@ void KMyMoney2App::slotFileOpen(void)
void KMyMoney2App::slotOpenDatabase(void) void KMyMoney2App::slotOpenDatabase(void)
{ {
KMSTATUS(i18n("Open a file.")); KMSTATUS(i18n("Open a file."));
KSelectDatabaseDlg dialog; TDESelectDatabaseDlg dialog;
dialog.setMode(IO_ReadWrite); dialog.setMode(IO_ReadWrite);
if(dialog.exec() == TQDialog::Accepted) { if(dialog.exec() == TQDialog::Accepted) {
@ -958,7 +958,7 @@ void KMyMoney2App::slotFileOpenRecent(const KURL& url)
KURL dburl = url; KURL dburl = url;
// check if a password is needed. it may be if the URL came from the last/recent file list // check if a password is needed. it may be if the URL came from the last/recent file list
if ((dburl.queryItem("secure") == "yes") && dburl.pass().isEmpty()) { if ((dburl.queryItem("secure") == "yes") && dburl.pass().isEmpty()) {
KSelectDatabaseDlg dialog(dburl); TDESelectDatabaseDlg dialog(dburl);
dialog.setMode(IO_ReadWrite); dialog.setMode(IO_ReadWrite);
if(dialog.exec() == TQDialog::Accepted) dburl = dialog.selectedURL(); if(dialog.exec() == TQDialog::Accepted) dburl = dialog.selectedURL();
@ -968,7 +968,7 @@ void KMyMoney2App::slotFileOpenRecent(const KURL& url)
if(myMoneyView->readFile(dburl)) { if(myMoneyView->readFile(dburl)) {
if((myMoneyView->isNativeFile())) { if((myMoneyView->isNativeFile())) {
m_fileName = dburl; m_fileName = dburl;
KRecentFilesAction *p = dynamic_cast<KRecentFilesAction*>(action("file_open_recent")); TDERecentFilesAction *p = dynamic_cast<TDERecentFilesAction*>(action("file_open_recent"));
if(p) if(p)
p->addURL(dburl.prettyURL(0, KURL::StripFileProtocol)); p->addURL(dburl.prettyURL(0, KURL::StripFileProtocol));
writeLastUsedFile(dburl.prettyURL(0, KURL::StripFileProtocol)); writeLastUsedFile(dburl.prettyURL(0, KURL::StripFileProtocol));
@ -1148,7 +1148,7 @@ bool KMyMoney2App::slotFileSaveAs(void)
} }
if(okToWriteFile(newName)) { if(okToWriteFile(newName)) {
KRecentFilesAction *p = dynamic_cast<KRecentFilesAction*>(action("file_open_recent")); TDERecentFilesAction *p = dynamic_cast<TDERecentFilesAction*>(action("file_open_recent"));
if(p) if(p)
p->addURL( newName ); p->addURL( newName );
@ -1198,7 +1198,7 @@ bool KMyMoney2App::slotSaveAsDatabase(void)
if (myMoneyView->isDatabase()) if (myMoneyView->isDatabase())
dynamic_cast<IMyMoneySerialize*> (MyMoneyFile::instance()->storage())->fillStorage(); dynamic_cast<IMyMoneySerialize*> (MyMoneyFile::instance()->storage())->fillStorage();
KMSTATUS(i18n("Saving file to database...")); KMSTATUS(i18n("Saving file to database..."));
KSelectDatabaseDlg dialog; TDESelectDatabaseDlg dialog;
dialog.setMode(IO_WriteOnly); dialog.setMode(IO_WriteOnly);
KURL oldUrl = m_fileName.isEmpty() ? lastOpenedURL() : m_fileName; KURL oldUrl = m_fileName.isEmpty() ? lastOpenedURL() : m_fileName;
KURL url = oldUrl; KURL url = oldUrl;
@ -1217,7 +1217,7 @@ bool KMyMoney2App::slotSaveAsDatabase(void)
} }
} }
if (rc) { if (rc) {
KRecentFilesAction *p = dynamic_cast<KRecentFilesAction*>(action("file_open_recent")); TDERecentFilesAction *p = dynamic_cast<TDERecentFilesAction*>(action("file_open_recent"));
if(p) if(p)
p->addURL(url.prettyURL(0, KURL::StripFileProtocol)); p->addURL(url.prettyURL(0, KURL::StripFileProtocol));
writeLastUsedFile(url.prettyURL(0, KURL::StripFileProtocol)); writeLastUsedFile(url.prettyURL(0, KURL::StripFileProtocol));
@ -1288,7 +1288,7 @@ void KMyMoney2App::slotFileQuit(void)
// don't modify the status message here as this will prevent quit from working!! // don't modify the status message here as this will prevent quit from working!!
// See the beginning of queryClose() and isReady() why. Thomas Baumgart 2005-10-17 // See the beginning of queryClose() and isReady() why. Thomas Baumgart 2005-10-17
KMainWindow* w = 0; TDEMainWindow* w = 0;
if(memberList) { if(memberList) {
@ -6094,7 +6094,7 @@ void KMyMoney2App::slotAccountMapOnline(void)
for(it_p = m_onlinePlugins.begin(); it_p != m_onlinePlugins.end(); ++it_p) { for(it_p = m_onlinePlugins.begin(); it_p != m_onlinePlugins.end(); ++it_p) {
TQStringList protocolList; TQStringList protocolList;
(*it_p)->protocols(protocolList); (*it_p)->protocols(protocolList);
new KListViewItem(dlg.m_listView, it_p.key(), "Loaded", protocolList.join(", ")); new TDEListViewItem(dlg.m_listView, it_p.key(), "Loaded", protocolList.join(", "));
} }
if(dlg.exec() == TQDialog::Accepted) { if(dlg.exec() == TQDialog::Accepted) {
if(dlg.m_listView->selectedItem()) { if(dlg.m_listView->selectedItem()) {

@ -93,7 +93,7 @@ namespace KMyMoneyPlugin { class ImporterPlugin; }
* *
* @short Main application class. * @short Main application class.
*/ */
class KMyMoney2App : public KMainWindow, public DCOPObject class KMyMoney2App : public TDEMainWindow, public DCOPObject
{ {
Q_OBJECT Q_OBJECT
// //
@ -505,7 +505,7 @@ public:
const TQValueList<TQCString> instanceList(void) const; const TQValueList<TQCString> instanceList(void) const;
/** /**
* Dump a list of the names of all defined KActions to stdout. * Dump a list of the names of all defined TDEActions to stdout.
*/ */
void dumpActions(void) const; void dumpActions(void) const;
@ -580,7 +580,7 @@ protected:
*/ */
void readOptions(void); void readOptions(void);
/** initializes the KActions of the application */ /** initializes the TDEActions of the application */
void initActions(void); void initActions(void);
/** initializes the dynamic menus (account selectors) */ /** initializes the dynamic menus (account selectors) */
@ -1001,7 +1001,7 @@ public slots:
void slotCategoryNew(MyMoneyAccount& account, const MyMoneyAccount& parent = MyMoneyAccount()); void slotCategoryNew(MyMoneyAccount& account, const MyMoneyAccount& parent = MyMoneyAccount());
/** /**
* This method updates all KAction items to the current state. * This method updates all TDEAction items to the current state.
*/ */
void slotUpdateActions(void); void slotUpdateActions(void);
@ -1162,24 +1162,24 @@ signals:
public: public:
/** /**
* This method retrieves a pointer to a KAction object from actionCollection(). * This method retrieves a pointer to a TDEAction object from actionCollection().
* If the action with the name @p actionName is not found, a pointer to * If the action with the name @p actionName is not found, a pointer to
* a static non-configured KAction object is returned and a warning is * a static non-configured TDEAction object is returned and a warning is
* printed to stderr. * printed to stderr.
* *
* @param actionName name of the action to be retrieved * @param actionName name of the action to be retrieved
* @return pointer to KAction object (or derivative) * @return pointer to TDEAction object (or derivative)
*/ */
KAction* action(const TQString& actionName) const; TDEAction* action(const TQString& actionName) const;
/** /**
* This method is implemented for convenience. It returns a dynamic_cast-ed * This method is implemented for convenience. It returns a dynamic_cast-ed
* pointer to an action found in actionCollection(). * pointer to an action found in actionCollection().
* If the action with the name @p actionName is not found or the object * If the action with the name @p actionName is not found or the object
* is not of type KToggleAction, a pointer to a static non-configured * is not of type TDEToggleAction, a pointer to a static non-configured
* KToggleAction object is returned and a warning is printed to stderr. * TDEToggleAction object is returned and a warning is printed to stderr.
*/ */
KToggleAction* toggleAction(const TQString& actionName) const; TDEToggleAction* toggleAction(const TQString& actionName) const;
private: private:
@ -1252,8 +1252,8 @@ private:
bool m_bCheckSchedules; bool m_bCheckSchedules;
KToolBarPopupAction* m_previousViewButton; TDEToolBarPopupAction* m_previousViewButton;
KToolBarPopupAction* m_nextViewButton; TDEToolBarPopupAction* m_nextViewButton;
TQObject* m_pluginInterface; TQObject* m_pluginInterface;

@ -59,7 +59,7 @@ static KCmdLineOptions options[] =
#if KMM_DEBUG #if KMM_DEBUG
// The following options are only available when compiled in debug mode // The following options are only available when compiled in debug mode
{ "trace", I18N_NOOP("turn on program traces"), 0}, { "trace", I18N_NOOP("turn on program traces"), 0},
{ "dump-actions", I18N_NOOP("dump the names of all defined KAction objects to stdout and quit"), 0}, { "dump-actions", I18N_NOOP("dump the names of all defined TDEAction objects to stdout and quit"), 0},
#endif #endif
// INSERT YOUR COMMANDLINE OPTIONS HERE // INSERT YOUR COMMANDLINE OPTIONS HERE

@ -33,7 +33,7 @@
#include <tdefile.h> #include <tdefile.h>
#include <kurl.h> #include <kurl.h>
class KPopupMenu; class TDEPopupMenu;
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Project Includes // Project Includes

@ -40,12 +40,12 @@ KMyMoneyPlugin::Plugin::~Plugin()
{ {
} }
KAction* KMyMoneyPlugin::Plugin::action(const TQString& actionName) const TDEAction* KMyMoneyPlugin::Plugin::action(const TQString& actionName) const
{ {
static KShortcut shortcut(""); static TDEShortcut shortcut("");
static KAction dummyAction(TQString("Dummy"), TQString(), shortcut, static_cast<const TQObject*>(this), 0, static_cast<KActionCollection*>(0), ""); static TDEAction dummyAction(TQString("Dummy"), TQString(), shortcut, static_cast<const TQObject*>(this), 0, static_cast<TDEActionCollection*>(0), "");
KAction* p = actionCollection()->action(actionName.latin1()); TDEAction* p = actionCollection()->action(actionName.latin1());
if(p) if(p)
return p; return p;
@ -53,17 +53,17 @@ KAction* KMyMoneyPlugin::Plugin::action(const TQString& actionName) const
return &dummyAction; return &dummyAction;
} }
KToggleAction* KMyMoneyPlugin::Plugin::toggleAction(const TQString& actionName) const TDEToggleAction* KMyMoneyPlugin::Plugin::toggleAction(const TQString& actionName) const
{ {
static KShortcut shortcut(""); static TDEShortcut shortcut("");
static KToggleAction dummyAction(TQString("Dummy"), TQString(), shortcut, static_cast<const TQObject*>(this), 0, static_cast<KActionCollection*>(0), ""); static TDEToggleAction dummyAction(TQString("Dummy"), TQString(), shortcut, static_cast<const TQObject*>(this), 0, static_cast<TDEActionCollection*>(0), "");
KAction* q = actionCollection()->action(actionName.latin1()); TDEAction* q = actionCollection()->action(actionName.latin1());
if(q) { if(q) {
KToggleAction* p = dynamic_cast<KToggleAction*>(q); TDEToggleAction* p = dynamic_cast<TDEToggleAction*>(q);
if(!p) { if(!p) {
tqWarning("Action '%s' is not of type KToggleAction", actionName.latin1()); tqWarning("Action '%s' is not of type TDEToggleAction", actionName.latin1());
p = &dummyAction; p = &dummyAction;
} }
return p; return p;

@ -33,8 +33,8 @@
#include <kxmlguiclient.h> #include <kxmlguiclient.h>
class TDEAboutData; class TDEAboutData;
class TDEInstance; class TDEInstance;
class KAction; class TDEAction;
class KToggleAction; class TDEToggleAction;
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Project Includes // Project Includes
@ -66,10 +66,10 @@ namespace KMyMoneyPlugin {
protected: protected:
/** See KMyMoney2App::action() for a description */ /** See KMyMoney2App::action() for a description */
KAction* action(const TQString& name) const; TDEAction* action(const TQString& name) const;
/** See KMyMoney2App::toggleAction() for a description */ /** See KMyMoney2App::toggleAction() for a description */
KToggleAction* toggleAction(const TQString& name) const; TDEToggleAction* toggleAction(const TQString& name) const;
// define interface classes here. The interface classes provide a mechanism // define interface classes here. The interface classes provide a mechanism
// for the plugin to interact with KMyMoney // for the plugin to interact with KMyMoney

@ -77,7 +77,7 @@
<property name="name"> <property name="name">
<cstring>unnamed</cstring> <cstring>unnamed</cstring>
</property> </property>
<widget class="KListView"> <widget class="TDEListView">
<column> <column>
<property name="text"> <property name="text">
<string>Financial Institution</string> <string>Financial Institution</string>

@ -76,14 +76,14 @@ KOnlineBankingSetupWizard::KOnlineBankingSetupWizard(TQWidget *parent, const cha
dlg->setMinimumDuration(0); dlg->setMinimumDuration(0);
kapp->processEvents(); kapp->processEvents();
tabLayout->insertWidget(0, new KListViewSearchLineWidget(m_listFi, tab, 0)); tabLayout->insertWidget(0, new TDEListViewSearchLineWidget(m_listFi, tab, 0));
OfxPartner::setDirectory(locateLocal("appdata", "")); OfxPartner::setDirectory(locateLocal("appdata", ""));
TQStringList banks = OfxPartner::BankNames(); TQStringList banks = OfxPartner::BankNames();
TQStringList::const_iterator it_bank = banks.begin(); TQStringList::const_iterator it_bank = banks.begin();
while (it_bank != banks.end()) while (it_bank != banks.end())
{ {
new KListViewItem( m_listFi, (*it_bank)); new TDEListViewItem( m_listFi, (*it_bank));
++it_bank; ++it_bank;
} }
m_fInit = true; m_fInit = true;

@ -61,7 +61,7 @@ OfxImporterPlugin::~OfxImporterPlugin()
void OfxImporterPlugin::createActions(void) void OfxImporterPlugin::createActions(void)
{ {
new KAction(i18n("OFX..."), "", 0, this, TQT_SLOT(slotImportFile()), actionCollection(), "file_import_ofx"); new TDEAction(i18n("OFX..."), "", 0, this, TQT_SLOT(slotImportFile()), actionCollection(), "file_import_ofx");
} }
void OfxImporterPlugin::slotImportFile(void) void OfxImporterPlugin::slotImportFile(void)

@ -33,7 +33,7 @@ class TQFrame;
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// KDE Includes // KDE Includes
class KPopupMenu; class TDEPopupMenu;
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Project Includes // Project Includes

@ -75,7 +75,7 @@ KAccountsView::KAccountsView(TQWidget *parent, const char *name) :
{ {
// create the searchline widget // create the searchline widget
// and insert it into the existing layout // and insert it into the existing layout
m_searchWidget = new KListViewSearchLineWidget(m_accountTree, m_accountTree->parentWidget()); m_searchWidget = new TDEListViewSearchLineWidget(m_accountTree, m_accountTree->parentWidget());
TQVBoxLayout* layout = dynamic_cast<TQVBoxLayout*>(m_accountTree->parentWidget()->layout()); TQVBoxLayout* layout = dynamic_cast<TQVBoxLayout*>(m_accountTree->parentWidget()->layout());
if(layout) { if(layout) {
layout->insertWidget(0, m_searchWidget); layout->insertWidget(0, m_searchWidget);

@ -31,7 +31,7 @@
#include <kmymoney/mymoneyaccount.h> #include <kmymoney/mymoneyaccount.h>
#include <kmymoney/kmymoneyaccounttree.h> #include <kmymoney/kmymoneyaccounttree.h>
#include <kmymoney/mymoneyutils.h> #include <kmymoney/mymoneyutils.h>
class KListViewSearchLineWidget; class TDEListViewSearchLineWidget;
#include "../views/kaccountsviewdecl.h" #include "../views/kaccountsviewdecl.h"
@ -200,7 +200,7 @@ private:
/** /**
* Search widget for the list * Search widget for the list
*/ */
KListViewSearchLineWidget* m_searchWidget; TDEListViewSearchLineWidget* m_searchWidget;
/// set if a view needs to be reloaded during show() /// set if a view needs to be reloaded during show()
bool m_needReload[MaxViewTabs]; bool m_needReload[MaxViewTabs];

@ -61,8 +61,8 @@
#include "../kmymoney2.h" #include "../kmymoney2.h"
// *** KBudgetListItem Implementation *** // *** KBudgetListItem Implementation ***
KBudgetListItem::KBudgetListItem(KListView *parent, const MyMoneyBudget& budget) : KBudgetListItem::KBudgetListItem(TDEListView *parent, const MyMoneyBudget& budget) :
KListViewItem(parent), TDEListViewItem(parent),
m_budget(budget) m_budget(budget)
{ {
setText(0, budget.name()); setText(0, budget.name());
@ -139,8 +139,8 @@ KBudgetView::KBudgetView(TQWidget *parent, const char *name ) :
m_resetButton->setGuiItem(resetButtenItem); m_resetButton->setGuiItem(resetButtenItem);
TQToolTip::add(m_resetButton, resetButtenItem.toolTip()); TQToolTip::add(m_resetButton, resetButtenItem.toolTip());
connect(m_budgetList, TQT_SIGNAL(contextMenu(KListView*, TQListViewItem* , const TQPoint&)), connect(m_budgetList, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem* , const TQPoint&)),
this, TQT_SLOT(slotOpenContextMenu(KListView*, TQListViewItem*, const TQPoint&))); this, TQT_SLOT(slotOpenContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
connect(m_budgetList, TQT_SIGNAL(itemRenamed(TQListViewItem*,int,const TQString&)), this, TQT_SLOT(slotRenameBudget(TQListViewItem*,int,const TQString&))); connect(m_budgetList, TQT_SIGNAL(itemRenamed(TQListViewItem*,int,const TQString&)), this, TQT_SLOT(slotRenameBudget(TQListViewItem*,int,const TQString&)));
connect(m_budgetList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectBudget())); connect(m_budgetList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectBudget()));
@ -562,7 +562,7 @@ KMyMoneyAccountTreeBudgetItem* KBudgetView::selectedAccount(void) const
return item; return item;
} }
void KBudgetView::slotOpenContextMenu(KListView* lv, TQListViewItem* i, const TQPoint& p) void KBudgetView::slotOpenContextMenu(TDEListView* lv, TQListViewItem* i, const TQPoint& p)
{ {
Q_UNUSED(lv); Q_UNUSED(lv);
Q_UNUSED(p); Q_UNUSED(p);

@ -44,18 +44,18 @@ class KMyMoneyAccountTreeBudgetItem;
* *
* This class represents an item in the budgets list view. * This class represents an item in the budgets list view.
*/ */
class KBudgetListItem : public KListViewItem class KBudgetListItem : public TDEListViewItem
{ {
public: public:
/** /**
* Constructor to be used to construct a budget entry object. * Constructor to be used to construct a budget entry object.
* *
* @param parent pointer to the KListView object this entry should be * @param parent pointer to the TDEListView object this entry should be
* added to. * added to.
* @param budget const reference to MyMoneyBudget for which * @param budget const reference to MyMoneyBudget for which
* the KListView entry is constructed * the TDEListView entry is constructed
*/ */
KBudgetListItem(KListView *parent, const MyMoneyBudget& budget); KBudgetListItem(TDEListView *parent, const MyMoneyBudget& budget);
~KBudgetListItem(); ~KBudgetListItem();
/** /**
@ -182,7 +182,7 @@ private slots:
* @param i the item on which the cursor resides * @param i the item on which the cursor resides
* @param p position of the pointing device * @param p position of the pointing device
*/ */
void slotOpenContextMenu(KListView* lv, TQListViewItem* i, const TQPoint& p); void slotOpenContextMenu(TDEListView* lv, TQListViewItem* i, const TQPoint& p);
signals: signals:
/** /**

@ -122,7 +122,7 @@
</widget> </widget>
</hbox> </hbox>
</widget> </widget>
<widget class="KListView"> <widget class="TDEListView">
<column> <column>
<property name="text"> <property name="text">
<string>Name</string> <string>Name</string>

@ -54,7 +54,7 @@ KCategoriesView::KCategoriesView(TQWidget *parent, const char *name ) :
{ {
// create the searchline widget // create the searchline widget
// and insert it into the existing layout // and insert it into the existing layout
m_searchWidget = new KListViewSearchLineWidget(m_accountTree, m_accountTree->parentWidget()); m_searchWidget = new TDEListViewSearchLineWidget(m_accountTree, m_accountTree->parentWidget());
TQVBoxLayout* layout = dynamic_cast<TQVBoxLayout*>(m_accountTree->parentWidget()->layout()); TQVBoxLayout* layout = dynamic_cast<TQVBoxLayout*>(m_accountTree->parentWidget()->layout());
if(layout) { if(layout) {
layout->insertWidget(0, m_searchWidget); layout->insertWidget(0, m_searchWidget);

@ -36,7 +36,7 @@
#include <kmymoney/mymoneyaccount.h> #include <kmymoney/mymoneyaccount.h>
#include <kmymoney/kmymoneyaccounttree.h> #include <kmymoney/kmymoneyaccounttree.h>
#include <kmymoney/mymoneyutils.h> #include <kmymoney/mymoneyutils.h>
class KListViewSearchLineWidget; class TDEListViewSearchLineWidget;
#include "kcategoriesviewdecl.h" #include "kcategoriesviewdecl.h"
@ -139,7 +139,7 @@ private:
/** /**
* Search widget for the list * Search widget for the list
*/ */
KListViewSearchLineWidget* m_searchWidget; TDEListViewSearchLineWidget* m_searchWidget;
/// set if a view needs to be reloaded during show() /// set if a view needs to be reloaded during show()
bool m_needReload; bool m_needReload;

@ -540,7 +540,7 @@
<property name="margin"> <property name="margin">
<number>0</number> <number>0</number>
</property> </property>
<widget class="KListView"> <widget class="TDEListView">
<property name="name"> <property name="name">
<cstring>m_advancedList</cstring> <cstring>m_advancedList</cstring>
</property> </property>

@ -159,9 +159,9 @@ TDEGlobalLedgerView::TDEGlobalLedgerView(TQWidget *parent, const char *name )
m_toolbarFrame = new TQFrame(this); m_toolbarFrame = new TQFrame(this);
TQVBoxLayout* toolbarLayout = new TQVBoxLayout(m_toolbarFrame, 0, 0); TQVBoxLayout* toolbarLayout = new TQVBoxLayout(m_toolbarFrame, 0, 0);
m_toolbar = new KToolBar(m_toolbarFrame, 0, true); m_toolbar = new TDEToolBar(m_toolbarFrame, 0, true);
toolbarLayout->addWidget(m_toolbar); toolbarLayout->addWidget(m_toolbar);
m_toolbar->setIconText(KToolBar::IconTextRight); m_toolbar->setIconText(TDEToolBar::IconTextRight);
m_accountComboBox = new KMyMoneyAccountCombo(m_toolbar, "AccountCombo"); m_accountComboBox = new KMyMoneyAccountCombo(m_toolbar, "AccountCombo");
m_toolbar->insertWidget(1, 100, m_accountComboBox); m_toolbar->insertWidget(1, 100, m_accountComboBox);
@ -216,8 +216,8 @@ TDEGlobalLedgerView::TDEGlobalLedgerView(TQWidget *parent, const char *name )
m_buttonFrame = new TQFrame(this); m_buttonFrame = new TQFrame(this);
TQVBoxLayout* buttonLayout = new TQVBoxLayout(m_buttonFrame, 0, 0); TQVBoxLayout* buttonLayout = new TQVBoxLayout(m_buttonFrame, 0, 0);
layout()->addWidget(m_buttonFrame); layout()->addWidget(m_buttonFrame);
m_buttonbar = new KToolBar(m_buttonFrame, 0, true); m_buttonbar = new TDEToolBar(m_buttonFrame, 0, true);
m_buttonbar->setIconText(KToolBar::IconTextRight); m_buttonbar->setIconText(TDEToolBar::IconTextRight);
buttonLayout->addWidget(m_buttonbar); buttonLayout->addWidget(m_buttonbar);
kmymoney2->action("transaction_new")->plug(m_buttonbar); kmymoney2->action("transaction_new")->plug(m_buttonbar);

@ -53,8 +53,8 @@ class TQFrame;
class TQLabel; class TQLabel;
class KMyMoneyAccountCombo; class KMyMoneyAccountCombo;
class KToolBar; class TDEToolBar;
class KToolBarButton; class TDEToolBarButton;
class MyMoneyReport; class MyMoneyReport;
class TransactionEditor; class TransactionEditor;
@ -338,8 +338,8 @@ private:
// widgets // widgets
KMyMoneyAccountCombo* m_accountComboBox; KMyMoneyAccountCombo* m_accountComboBox;
KMyMoneyRegister::Register* m_register; KMyMoneyRegister::Register* m_register;
KToolBar* m_toolbar; TDEToolBar* m_toolbar;
KToolBar* m_buttonbar; TDEToolBar* m_buttonbar;
/** /**
* This member holds the currently selected account * This member holds the currently selected account

@ -1130,19 +1130,19 @@ void KHomeView::slotOpenURL(const KURL &url, const KParts::URLArgs& /* args */)
} else if(view == VIEW_SCHEDULE) { } else if(view == VIEW_SCHEDULE) {
if(mode == "enter") { if(mode == "enter") {
emit scheduleSelected(id); emit scheduleSelected(id);
KMainWindow* mw = dynamic_cast<KMainWindow*>(tqApp->mainWidget()); TDEMainWindow* mw = dynamic_cast<TDEMainWindow*>(tqApp->mainWidget());
TQ_CHECK_PTR(mw); TQ_CHECK_PTR(mw);
TQTimer::singleShot(0, mw->actionCollection()->action("schedule_enter"), TQT_SLOT(activate())); TQTimer::singleShot(0, mw->actionCollection()->action("schedule_enter"), TQT_SLOT(activate()));
} else if(mode == "edit") { } else if(mode == "edit") {
emit scheduleSelected(id); emit scheduleSelected(id);
KMainWindow* mw = dynamic_cast<KMainWindow*>(tqApp->mainWidget()); TDEMainWindow* mw = dynamic_cast<TDEMainWindow*>(tqApp->mainWidget());
TQ_CHECK_PTR(mw); TQ_CHECK_PTR(mw);
TQTimer::singleShot(0, mw->actionCollection()->action("schedule_edit"), TQT_SLOT(activate())); TQTimer::singleShot(0, mw->actionCollection()->action("schedule_edit"), TQT_SLOT(activate()));
} else if(mode == "skip") { } else if(mode == "skip") {
emit scheduleSelected(id); emit scheduleSelected(id);
KMainWindow* mw = dynamic_cast<KMainWindow*>(tqApp->mainWidget()); TDEMainWindow* mw = dynamic_cast<TDEMainWindow*>(tqApp->mainWidget());
TQ_CHECK_PTR(mw); TQ_CHECK_PTR(mw);
TQTimer::singleShot(0, mw->actionCollection()->action("schedule_skip"), TQT_SLOT(activate())); TQTimer::singleShot(0, mw->actionCollection()->action("schedule_skip"), TQT_SLOT(activate()));
@ -1159,7 +1159,7 @@ void KHomeView::slotOpenURL(const KURL &url, const KParts::URLArgs& /* args */)
emit reportSelected(id); emit reportSelected(id);
} else if(view == VIEW_WELCOME) { } else if(view == VIEW_WELCOME) {
KMainWindow* mw = dynamic_cast<KMainWindow*>(tqApp->mainWidget()); TDEMainWindow* mw = dynamic_cast<TDEMainWindow*>(tqApp->mainWidget());
TQ_CHECK_PTR(mw); TQ_CHECK_PTR(mw);
if ( mode == "whatsnew" ) if ( mode == "whatsnew" )
{ {
@ -1171,7 +1171,7 @@ void KHomeView::slotOpenURL(const KURL &url, const KParts::URLArgs& /* args */)
m_part->openURL(m_filename); m_part->openURL(m_filename);
} else if(view == "action") { } else if(view == "action") {
KMainWindow* mw = dynamic_cast<KMainWindow*>(tqApp->mainWidget()); TDEMainWindow* mw = dynamic_cast<TDEMainWindow*>(tqApp->mainWidget());
TQ_CHECK_PTR(mw); TQ_CHECK_PTR(mw);
TQTimer::singleShot(0, mw->actionCollection()->action( id ), TQT_SLOT(activate())); TQTimer::singleShot(0, mw->actionCollection()->action( id ), TQT_SLOT(activate()));

@ -40,8 +40,8 @@
#include <kmymoney/mymoneysecurity.h> #include <kmymoney/mymoneysecurity.h>
#include <kmymoney/mymoneyfile.h> #include <kmymoney/mymoneyfile.h>
KInvestmentListItem::KInvestmentListItem(KListView* parent, const MyMoneyAccount& account) KInvestmentListItem::KInvestmentListItem(TDEListView* parent, const MyMoneyAccount& account)
: KListViewItem(parent) : TDEListViewItem(parent)
{ {
bColumn5Negative = false; bColumn5Negative = false;
bColumn6Negative = false; bColumn6Negative = false;
@ -244,7 +244,7 @@ int KInvestmentListItem::compare(TQListViewItem* i, int col, bool ascending) con
} }
// do standard sorting here // do standard sorting here
return KListViewItem::compare(i, col, ascending); return TDEListViewItem::compare(i, col, ascending);
} }
void KInvestmentListItem::paintCell(TQPainter * p, const TQColorGroup & cg, int column, int width, int align) void KInvestmentListItem::paintCell(TQPainter * p, const TQColorGroup & cg, int column, int width, int align)

@ -56,10 +56,10 @@
* @author Kevin Tambascio * @author Kevin Tambascio
* @author Thomas Baumgart * @author Thomas Baumgart
*/ */
class KInvestmentListItem : public KListViewItem class KInvestmentListItem : public TDEListViewItem
{ {
public: public:
KInvestmentListItem(KListView* parent, const MyMoneyAccount& security); KInvestmentListItem(TDEListView* parent, const MyMoneyAccount& security);
~KInvestmentListItem(); ~KInvestmentListItem();
TQString securityId() const { return m_account.currencyId(); }; TQString securityId() const { return m_account.currencyId(); };
@ -86,7 +86,7 @@ private:
#endif #endif
private: private:
KListView* m_listView; TDEListView* m_listView;
MyMoneyAccount m_account; MyMoneyAccount m_account;
MyMoneySecurity m_tradingCurrency; MyMoneySecurity m_tradingCurrency;
bool bColumn5Negative, bColumn6Negative, bColumn7Negative, bColumn8Negative, bColumn9Negative; bool bColumn5Negative, bColumn6Negative, bColumn7Negative, bColumn8Negative, bColumn9Negative;

@ -87,8 +87,8 @@ KInvestmentView::KInvestmentView(TQWidget *parent, const char *name) :
m_table->setShowSortIndicator(true); m_table->setShowSortIndicator(true);
m_table->restoreLayout(TDEGlobal::config(), "Investment Settings"); m_table->restoreLayout(TDEGlobal::config(), "Investment Settings");
connect(m_table, TQT_SIGNAL(contextMenu(KListView*, TQListViewItem* , const TQPoint&)), connect(m_table, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem* , const TQPoint&)),
this, TQT_SLOT(slotListContextMenu(KListView*, TQListViewItem*, const TQPoint&))); this, TQT_SLOT(slotListContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
connect(m_table, TQT_SIGNAL(selectionChanged(TQListViewItem *)), this, TQT_SLOT(slotSelectionChanged(TQListViewItem *))); connect(m_table, TQT_SIGNAL(selectionChanged(TQListViewItem *)), this, TQT_SLOT(slotSelectionChanged(TQListViewItem *)));
connect(m_accountComboBox, TQT_SIGNAL(accountSelected(const TQString&)), connect(m_accountComboBox, TQT_SIGNAL(accountSelected(const TQString&)),
@ -121,7 +121,7 @@ void KInvestmentView::slotSelectionChanged(TQListViewItem *item)
} }
} }
void KInvestmentView::slotListContextMenu(KListView* /* lv */, TQListViewItem* /*item*/, const TQPoint& /*point*/) void KInvestmentView::slotListContextMenu(TDEListView* /* lv */, TQListViewItem* /*item*/, const TQPoint& /*point*/)
{ {
kmymoney2->slotSelectInvestment(); kmymoney2->slotSelectInvestment();
KInvestmentListItem *pItem = dynamic_cast<KInvestmentListItem*>(m_table->selectedItem()); KInvestmentListItem *pItem = dynamic_cast<KInvestmentListItem*>(m_table->selectedItem());

@ -111,7 +111,7 @@ protected slots:
* This slot receives the signal from the listview @c lv control that the context menu * This slot receives the signal from the listview @c lv control that the context menu
* was requested for @c item at @c point. * was requested for @c item at @c point.
*/ */
void slotListContextMenu(KListView* lv, TQListViewItem* item, const TQPoint& point); void slotListContextMenu(TDEListView* lv, TQListViewItem* item, const TQPoint& point);
void slotSelectionChanged(TQListViewItem *item); void slotSelectionChanged(TQListViewItem *item);

@ -62,7 +62,7 @@
</spacer> </spacer>
</hbox> </hbox>
</widget> </widget>
<widget class="KListView"> <widget class="TDEListView">
<property name="name"> <property name="name">
<cstring>m_table</cstring> <cstring>m_table</cstring>
</property> </property>

@ -444,7 +444,7 @@ public slots:
* Brings up a dialog to change the list(s) settings and saves them into the * Brings up a dialog to change the list(s) settings and saves them into the
* class KMyMoneySettings (a singleton). * class KMyMoneySettings (a singleton).
* *
* @see KListSettingsDlg * @see TDEListSettingsDlg
* Refreshs all views. Used e.g. after settings have been changed or * Refreshs all views. Used e.g. after settings have been changed or
* data has been loaded from external sources (QIF import). * data has been loaded from external sources (QIF import).
**/ **/

@ -260,8 +260,8 @@ void KTransactionPtrVector::setPayeeId(const TQString& id)
// *** KPayeeListItem Implementation *** // *** KPayeeListItem Implementation ***
KPayeeListItem::KPayeeListItem(KListView *parent, const MyMoneyPayee& payee) : KPayeeListItem::KPayeeListItem(TDEListView *parent, const MyMoneyPayee& payee) :
KListViewItem(parent), TDEListViewItem(parent),
m_payee(payee) m_payee(payee)
{ {
setText(0, payee.name()); setText(0, payee.name());
@ -287,8 +287,8 @@ void KPayeeListItem::paintCell(TQPainter *p, const TQColorGroup & cg, int column
TQListViewItem::paintCell(p, cg2, column, width, align); TQListViewItem::paintCell(p, cg2, column, width, align);
} }
KTransactionListItem::KTransactionListItem(KListView* view, KTransactionListItem* parent, const TQString& accountId, const TQString& transactionId) : KTransactionListItem::KTransactionListItem(TDEListView* view, KTransactionListItem* parent, const TQString& accountId, const TQString& transactionId) :
KListViewItem(view, parent) TDEListViewItem(view, parent)
{ {
m_accountId = accountId; m_accountId = accountId;
m_transactionId = transactionId; m_transactionId = transactionId;
@ -324,7 +324,7 @@ KPayeesView::KPayeesView(TQWidget *parent, const char *name ) :
{ {
// create the searchline widget // create the searchline widget
// and insert it into the existing layout // and insert it into the existing layout
m_searchWidget = new KListViewSearchLineWidget(m_payeesList, this); m_searchWidget = new TDEListViewSearchLineWidget(m_payeesList, this);
m_searchWidget->setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed)); m_searchWidget->setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed));
KPayeesViewDeclLayout->insertWidget(0, m_searchWidget); KPayeesViewDeclLayout->insertWidget(0, m_searchWidget);
@ -393,7 +393,7 @@ KPayeesView::KPayeesView(TQWidget *parent, const char *name ) :
connect(m_updateButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotUpdatePayee())); connect(m_updateButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotUpdatePayee()));
connect(m_helpButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotHelp())); connect(m_helpButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotHelp()));
connect(m_payeesList, TQT_SIGNAL(contextMenu(KListView*, TQListViewItem*, const TQPoint&)), this, TQT_SLOT(slotOpenContextMenu(KListView*, TQListViewItem*, const TQPoint&))); connect(m_payeesList, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)), this, TQT_SLOT(slotOpenContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
// connect(m_payeesList, TQT_SIGNAL(rightButtonClicked(TQListViewItem* , const TQPoint&, int)), // connect(m_payeesList, TQT_SIGNAL(rightButtonClicked(TQListViewItem* , const TQPoint&, int)),
// this, TQT_SLOT(slotOpenContextMenu(TQListViewItem*))); // this, TQT_SLOT(slotOpenContextMenu(TQListViewItem*)));
@ -417,7 +417,7 @@ KPayeesView::~KPayeesView()
void KPayeesView::slotQueueUpdate(void) void KPayeesView::slotQueueUpdate(void)
{ {
m_updatesQueued++; m_updatesQueued++;
// The KListViewSearchLineWidget has an internal timer for update purposes // The TDEListViewSearchLineWidget has an internal timer for update purposes
// of 200 ms, so we should be safe with 250 ms here // of 200 ms, so we should be safe with 250 ms here
TQTimer::singleShot(250, this, TQT_SLOT(slotActivateUpdate())); TQTimer::singleShot(250, this, TQT_SLOT(slotActivateUpdate()));
} }
@ -900,8 +900,8 @@ void KPayeesView::readConfig(void)
void KPayeesView::show(void) void KPayeesView::show(void)
{ {
// since we could not construct the connection in our own ctor, // since we could not construct the connection in our own ctor,
// we set it up now. The widgets of the KListViewSearchLineWidget must exist by now. // we set it up now. The widgets of the TDEListViewSearchLineWidget must exist by now.
// If you want to learn about the details, see the source of KListViewSearchLineWidget's // If you want to learn about the details, see the source of TDEListViewSearchLineWidget's
// constructor // constructor
if(m_needConnection) { if(m_needConnection) {
connect(m_searchWidget->searchLine(), TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotQueueUpdate(void))); connect(m_searchWidget->searchLine(), TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotQueueUpdate(void)));
@ -1088,7 +1088,7 @@ void KPayeesView::slotSelectPayeeAndTransaction(const TQString& payeeId, const T
} }
} }
void KPayeesView::slotOpenContextMenu(KListView* lv, TQListViewItem* i, const TQPoint& p) void KPayeesView::slotOpenContextMenu(TDEListView* lv, TQListViewItem* i, const TQPoint& p)
{ {
Q_UNUSED(p); Q_UNUSED(p);
if(lv == m_payeesList) { if(lv == m_payeesList) {

@ -45,7 +45,7 @@ class TQSplitter;
#include "kmymoneytransaction.h" #include "kmymoneytransaction.h"
#include <kmymoney/mymoneypayee.h> #include <kmymoney/mymoneypayee.h>
class KListViewSearchLineWidget; class TDEListViewSearchLineWidget;
/** /**
* @author Michael Edwardes, Thomas Baumgart * @author Michael Edwardes, Thomas Baumgart
@ -141,18 +141,18 @@ private:
/** /**
* This class represents an item in the payees list view. * This class represents an item in the payees list view.
*/ */
class KPayeeListItem : public KListViewItem class KPayeeListItem : public TDEListViewItem
{ {
public: public:
/** /**
* Constructor to be used to construct a payee entry object. * Constructor to be used to construct a payee entry object.
* *
* @param parent pointer to the KListView object this entry should be * @param parent pointer to the TDEListView object this entry should be
* added to. * added to.
* @param payee const reference to MyMoneyPayee for which * @param payee const reference to MyMoneyPayee for which
* the KListView entry is constructed * the TDEListView entry is constructed
*/ */
KPayeeListItem(KListView *parent, const MyMoneyPayee& payee); KPayeeListItem(TDEListView *parent, const MyMoneyPayee& payee);
~KPayeeListItem(); ~KPayeeListItem();
/** /**
@ -172,10 +172,10 @@ private:
* This class represents an item in the transaction list view. It is used * This class represents an item in the transaction list view. It is used
* by the KPayeesView to select between transactions. * by the KPayeesView to select between transactions.
*/ */
class KTransactionListItem : public KListViewItem class KTransactionListItem : public TDEListViewItem
{ {
public: public:
KTransactionListItem(KListView* view, KTransactionListItem* parent, const TQString& accountId, const TQString& transaction); KTransactionListItem(TDEListView* view, KTransactionListItem* parent, const TQString& accountId, const TQString& transaction);
~KTransactionListItem(); ~KTransactionListItem();
const TQString& transactionId(void) const { return m_transactionId; }; const TQString& transactionId(void) const { return m_transactionId; };
@ -266,7 +266,7 @@ private slots:
* @param item the item on which the cursor resides * @param item the item on which the cursor resides
* @param p position of the pointer device * @param p position of the pointer device
*/ */
void slotOpenContextMenu(KListView* lv, TQListViewItem* item, const TQPoint& p); void slotOpenContextMenu(TDEListView* lv, TQListViewItem* item, const TQPoint& p);
void slotQueueUpdate(void); void slotQueueUpdate(void);
@ -309,7 +309,7 @@ private:
/** /**
* Search widget for the list * Search widget for the list
*/ */
KListViewSearchLineWidget* m_searchWidget; TDEListViewSearchLineWidget* m_searchWidget;
bool m_needConnection; bool m_needConnection;
/** /**

@ -27,7 +27,7 @@
<property name="name"> <property name="name">
<cstring>unnamed</cstring> <cstring>unnamed</cstring>
</property> </property>
<widget class="KListView"> <widget class="TDEListView">
<property name="name"> <property name="name">
<cstring>m_payeesList</cstring> <cstring>m_payeesList</cstring>
</property> </property>
@ -106,7 +106,7 @@
<property name="spacing"> <property name="spacing">
<number>6</number> <number>6</number>
</property> </property>
<widget class="KListView"> <widget class="TDEListView">
<column> <column>
<property name="text"> <property name="text">
<string>No.</string> <string>No.</string>

@ -322,7 +322,7 @@ KReportsView::KReportsView(TQWidget *parent, const char *name ) :
m_listTab = (new TQWidget( m_reportTabWidget, "indextab" )); m_listTab = (new TQWidget( m_reportTabWidget, "indextab" ));
m_listTabLayout = ( new TQVBoxLayout( m_listTab, 11, 6, "indextabLayout") ); m_listTabLayout = ( new TQVBoxLayout( m_listTab, 11, 6, "indextabLayout") );
m_reportListView = new KListView( m_listTab, "m_reportListView" ); m_reportListView = new TDEListView( m_listTab, "m_reportListView" );
m_listTabLayout->addWidget( m_reportListView ); m_listTabLayout->addWidget( m_reportListView );
m_reportTabWidget->insertTab( m_listTab, i18n("Reports") ); m_reportTabWidget->insertTab( m_listTab, i18n("Reports") );
@ -339,8 +339,8 @@ KReportsView::KReportsView(TQWidget *parent, const char *name ) :
this, TQT_SLOT(slotOpenReport(TQListViewItem*))); this, TQT_SLOT(slotOpenReport(TQListViewItem*)));
connect(m_reportListView, TQT_SIGNAL(returnPressed(TQListViewItem*)), connect(m_reportListView, TQT_SIGNAL(returnPressed(TQListViewItem*)),
this, TQT_SLOT(slotOpenReport(TQListViewItem*))); this, TQT_SLOT(slotOpenReport(TQListViewItem*)));
connect( m_reportListView, TQT_SIGNAL(contextMenu(KListView*,TQListViewItem*,const TQPoint &)), connect( m_reportListView, TQT_SIGNAL(contextMenu(TDEListView*,TQListViewItem*,const TQPoint &)),
this, TQT_SLOT(slotListContextMenu(KListView*,TQListViewItem*,const TQPoint &))); this, TQT_SLOT(slotListContextMenu(TDEListView*,TQListViewItem*,const TQPoint &)));
connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadView())); connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadView()));
} }
@ -381,11 +381,11 @@ TQString KReportsView::KReportGroupListItem::key ( int column, bool ascending )
if (column == 0) if (column == 0)
return TQString::number(m_nr).rightJustify(3,'0'); return TQString::number(m_nr).rightJustify(3,'0');
else else
return KListViewItem::key(column,ascending); return TDEListViewItem::key(column,ascending);
} }
KReportsView::KReportGroupListItem::KReportGroupListItem(KListView* parent, const int nr, TQString name) : KReportsView::KReportGroupListItem::KReportGroupListItem(TDEListView* parent, const int nr, TQString name) :
KListViewItem(parent), TDEListViewItem(parent),
m_name(name) m_name(name)
{ {
setNr(nr); setNr(nr);
@ -875,7 +875,7 @@ void KReportsView::addReportTab(const MyMoneyReport& report)
} }
void KReportsView::slotListContextMenu(KListView* lv,TQListViewItem* item,const TQPoint & p) void KReportsView::slotListContextMenu(TDEListView* lv,TQListViewItem* item,const TQPoint & p)
{ {
if ( lv == m_reportListView && item ) if ( lv == m_reportListView && item )
{ {

@ -127,20 +127,20 @@ public:
* @author Ace Jones * @author Ace Jones
*/ */
class KReportListItem: public KListViewItem class KReportListItem: public TDEListViewItem
{ {
private: private:
TQString m_id; TQString m_id;
MyMoneyReport m_report; MyMoneyReport m_report;
public: public:
KReportListItem( KListView* parent, const MyMoneyReport& report ): KReportListItem( TDEListView* parent, const MyMoneyReport& report ):
KListViewItem( parent, report.name(), report.comment() ), TDEListViewItem( parent, report.name(), report.comment() ),
m_id( report.id() ), m_id( report.id() ),
m_report( report ) m_report( report )
{} {}
KReportListItem( KListViewItem* parent, const MyMoneyReport& report ): KReportListItem( TDEListViewItem* parent, const MyMoneyReport& report ):
KListViewItem( parent, report.name(), report.comment() ), TDEListViewItem( parent, report.name(), report.comment() ),
m_id( report.id() ), m_id( report.id() ),
m_report( report ) m_report( report )
{} {}
@ -148,14 +148,14 @@ public:
const MyMoneyReport& report(void) const { return m_report; } const MyMoneyReport& report(void) const { return m_report; }
}; };
class KReportGroupListItem: public KListViewItem class KReportGroupListItem: public TDEListViewItem
{ {
private: private:
int m_nr; int m_nr;
TQString m_name; TQString m_name;
public: public:
KReportGroupListItem( KListView* parent,const int nr,const TQString name); KReportGroupListItem( TDEListView* parent,const int nr,const TQString name);
virtual TQString key ( int column, bool ascending ) const; virtual TQString key ( int column, bool ascending ) const;
void setNr(const int nr); void setNr(const int nr);
}; };
@ -186,7 +186,7 @@ private:
/// \internal d-pointer instance. /// \internal d-pointer instance.
Private* const d; Private* const d;
KTabWidget* m_reportTabWidget; KTabWidget* m_reportTabWidget;
KListView* m_reportListView; TDEListView* m_reportListView;
TQWidget* m_listTab; TQWidget* m_listTab;
TQVBoxLayout* m_listTabLayout; TQVBoxLayout* m_listTabLayout;
bool m_needReload; bool m_needReload;
@ -242,7 +242,7 @@ public slots:
void slotClose(TQWidget*); void slotClose(TQWidget*);
void slotCloseAll(void); void slotCloseAll(void);
void slotDelete(void); void slotDelete(void);
void slotListContextMenu(KListView*,TQListViewItem*,const TQPoint &); void slotListContextMenu(TDEListView*,TQListViewItem*,const TQPoint &);
void slotOpenFromList(void); void slotOpenFromList(void);
void slotConfigureFromList(void); void slotConfigureFromList(void);
void slotNewFromList(void); void slotNewFromList(void);

@ -42,8 +42,8 @@
#include "../kmymoneyglobalsettings.h" #include "../kmymoneyglobalsettings.h"
#include "../kmymoneyutils.h" #include "../kmymoneyutils.h"
KScheduledListItem::KScheduledListItem(KListView *parent, const TQString& name, const TQPixmap& pixmap, const TQString& sortKey) : KScheduledListItem::KScheduledListItem(TDEListView *parent, const TQString& name, const TQPixmap& pixmap, const TQString& sortKey) :
KListViewItem(parent, name), TDEListViewItem(parent, name),
m_sortKey(sortKey) m_sortKey(sortKey)
{ {
setPixmap(0, pixmap); setPixmap(0, pixmap);
@ -52,7 +52,7 @@ KScheduledListItem::KScheduledListItem(KListView *parent, const TQString& name,
} }
KScheduledListItem::KScheduledListItem(KScheduledListItem *parent, const MyMoneySchedule& schedule/*, bool even*/) KScheduledListItem::KScheduledListItem(KScheduledListItem *parent, const MyMoneySchedule& schedule/*, bool even*/)
: KListViewItem(parent) : TDEListViewItem(parent)
{ {
m_schedule = schedule; m_schedule = schedule;
m_sortKey = schedule.name(); m_sortKey = schedule.name();
@ -220,7 +220,7 @@ int KScheduledListItem::compare(TQListViewItem* i, int col, bool ascending) cons
break; break;
default: default:
rc = KListViewItem::compare(i, col, ascending); rc = TDEListViewItem::compare(i, col, ascending);
break; break;
} }
// adjust to [-1..1] // adjust to [-1..1]

@ -43,7 +43,7 @@
* *
* @author Michael Edwardes * @author Michael Edwardes
*/ */
class KScheduledListItem : public KListViewItem class KScheduledListItem : public TDEListViewItem
{ {
public: public:
/** /**
@ -63,7 +63,7 @@ public:
* *
* @see MyMoneySchedule * @see MyMoneySchedule
*/ */
KScheduledListItem(KListView *parent, const TQString& description, const TQPixmap& pixmap = TQPixmap(), const TQString& sortKey = TQString()); KScheduledListItem(TDEListView *parent, const TQString& description, const TQPixmap& pixmap = TQPixmap(), const TQString& sortKey = TQString());
/** /**
* This constructor is used to create a child of one of the children * This constructor is used to create a child of one of the children

@ -64,7 +64,7 @@ KScheduledView::KScheduledView(TQWidget *parent, const char *name ) :
{ {
// create the searchline widget // create the searchline widget
// and insert it into the existing layout // and insert it into the existing layout
m_searchWidget = new KListViewSearchLineWidget(m_qlistviewScheduled, m_listTab); m_searchWidget = new TDEListViewSearchLineWidget(m_qlistviewScheduled, m_listTab);
m_listTabLayout->insertWidget(0, m_searchWidget); m_listTabLayout->insertWidget(0, m_searchWidget);
m_qlistviewScheduled->addColumn(i18n("Type/Name")); m_qlistviewScheduled->addColumn(i18n("Type/Name"));
@ -86,7 +86,7 @@ KScheduledView::KScheduledView(TQWidget *parent, const char *name ) :
connect(m_qbuttonNew, TQT_SIGNAL(clicked()), kmymoney2->action("schedule_new"), TQT_SLOT(activate())); connect(m_qbuttonNew, TQT_SIGNAL(clicked()), kmymoney2->action("schedule_new"), TQT_SLOT(activate()));
// attach popup to 'Filter...' button // attach popup to 'Filter...' button
m_kaccPopup = new KPopupMenu(this); m_kaccPopup = new TDEPopupMenu(this);
m_kaccPopup->setCheckable(true); m_kaccPopup->setCheckable(true);
m_accountsCombo->setPopup(m_kaccPopup); m_accountsCombo->setPopup(m_kaccPopup);
connect(m_kaccPopup, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotAccountActivated(int))); connect(m_kaccPopup, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotAccountActivated(int)));
@ -98,8 +98,8 @@ KScheduledView::KScheduledView(TQWidget *parent, const char *name ) :
m_tabWidget->setTabIconSet(m_listTab, TQIconSet(il->loadIcon("contents", KIcon::Small, KIcon::SizeSmall))); m_tabWidget->setTabIconSet(m_listTab, TQIconSet(il->loadIcon("contents", KIcon::Small, KIcon::SizeSmall)));
m_tabWidget->setTabIconSet(m_calendarTab, TQIconSet(il->loadIcon("calendartab", KIcon::User, KIcon::SizeSmall))); m_tabWidget->setTabIconSet(m_calendarTab, TQIconSet(il->loadIcon("calendartab", KIcon::User, KIcon::SizeSmall)));
connect(m_qlistviewScheduled, TQT_SIGNAL(contextMenu(KListView*, TQListViewItem*, const TQPoint&)), connect(m_qlistviewScheduled, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
this, TQT_SLOT(slotListViewContextMenu(KListView*, TQListViewItem*, const TQPoint&))); this, TQT_SLOT(slotListViewContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
connect(m_qlistviewScheduled, TQT_SIGNAL(selectionChanged(TQListViewItem*)), connect(m_qlistviewScheduled, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
this, TQT_SLOT(slotSetSelectedItem(TQListViewItem*))); this, TQT_SLOT(slotSetSelectedItem(TQListViewItem*)));
@ -336,7 +336,7 @@ void KScheduledView::writeConfig(void)
m_qlistviewScheduled->saveLayout(TDEGlobal::config(), "Schedule View Settings"); m_qlistviewScheduled->saveLayout(TDEGlobal::config(), "Schedule View Settings");
} }
void KScheduledView::slotListViewContextMenu(KListView* /* view */, TQListViewItem *item, const TQPoint& /* pos */) void KScheduledView::slotListViewContextMenu(TDEListView* /* view */, TQListViewItem *item, const TQPoint& /* pos */)
{ {
KScheduledListItem *scheduleItem = dynamic_cast<KScheduledListItem *>(item); KScheduledListItem *scheduleItem = dynamic_cast<KScheduledListItem *>(item);
if (scheduleItem) if (scheduleItem)

@ -31,7 +31,7 @@
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// KDE Includes // KDE Includes
class KListViewSearchLineWidget; class TDEListViewSearchLineWidget;
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Project Includes // Project Includes
@ -41,7 +41,7 @@ class KListViewSearchLineWidget;
#include <kmymoney/mymoneyaccount.h> #include <kmymoney/mymoneyaccount.h>
#include "../widgets/kmymoneyscheduledcalendar.h" #include "../widgets/kmymoneyscheduledcalendar.h"
class KPopupMenu; class TDEPopupMenu;
/** /**
* Contains all the scheduled transactions be they bills, deposits or transfers. * Contains all the scheduled transactions be they bills, deposits or transfers.
@ -95,7 +95,7 @@ protected slots:
* @param pos The position to popup * @param pos The position to popup
* @return none * @return none
**/ **/
void slotListViewContextMenu(KListView* view, TQListViewItem* item, const TQPoint& pos); void slotListViewContextMenu(TDEListView* view, TQListViewItem* item, const TQPoint& pos);
void slotListItemExecuted(TQListViewItem*, const TQPoint&, int); void slotListItemExecuted(TQListViewItem*, const TQPoint&, int);
@ -133,7 +133,7 @@ private:
*/ */
// void loadAccounts(void); // void loadAccounts(void);
KPopupMenu *m_kaccPopup; TDEPopupMenu *m_kaccPopup;
TQStringList m_filterAccounts; TQStringList m_filterAccounts;
bool m_openBills; bool m_openBills;
bool m_openDeposits; bool m_openDeposits;
@ -144,7 +144,7 @@ private:
/** /**
* Search widget for the list * Search widget for the list
*/ */
KListViewSearchLineWidget* m_searchWidget; TDEListViewSearchLineWidget* m_searchWidget;
}; };
#endif #endif

@ -94,7 +94,7 @@
<property name="margin"> <property name="margin">
<number>0</number> <number>0</number>
</property> </property>
<widget class="KListView"> <widget class="TDEListView">
<property name="name"> <property name="name">
<cstring>m_qlistviewScheduled</cstring> <cstring>m_qlistviewScheduled</cstring>
</property> </property>

@ -38,7 +38,7 @@
#include "kaccounttemplateselector.h" #include "kaccounttemplateselector.h"
class KTemplateListItem : public KListViewItem class KTemplateListItem : public TDEListViewItem
{ {
public: public:
KTemplateListItem(TQListViewItem* parent, const TQString& text); KTemplateListItem(TQListViewItem* parent, const TQString& text);
@ -48,7 +48,7 @@ class KTemplateListItem : public KListViewItem
}; };
KTemplateListItem::KTemplateListItem(TQListViewItem* parent, const TQString& text) : KTemplateListItem::KTemplateListItem(TQListViewItem* parent, const TQString& text) :
KListViewItem(parent, text), TDEListViewItem(parent, text),
m_isAvailable(false) m_isAvailable(false)
{ {
} }
@ -132,7 +132,7 @@ void KAccountTemplateSelector::Private::loadHierarchy(void)
TQRegExp exp("(.*):(.*)"); TQRegExp exp("(.*):(.*)");
for(it_m = m_templateHierarchy.begin(); it_m != m_templateHierarchy.end(); ++it_m) { for(it_m = m_templateHierarchy.begin(); it_m != m_templateHierarchy.end(); ++it_m) {
if(exp.search(it_m.key()) == -1) { if(exp.search(it_m.key()) == -1) {
(*it_m) = new KListViewItem(m_parent->m_accountList, it_m.key()); (*it_m) = new TDEListViewItem(m_parent->m_accountList, it_m.key());
} else { } else {
(*it_m) = hierarchyItem(exp.cap(1), exp.cap(2)); (*it_m) = hierarchyItem(exp.cap(1), exp.cap(2));
} }
@ -233,7 +233,7 @@ void KAccountTemplateSelector::slotLoadCountry(void)
{ {
#ifndef KMM_DESIGNER #ifndef KMM_DESIGNER
KListViewItem* parent = new KListViewItem(m_groupList, d->it_m.key()); TDEListViewItem* parent = new TDEListViewItem(m_groupList, d->it_m.key());
parent->setSelectable(false); parent->setSelectable(false);
TQStringList::iterator it; TQStringList::iterator it;
for(it = d->dirlist.begin(); it != d->dirlist.end(); ++it) { for(it = d->dirlist.begin(); it != d->dirlist.end(); ++it) {
@ -244,7 +244,7 @@ void KAccountTemplateSelector::slotLoadCountry(void)
for(it_f = files.begin(); it_f != files.end(); ++it_f) { for(it_f = files.begin(); it_f != files.end(); ++it_f) {
MyMoneyTemplate templ(TQString("%1/%2").arg(dir.canonicalPath()).arg(*it_f)); MyMoneyTemplate templ(TQString("%1/%2").arg(dir.canonicalPath()).arg(*it_f));
d->m_templates[TQString("%1").arg(d->id)] = templ; d->m_templates[TQString("%1").arg(d->id)] = templ;
new KListViewItem(parent, templ.title(), templ.shortDescription(), TQString("%1").arg(d->id)); new TDEListViewItem(parent, templ.title(), templ.shortDescription(), TQString("%1").arg(d->id));
++d->id; ++d->id;
} }
} }

@ -36,7 +36,7 @@ KAccountTemplateSelectorDecl::KAccountTemplateSelectorDecl( TQWidget* parent, co
setName( "KAccountTemplateSelectorDecl" ); setName( "KAccountTemplateSelectorDecl" );
KAccountTemplateSelectorDeclLayout = new TQVBoxLayout( this, 0, 6, "KAccountTemplateSelectorDeclLayout"); KAccountTemplateSelectorDeclLayout = new TQVBoxLayout( this, 0, 6, "KAccountTemplateSelectorDeclLayout");
m_groupList = new KListView( this, "m_groupList" ); m_groupList = new TDEListView( this, "m_groupList" );
m_groupList->addColumn( kmm_i18n( "Account Types" ) ); m_groupList->addColumn( kmm_i18n( "Account Types" ) );
m_groupList->addColumn( kmm_i18n( "Description" ) ); m_groupList->addColumn( kmm_i18n( "Description" ) );
m_groupList->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, m_groupList->sizePolicy().hasHeightForWidth() ) ); m_groupList->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, m_groupList->sizePolicy().hasHeightForWidth() ) );
@ -71,7 +71,7 @@ KAccountTemplateSelectorDecl::KAccountTemplateSelectorDecl( TQWidget* parent, co
groupBox2Layout = new TQVBoxLayout( groupBox2->layout() ); groupBox2Layout = new TQVBoxLayout( groupBox2->layout() );
groupBox2Layout->setAlignment( TQt::AlignTop ); groupBox2Layout->setAlignment( TQt::AlignTop );
m_accountList = new KListView( groupBox2, "m_accountList" ); m_accountList = new TDEListView( groupBox2, "m_accountList" );
m_accountList->addColumn( kmm_i18n( "Name" ) ); m_accountList->addColumn( kmm_i18n( "Name" ) );
m_accountList->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 3, m_accountList->sizePolicy().hasHeightForWidth() ) ); m_accountList->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 3, m_accountList->sizePolicy().hasHeightForWidth() ) );
m_accountList->setMinimumSize( TQSize( 0, 150 ) ); m_accountList->setMinimumSize( TQSize( 0, 150 ) );

@ -19,7 +19,7 @@
<property name="margin"> <property name="margin">
<number>0</number> <number>0</number>
</property> </property>
<widget class="KListView"> <widget class="TDEListView">
<column> <column>
<property name="text"> <property name="text">
<string>Account Types</string> <string>Account Types</string>
@ -136,7 +136,7 @@
<property name="name"> <property name="name">
<cstring>unnamed</cstring> <cstring>unnamed</cstring>
</property> </property>
<widget class="KListView"> <widget class="TDEListView">
<column> <column>
<property name="text"> <property name="text">
<string>Name</string> <string>Name</string>

@ -33,17 +33,17 @@
#define KLISTVIEWSEARCHLINE_ALLVISIBLECOLUMNS_ID 2004 #define KLISTVIEWSEARCHLINE_ALLVISIBLECOLUMNS_ID 2004
class KListViewSearchLine::KListViewSearchLinePrivate class TDEListViewSearchLine::TDEListViewSearchLinePrivate
{ {
public: public:
KListViewSearchLinePrivate() : TDEListViewSearchLinePrivate() :
listView(0), listView(0),
caseSensitive(false), caseSensitive(false),
activeSearch(false), activeSearch(false),
keepParentsVisible(true), keepParentsVisible(true),
queuedSearches(0) {} queuedSearches(0) {}
KListView *listView; TDEListView *listView;
bool caseSensitive; bool caseSensitive;
bool activeSearch; bool activeSearch;
bool keepParentsVisible; bool keepParentsVisible;
@ -56,10 +56,10 @@ public:
// public methods // public methods
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
KListViewSearchLine::KListViewSearchLine(TQWidget *parent, KListView *listView, const char *name) : TDEListViewSearchLine::TDEListViewSearchLine(TQWidget *parent, TDEListView *listView, const char *name) :
KLineEdit(parent, name) KLineEdit(parent, name)
{ {
d = new KListViewSearchLinePrivate; d = new TDEListViewSearchLinePrivate;
d->listView = listView; d->listView = listView;
@ -79,10 +79,10 @@ KListViewSearchLine::KListViewSearchLine(TQWidget *parent, KListView *listView,
setEnabled(false); setEnabled(false);
} }
KListViewSearchLine::KListViewSearchLine(TQWidget *parent, const char *name) : TDEListViewSearchLine::TDEListViewSearchLine(TQWidget *parent, const char *name) :
KLineEdit(parent, name) KLineEdit(parent, name)
{ {
d = new KListViewSearchLinePrivate; d = new TDEListViewSearchLinePrivate;
d->listView = 0; d->listView = 0;
@ -92,27 +92,27 @@ KListViewSearchLine::KListViewSearchLine(TQWidget *parent, const char *name) :
setEnabled(false); setEnabled(false);
} }
KListViewSearchLine::~KListViewSearchLine() TDEListViewSearchLine::~TDEListViewSearchLine()
{ {
delete d; delete d;
} }
bool KListViewSearchLine::caseSensitive() const bool TDEListViewSearchLine::caseSensitive() const
{ {
return d->caseSensitive; return d->caseSensitive;
} }
TQValueList<int> KListViewSearchLine::searchColumns() const TQValueList<int> TDEListViewSearchLine::searchColumns() const
{ {
return d->searchColumns; return d->searchColumns;
} }
bool KListViewSearchLine::keepParentsVisible() const bool TDEListViewSearchLine::keepParentsVisible() const
{ {
return d->keepParentsVisible; return d->keepParentsVisible;
} }
KListView *KListViewSearchLine::listView() const TDEListView *TDEListViewSearchLine::listView() const
{ {
return d->listView; return d->listView;
} }
@ -121,7 +121,7 @@ KListView *KListViewSearchLine::listView() const
// public slots // public slots
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
void KListViewSearchLine::updateSearch(const TQString &s) void TDEListViewSearchLine::updateSearch(const TQString &s)
{ {
if(!d->listView) if(!d->listView)
return; return;
@ -135,9 +135,9 @@ void KListViewSearchLine::updateSearch(const TQString &s)
switch(d->listView->selectionMode()) switch(d->listView->selectionMode())
{ {
case KListView::NoSelection: case TDEListView::NoSelection:
break; break;
case KListView::Single: case TDEListView::Single:
currentItem = d->listView->selectedItem(); currentItem = d->listView->selectedItem();
break; break;
default: default:
@ -162,22 +162,22 @@ void KListViewSearchLine::updateSearch(const TQString &s)
d->listView->ensureItemVisible(currentItem); d->listView->ensureItemVisible(currentItem);
} }
void KListViewSearchLine::setCaseSensitive(bool cs) void TDEListViewSearchLine::setCaseSensitive(bool cs)
{ {
d->caseSensitive = cs; d->caseSensitive = cs;
} }
void KListViewSearchLine::setKeepParentsVisible(bool v) void TDEListViewSearchLine::setKeepParentsVisible(bool v)
{ {
d->keepParentsVisible = v; d->keepParentsVisible = v;
} }
void KListViewSearchLine::setSearchColumns(const TQValueList<int> &columns) void TDEListViewSearchLine::setSearchColumns(const TQValueList<int> &columns)
{ {
d->searchColumns = columns; d->searchColumns = columns;
} }
void KListViewSearchLine::setListView(KListView *lv) void TDEListViewSearchLine::setListView(TDEListView *lv)
{ {
if(d->listView) { if(d->listView) {
disconnect(d->listView, TQT_SIGNAL(destroyed()), disconnect(d->listView, TQT_SIGNAL(destroyed()),
@ -208,7 +208,7 @@ void KListViewSearchLine::setListView(KListView *lv)
// protected members // protected members
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
bool KListViewSearchLine::itemMatches(const TQListViewItem *item, const TQString &s) const bool TDEListViewSearchLine::itemMatches(const TQListViewItem *item, const TQString &s) const
{ {
if(s.isEmpty()) if(s.isEmpty())
return true; return true;
@ -237,7 +237,7 @@ bool KListViewSearchLine::itemMatches(const TQListViewItem *item, const TQString
return false; return false;
} }
TQPopupMenu *KListViewSearchLine::createPopupMenu() TQPopupMenu *TDEListViewSearchLine::createPopupMenu()
{ {
TQPopupMenu *popup = KLineEdit::createPopupMenu(); TQPopupMenu *popup = KLineEdit::createPopupMenu();
@ -287,14 +287,14 @@ TQPopupMenu *KListViewSearchLine::createPopupMenu()
// protected slots // protected slots
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
void KListViewSearchLine::queueSearch(const TQString &search) void TDEListViewSearchLine::queueSearch(const TQString &search)
{ {
d->queuedSearches++; d->queuedSearches++;
d->search = search; d->search = search;
TQTimer::singleShot(200, this, TQT_SLOT(activateSearch())); TQTimer::singleShot(200, this, TQT_SLOT(activateSearch()));
} }
void KListViewSearchLine::activateSearch() void TDEListViewSearchLine::activateSearch()
{ {
--(d->queuedSearches); --(d->queuedSearches);
@ -306,18 +306,18 @@ void KListViewSearchLine::activateSearch()
// private slots // private slots
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
void KListViewSearchLine::itemAdded(TQListViewItem *item) const void TDEListViewSearchLine::itemAdded(TQListViewItem *item) const
{ {
item->setVisible(itemMatches(item, text())); item->setVisible(itemMatches(item, text()));
} }
void KListViewSearchLine::listViewDeleted() void TDEListViewSearchLine::listViewDeleted()
{ {
d->listView = 0; d->listView = 0;
setEnabled(false); setEnabled(false);
} }
void KListViewSearchLine::searchColumnsMenuActivated(int id) void TDEListViewSearchLine::searchColumnsMenuActivated(int id)
{ {
if(id == KLISTVIEWSEARCHLINE_ALLVISIBLECOLUMNS_ID) { if(id == KLISTVIEWSEARCHLINE_ALLVISIBLECOLUMNS_ID) {
if(d->searchColumns.isEmpty()) if(d->searchColumns.isEmpty())
@ -346,7 +346,7 @@ void KListViewSearchLine::searchColumnsMenuActivated(int id)
// private methods // private methods
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
void KListViewSearchLine::checkItemParentsNotVisible() void TDEListViewSearchLine::checkItemParentsNotVisible()
{ {
TQListViewItemIterator it(d->listView); TQListViewItemIterator it(d->listView);
for(; it.current(); ++it) for(; it.current(); ++it)
@ -370,7 +370,7 @@ void KListViewSearchLine::checkItemParentsNotVisible()
* \return \c true if an item which should be visible is found, \c false if all items found should be hidden. If this function * \return \c true if an item which should be visible is found, \c false if all items found should be hidden. If this function
* returns true and \p highestHiddenParent was not 0, highestHiddenParent will have been shown. * returns true and \p highestHiddenParent was not 0, highestHiddenParent will have been shown.
*/ */
bool KListViewSearchLine::checkItemParentsVisible(TQListViewItem *item, TQListViewItem *highestHiddenParent) bool TDEListViewSearchLine::checkItemParentsVisible(TQListViewItem *item, TQListViewItem *highestHiddenParent)
{ {
bool visible = false; bool visible = false;
TQListViewItem * first = item; TQListViewItem * first = item;
@ -409,24 +409,24 @@ bool KListViewSearchLine::checkItemParentsVisible(TQListViewItem *item, TQListVi
} }
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// KListViewSearchLineWidget // TDEListViewSearchLineWidget
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
class KListViewSearchLineWidget::KListViewSearchLineWidgetPrivate class TDEListViewSearchLineWidget::TDEListViewSearchLineWidgetPrivate
{ {
public: public:
KListViewSearchLineWidgetPrivate() : listView(0), searchLine(0), clearButton(0) {} TDEListViewSearchLineWidgetPrivate() : listView(0), searchLine(0), clearButton(0) {}
KListView *listView; TDEListView *listView;
KListViewSearchLine *searchLine; TDEListViewSearchLine *searchLine;
TQToolButton *clearButton; TQToolButton *clearButton;
}; };
KListViewSearchLineWidget::KListViewSearchLineWidget(KListView *listView, TDEListViewSearchLineWidget::TDEListViewSearchLineWidget(TDEListView *listView,
TQWidget *parent, TQWidget *parent,
const char *name) : const char *name) :
TQHBox(parent, name) TQHBox(parent, name)
{ {
d = new KListViewSearchLineWidgetPrivate; d = new TDEListViewSearchLineWidgetPrivate;
d->listView = listView; d->listView = listView;
setSpacing(5); setSpacing(5);
@ -434,19 +434,19 @@ KListViewSearchLineWidget::KListViewSearchLineWidget(KListView *listView,
TQTimer::singleShot(0, this, TQT_SLOT(createWidgets())); TQTimer::singleShot(0, this, TQT_SLOT(createWidgets()));
} }
KListViewSearchLineWidget::~KListViewSearchLineWidget() TDEListViewSearchLineWidget::~TDEListViewSearchLineWidget()
{ {
delete d; delete d;
} }
KListViewSearchLine *KListViewSearchLineWidget::createSearchLine(KListView *listView) TDEListViewSearchLine *TDEListViewSearchLineWidget::createSearchLine(TDEListView *listView)
{ {
if(!d->searchLine) if(!d->searchLine)
d->searchLine = new KListViewSearchLine(this, listView); d->searchLine = new TDEListViewSearchLine(this, listView);
return d->searchLine; return d->searchLine;
} }
void KListViewSearchLineWidget::createWidgets() void TDEListViewSearchLineWidget::createWidgets()
{ {
positionInToolBar(); positionInToolBar();
@ -469,14 +469,14 @@ void KListViewSearchLineWidget::createWidgets()
connect(d->clearButton, TQT_SIGNAL(clicked()), d->searchLine, TQT_SLOT(clear())); connect(d->clearButton, TQT_SIGNAL(clicked()), d->searchLine, TQT_SLOT(clear()));
} }
KListViewSearchLine *KListViewSearchLineWidget::searchLine() const TDEListViewSearchLine *TDEListViewSearchLineWidget::searchLine() const
{ {
return d->searchLine; return d->searchLine;
} }
void KListViewSearchLineWidget::positionInToolBar() void TDEListViewSearchLineWidget::positionInToolBar()
{ {
KToolBar *toolBar = dynamic_cast<KToolBar *>(parent()); TDEToolBar *toolBar = dynamic_cast<TDEToolBar *>(parent());
if(toolBar) { if(toolBar) {
@ -492,7 +492,7 @@ void KListViewSearchLineWidget::positionInToolBar()
toolBar->setItemAutoSized(id); toolBar->setItemAutoSized(id);
if(!d->clearButton) { if(!d->clearButton) {
TQString icon = TQApplication::reverseLayout() ? "clear_left" : "locationbar_erase"; TQString icon = TQApplication::reverseLayout() ? "clear_left" : "locationbar_erase";
d->clearButton = new KToolBarButton(icon, 2005, toolBar); d->clearButton = new TDEToolBarButton(icon, 2005, toolBar);
} }
toolBar->insertWidget(2005, d->clearButton->width(), d->clearButton, index); toolBar->insertWidget(2005, d->clearButton->width(), d->clearButton, index);
break; break;

@ -24,7 +24,7 @@
#include <tqhbox.h> #include <tqhbox.h>
#include <kmymoney/export.h> #include <kmymoney/export.h>
class KListView; class TDEListView;
class TQListViewItem; class TQListViewItem;
class TQToolButton; class TQToolButton;
@ -33,12 +33,12 @@ class TQToolButton;
* listview based on a simple text search. * listview based on a simple text search.
* *
* No changes to the application other than instantiating this class with an * No changes to the application other than instantiating this class with an
* appropriate KListView should be needed. * appropriate TDEListView should be needed.
* *
* @since 3.3 * @since 3.3
*/ */
class KMYMONEY_EXPORT KListViewSearchLine : public KLineEdit class KMYMONEY_EXPORT TDEListViewSearchLine : public KLineEdit
{ {
Q_OBJECT Q_OBJECT
@ -46,24 +46,24 @@ class KMYMONEY_EXPORT KListViewSearchLine : public KLineEdit
public: public:
/** /**
* Constructs a KListViewSearchLine with \a listView being the KListView to * Constructs a TDEListViewSearchLine with \a listView being the TDEListView to
* be filtered. * be filtered.
* *
* If \a listView is null then the widget will be disabled until a listview * If \a listView is null then the widget will be disabled until a listview
* is set with setListView(). * is set with setListView().
*/ */
KListViewSearchLine(TQWidget *parent = 0, KListView *listView = 0, const char *name = 0); TDEListViewSearchLine(TQWidget *parent = 0, TDEListView *listView = 0, const char *name = 0);
/** /**
* Constructs a KListViewSearchLine without any KListView to filter. The * Constructs a TDEListViewSearchLine without any TDEListView to filter. The
* KListView object has to be set later with setListView(). * TDEListView object has to be set later with setListView().
*/ */
KListViewSearchLine(TQWidget *parent, const char *name); TDEListViewSearchLine(TQWidget *parent, const char *name);
/** /**
* Destroys the KListViewSearchLine. * Destroys the TDEListViewSearchLine.
*/ */
virtual ~KListViewSearchLine(); virtual ~TDEListViewSearchLine();
/** /**
* Returns true if the search is case sensitive. This defaults to false. * Returns true if the search is case sensitive. This defaults to false.
@ -93,7 +93,7 @@ public:
* *
* @see setListView() * @see setListView()
*/ */
KListView *listView() const; TDEListView *listView() const;
public slots: public slots:
/** /**
@ -131,12 +131,12 @@ public slots:
void setSearchColumns(const TQValueList<int> &columns); void setSearchColumns(const TQValueList<int> &columns);
/** /**
* Sets the KListView that is filtered by this search line. If \a lv is null * Sets the TDEListView that is filtered by this search line. If \a lv is null
* then the widget will be disabled. * then the widget will be disabled.
* *
* @see listView() * @see listView()
*/ */
void setListView(KListView *lv); void setListView(TDEListView *lv);
protected: protected:
@ -201,44 +201,44 @@ private slots:
void searchColumnsMenuActivated(int); void searchColumnsMenuActivated(int);
private: private:
class KListViewSearchLinePrivate; class TDEListViewSearchLinePrivate;
KListViewSearchLinePrivate *d; TDEListViewSearchLinePrivate *d;
}; };
/** /**
* Creates a widget featuring a KListViewSearchLine, a label with the text * Creates a widget featuring a TDEListViewSearchLine, a label with the text
* "Search" and a button to clear the search. * "Search" and a button to clear the search.
* *
* @since 3.4 * @since 3.4
*/ */
class KMYMONEY_EXPORT KListViewSearchLineWidget : public TQHBox class KMYMONEY_EXPORT TDEListViewSearchLineWidget : public TQHBox
{ {
Q_OBJECT Q_OBJECT
public: public:
/** /**
* Creates a KListViewSearchLineWidget for \a listView with \a parent as the * Creates a TDEListViewSearchLineWidget for \a listView with \a parent as the
* parent with and \a name. * parent with and \a name.
*/ */
KListViewSearchLineWidget(KListView *listView = 0, TQWidget *parent = 0, TDEListViewSearchLineWidget(TDEListView *listView = 0, TQWidget *parent = 0,
const char *name = 0); const char *name = 0);
/** /**
* Destroys the KListViewSearchLineWidget * Destroys the TDEListViewSearchLineWidget
*/ */
~KListViewSearchLineWidget(); ~TDEListViewSearchLineWidget();
/** /**
* Creates the search line. This can be useful to reimplement in cases where * Creates the search line. This can be useful to reimplement in cases where
* a KListViewSearchLine subclass is used. * a TDEListViewSearchLine subclass is used.
*/ */
virtual KListViewSearchLine *createSearchLine(KListView *listView); virtual TDEListViewSearchLine *createSearchLine(TDEListView *listView);
/** /**
* Returns a pointer to the search line. * Returns a pointer to the search line.
*/ */
KListViewSearchLine *searchLine() const; TDEListViewSearchLine *searchLine() const;
protected slots: protected slots:
/** /**
@ -253,8 +253,8 @@ private slots:
void positionInToolBar(); void positionInToolBar();
private: private:
class KListViewSearchLineWidgetPrivate; class TDEListViewSearchLineWidgetPrivate;
KListViewSearchLineWidgetPrivate *d; TDEListViewSearchLineWidgetPrivate *d;
}; };
#endif #endif

@ -340,7 +340,7 @@ int AccountSet::load(kMyMoneyAccountSelector* selector)
typeMask |= KMyMoneyUtils::equity; typeMask |= KMyMoneyUtils::equity;
selector->clear(); selector->clear();
KListView* lv = selector->listView(); TDEListView* lv = selector->listView();
m_count = 0; m_count = 0;
TQString key; TQString key;
TQListViewItem* after = 0; TQListViewItem* after = 0;
@ -476,7 +476,7 @@ int AccountSet::load(kMyMoneyAccountSelector* selector, const TQString& baseName
++count; ++count;
} }
KListView* lv = selector->listView(); TDEListView* lv = selector->listView();
if(lv->firstChild()) { if(lv->firstChild()) {
lv->setCurrentItem(lv->firstChild()); lv->setCurrentItem(lv->firstChild());
lv->clearSelection(); lv->clearSelection();

@ -62,7 +62,7 @@ KMyMoneyAccountTree::KMyMoneyAccountTree(TQWidget* parent, const char *name) :
showValue(); showValue();
} }
KMyMoneyAccountTreeItem::KMyMoneyAccountTreeItem(KListView *parent, const MyMoneyAccount& account, const MyMoneySecurity& security , const TQString& name) : KMyMoneyAccountTreeItem::KMyMoneyAccountTreeItem(TDEListView *parent, const MyMoneyAccount& account, const MyMoneySecurity& security , const TQString& name) :
KMyMoneyAccountTreeBaseItem(parent,account,security,name), KMyMoneyAccountTreeBaseItem(parent,account,security,name),
m_reconcileFlag(false) m_reconcileFlag(false)
{ {
@ -76,7 +76,7 @@ KMyMoneyAccountTreeItem::KMyMoneyAccountTreeItem(KMyMoneyAccountTreeBaseItem *pa
updateAccount(); updateAccount();
} }
KMyMoneyAccountTreeItem::KMyMoneyAccountTreeItem(KListView *parent, const MyMoneyInstitution& institution) : KMyMoneyAccountTreeItem::KMyMoneyAccountTreeItem(TDEListView *parent, const MyMoneyInstitution& institution) :
KMyMoneyAccountTreeBaseItem(parent,institution), KMyMoneyAccountTreeBaseItem(parent,institution),
m_reconcileFlag(false) m_reconcileFlag(false)
{ {

@ -43,27 +43,27 @@ public:
* Constructor to be used to construct an institution entry * Constructor to be used to construct an institution entry
* object. * object.
* *
* @param parent pointer to the KListView object this entry should be * @param parent pointer to the TDEListView object this entry should be
* added to. * added to.
* @param institution const reference to MyMoneyInstitution for which * @param institution const reference to MyMoneyInstitution for which
* the KListView entry is constructed * the TDEListView entry is constructed
*/ */
KMyMoneyAccountTreeItem(KListView *parent, const MyMoneyInstitution& institution); KMyMoneyAccountTreeItem(TDEListView *parent, const MyMoneyInstitution& institution);
/** /**
* Constructor to be used to construct a standard account entry object (e.g. Asset, * Constructor to be used to construct a standard account entry object (e.g. Asset,
* Liability, etc.). * Liability, etc.).
* *
* @param parent pointer to the KListView object this entry should be * @param parent pointer to the TDEListView object this entry should be
* added to. * added to.
* @param account const reference to MyMoneyAccount for which * @param account const reference to MyMoneyAccount for which
* the KListView entry is constructed * the TDEListView entry is constructed
* @param security const reference to the security used to show the value. Usually * @param security const reference to the security used to show the value. Usually
* one should pass MyMoneyFile::baseCurrency() here. * one should pass MyMoneyFile::baseCurrency() here.
* @param name name of the account to be used instead of the one stored with @p account * @param name name of the account to be used instead of the one stored with @p account
* If empty, the one stored with @p account will be used. Default: empty * If empty, the one stored with @p account will be used. Default: empty
*/ */
KMyMoneyAccountTreeItem(KListView *parent, const MyMoneyAccount& account, const MyMoneySecurity& security = MyMoneySecurity(), const TQString& name = TQString()); KMyMoneyAccountTreeItem(TDEListView *parent, const MyMoneyAccount& account, const MyMoneySecurity& security = MyMoneySecurity(), const TQString& name = TQString());
/** /**
* Constructor to be used to construct an account entry * Constructor to be used to construct an account entry
@ -72,7 +72,7 @@ public:
* @param parent pointer to the parent KAccountListView object this entry should be * @param parent pointer to the parent KAccountListView object this entry should be
* added to. * added to.
* @param account const reference to MyMoneyAccount for which * @param account const reference to MyMoneyAccount for which
* the KListView entry is constructed * the TDEListView entry is constructed
* @param price price to be used to calculate value (defaults to 1) * @param price price to be used to calculate value (defaults to 1)
* This is used for accounts denominated in foreign currencies or stocks * This is used for accounts denominated in foreign currencies or stocks
* @param security const reference to the security used to show the value. Usually * @param security const reference to the security used to show the value. Usually

@ -47,7 +47,7 @@
#include <kmymoney/kmymoneyutils.h> #include <kmymoney/kmymoneyutils.h>
KMyMoneyAccountTreeBase::KMyMoneyAccountTreeBase(TQWidget* parent, const char* name) : KMyMoneyAccountTreeBase::KMyMoneyAccountTreeBase(TQWidget* parent, const char* name) :
KListView(parent, name), TDEListView(parent, name),
m_accountConnections(false), m_accountConnections(false),
m_institutionConnections(false), m_institutionConnections(false),
m_queuedSort(0) m_queuedSort(0)
@ -82,7 +82,7 @@ KMyMoneyAccountTreeBase::KMyMoneyAccountTreeBase(TQWidget* parent, const char* n
connect(this, TQT_SIGNAL(dropped(TQDropEvent*,TQListViewItem*,TQListViewItem*)), this, TQT_SLOT(slotObjectDropped(TQDropEvent*,TQListViewItem*,TQListViewItem*))); connect(this, TQT_SIGNAL(dropped(TQDropEvent*,TQListViewItem*,TQListViewItem*)), this, TQT_SLOT(slotObjectDropped(TQDropEvent*,TQListViewItem*,TQListViewItem*)));
connect(this, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(slotSelectObject(TQListViewItem*))); connect(this, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(slotSelectObject(TQListViewItem*)));
connect(this, TQT_SIGNAL(contextMenu(KListView*, TQListViewItem* , const TQPoint&)), this, TQT_SLOT(slotOpenContextMenu(KListView*, TQListViewItem*, const TQPoint&))); connect(this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem* , const TQPoint&)), this, TQT_SLOT(slotOpenContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
connect(this, TQT_SIGNAL(doubleClicked(TQListViewItem*,const TQPoint&,int)), this, TQT_SLOT(slotOpenObject(TQListViewItem*))); connect(this, TQT_SIGNAL(doubleClicked(TQListViewItem*,const TQPoint&,int)), this, TQT_SLOT(slotOpenObject(TQListViewItem*)));
// drag and drop timer connections // drag and drop timer connections
@ -105,7 +105,7 @@ void KMyMoneyAccountTreeBase::restoreLayout(const TQString& group)
// we use equal distribution of all fields as an initial setting // we use equal distribution of all fields as an initial setting
// TODO this only makes the first column invisible if settings exist setColumnWidth(0, 0); // TODO this only makes the first column invisible if settings exist setColumnWidth(0, 0);
m_configGroup = group; m_configGroup = group;
KListView::restoreLayout(TDEGlobal::config(), m_configGroup); TDEListView::restoreLayout(TDEGlobal::config(), m_configGroup);
} }
void KMyMoneyAccountTreeBase::showType(void) void KMyMoneyAccountTreeBase::showType(void)
@ -151,7 +151,7 @@ void KMyMoneyAccountTreeBase::setSectionHeader(const TQString& txt)
KMyMoneyAccountTreeBaseItem* KMyMoneyAccountTreeBase::selectedItem(void) const KMyMoneyAccountTreeBaseItem* KMyMoneyAccountTreeBase::selectedItem(void) const
{ {
return dynamic_cast<KMyMoneyAccountTreeBaseItem *>(KListView::selectedItem()); return dynamic_cast<KMyMoneyAccountTreeBaseItem *>(TDEListView::selectedItem());
} }
const KMyMoneyAccountTreeBaseItem* KMyMoneyAccountTreeBase::findItem(const TQString& id) const const KMyMoneyAccountTreeBaseItem* KMyMoneyAccountTreeBase::findItem(const TQString& id) const
@ -332,7 +332,7 @@ void KMyMoneyAccountTreeBase::slotSelectObject(TQListViewItem* i)
} }
} }
void KMyMoneyAccountTreeBase::slotOpenContextMenu(KListView* lv, TQListViewItem* i, const TQPoint&) void KMyMoneyAccountTreeBase::slotOpenContextMenu(TDEListView* lv, TQListViewItem* i, const TQPoint&)
{ {
Q_UNUSED(lv); Q_UNUSED(lv);
@ -533,8 +533,8 @@ const MyMoneyObject& KMyMoneyAccountTreeBaseItem::itemObject(void) const
return m_account; return m_account;
} }
KMyMoneyAccountTreeBaseItem::KMyMoneyAccountTreeBaseItem(KListView *parent, const MyMoneyInstitution& institution) : KMyMoneyAccountTreeBaseItem::KMyMoneyAccountTreeBaseItem(TDEListView *parent, const MyMoneyInstitution& institution) :
KListViewItem(parent), TDEListViewItem(parent),
m_totalValue(MyMoneyMoney(0)), m_totalValue(MyMoneyMoney(0)),
m_negative(false), m_negative(false),
m_institution(institution), m_institution(institution),
@ -543,8 +543,8 @@ KMyMoneyAccountTreeBaseItem::KMyMoneyAccountTreeBaseItem(KListView *parent, cons
setName(); setName();
} }
KMyMoneyAccountTreeBaseItem::KMyMoneyAccountTreeBaseItem(KListView *parent, const MyMoneyAccount& account, const MyMoneySecurity& security, const TQString& name) : KMyMoneyAccountTreeBaseItem::KMyMoneyAccountTreeBaseItem(TDEListView *parent, const MyMoneyAccount& account, const MyMoneySecurity& security, const TQString& name) :
KListViewItem(parent), TDEListViewItem(parent),
m_security(security), m_security(security),
m_totalValue(MyMoneyMoney(0)), m_totalValue(MyMoneyMoney(0)),
m_account(account), m_account(account),
@ -561,7 +561,7 @@ KMyMoneyAccountTreeBaseItem::KMyMoneyAccountTreeBaseItem(KListView *parent, cons
} }
KMyMoneyAccountTreeBaseItem::KMyMoneyAccountTreeBaseItem(KMyMoneyAccountTreeBaseItem *parent, const MyMoneyAccount& account, const TQValueList<MyMoneyPrice>& price, const MyMoneySecurity& security) : KMyMoneyAccountTreeBaseItem::KMyMoneyAccountTreeBaseItem(KMyMoneyAccountTreeBaseItem *parent, const MyMoneyAccount& account, const TQValueList<MyMoneyPrice>& price, const MyMoneySecurity& security) :
KListViewItem(parent), TDEListViewItem(parent),
m_price(price), m_price(price),
m_security(security), m_security(security),
m_totalValue(MyMoneyMoney(0)), m_totalValue(MyMoneyMoney(0)),
@ -673,7 +673,7 @@ void KMyMoneyAccountTreeBaseItem::setOpen(bool open)
{ {
if (open == isOpen()) if (open == isOpen())
return; return;
KListViewItem::setOpen(open); TDEListViewItem::setOpen(open);
fillColumns(); fillColumns();
if(listView()) if(listView())
@ -731,7 +731,7 @@ int KMyMoneyAccountTreeBaseItem::compare(TQListViewItem* i, int col, bool ascend
} }
} }
// do standard sorting here // do standard sorting here
return KListViewItem::compare(i, col, ascending); return TDEListViewItem::compare(i, col, ascending);
} }
void KMyMoneyAccountTreeBaseItem::paintCell(TQPainter *p, const TQColorGroup & cg, int column, int width, int align) void KMyMoneyAccountTreeBaseItem::paintCell(TQPainter *p, const TQColorGroup & cg, int column, int width, int align)
@ -800,7 +800,7 @@ void KMyMoneyAccountTreeBase::slotActivateSort(void)
{ {
--m_queuedSort; --m_queuedSort;
if(!m_queuedSort) if(!m_queuedSort)
KListView::sort(); TDEListView::sort();
} }
void KMyMoneyAccountTreeBaseItem::setNegative(bool isNegative) void KMyMoneyAccountTreeBaseItem::setNegative(bool isNegative)
@ -817,7 +817,7 @@ void KMyMoneyAccountTreeBaseItem::setText( int column, const TQString &text, con
m_columnsColor[column] = TQColorGroup::Text; m_columnsColor[column] = TQColorGroup::Text;
} }
KListViewItem::setText(column, text); TDEListViewItem::setText(column, text);
} }

@ -40,7 +40,7 @@ class TQDragObject;
class KMyMoneyAccountTreeBaseItem; class KMyMoneyAccountTreeBaseItem;
class KMyMoneyAccountTreeBase : public KListView class KMyMoneyAccountTreeBase : public TDEListView
{ {
friend class KMyMoneyAccountTreeBaseItem; friend class KMyMoneyAccountTreeBaseItem;
@ -154,11 +154,11 @@ protected slots:
* and checks if the item pointed to by @p i is either an account or institution * and checks if the item pointed to by @p i is either an account or institution
* and sends out the necessary signal openContextMenu. * and sends out the necessary signal openContextMenu.
* *
* @param lv pointer to KListView * @param lv pointer to TDEListView
* @param i pointer to TQListViewItem * @param i pointer to TQListViewItem
* @param p position information * @param p position information
*/ */
void slotOpenContextMenu(KListView* lv, TQListViewItem* i, const TQPoint& p); void slotOpenContextMenu(TDEListView* lv, TQListViewItem* i, const TQPoint& p);
/** /**
* This slot is connected to the accout list view's executed signal * This slot is connected to the accout list view's executed signal
@ -174,7 +174,7 @@ protected slots:
/** Open the folder pointed to by m_dropItem */ /** Open the folder pointed to by m_dropItem */
void slotOpenFolder(void); void slotOpenFolder(void);
/** override KListView implementation */ /** override TDEListView implementation */
void cleanItemHighlighter(void); void cleanItemHighlighter(void);
void slotActivateSort(void); void slotActivateSort(void);
@ -255,7 +255,7 @@ signals:
void reparent(const MyMoneyAccount& acc, const MyMoneyInstitution& institution); void reparent(const MyMoneyAccount& acc, const MyMoneyInstitution& institution);
}; };
class KMyMoneyAccountTreeBaseItem : public KListViewItem class KMyMoneyAccountTreeBaseItem : public TDEListViewItem
{ {
public: public:
typedef enum { typedef enum {
@ -267,27 +267,27 @@ public:
* Constructor to be used to construct an institution entry * Constructor to be used to construct an institution entry
* object. * object.
* *
* @param parent pointer to the KListView object this entry should be * @param parent pointer to the TDEListView object this entry should be
* added to. * added to.
* @param institution const reference to MyMoneyInstitution for which * @param institution const reference to MyMoneyInstitution for which
* the KListView entry is constructed * the TDEListView entry is constructed
*/ */
KMyMoneyAccountTreeBaseItem(KListView *parent, const MyMoneyInstitution& institution); KMyMoneyAccountTreeBaseItem(TDEListView *parent, const MyMoneyInstitution& institution);
/** /**
* Constructor to be used to construct a standard account entry object (e.g. Asset, * Constructor to be used to construct a standard account entry object (e.g. Asset,
* Liability, etc.). * Liability, etc.).
* *
* @param parent pointer to the KListView object this entry should be * @param parent pointer to the TDEListView object this entry should be
* added to. * added to.
* @param account const reference to MyMoneyAccount for which * @param account const reference to MyMoneyAccount for which
* the KListView entry is constructed * the TDEListView entry is constructed
* @param security const reference to the security used to show the value. Usually * @param security const reference to the security used to show the value. Usually
* one should pass MyMoneyFile::baseCurrency() here. * one should pass MyMoneyFile::baseCurrency() here.
* @param name name of the account to be used instead of the one stored with @p account * @param name name of the account to be used instead of the one stored with @p account
* If empty, the one stored with @p account will be used. Default: empty * If empty, the one stored with @p account will be used. Default: empty
*/ */
KMyMoneyAccountTreeBaseItem(KListView *parent, const MyMoneyAccount& account, const MyMoneySecurity& security = MyMoneySecurity(), const TQString& name = TQString()); KMyMoneyAccountTreeBaseItem(TDEListView *parent, const MyMoneyAccount& account, const MyMoneySecurity& security = MyMoneySecurity(), const TQString& name = TQString());
/** /**
* Constructor to be used to construct an account entry * Constructor to be used to construct an account entry
@ -296,7 +296,7 @@ public:
* @param parent pointer to the parent KAccountListView object this entry should be * @param parent pointer to the parent KAccountListView object this entry should be
* added to. * added to.
* @param account const reference to MyMoneyAccount for which * @param account const reference to MyMoneyAccount for which
* the KListView entry is constructed * the TDEListView entry is constructed
* @param price price to be used to calculate value (defaults to 1) * @param price price to be used to calculate value (defaults to 1)
* This is used for accounts denominated in foreign currencies or stocks * This is used for accounts denominated in foreign currencies or stocks
* @param security const reference to the security used to show the value. Usually * @param security const reference to the security used to show the value. Usually
@ -356,7 +356,7 @@ public:
* o is FALSE, the children of this item are initially hidden. * o is FALSE, the children of this item are initially hidden.
* The user can show them by clicking the + icon to the left of the item. * The user can show them by clicking the + icon to the left of the item.
* *
* Overrides KListViewItem::setOpen() and exchanges the value field * Overrides TDEListViewItem::setOpen() and exchanges the value field
* with either the value of this account and its subaccounts if @p o * with either the value of this account and its subaccounts if @p o
* is false or the value of this account if @p o is true. * is false or the value of this account if @p o is true.
* *
@ -374,7 +374,7 @@ public:
/** /**
* Convenience method to return casted pointer * Convenience method to return casted pointer
*/ */
KMyMoneyAccountTreeBase* listView(void) const { return dynamic_cast<KMyMoneyAccountTreeBase*>(KListViewItem::listView()); }; KMyMoneyAccountTreeBase* listView(void) const { return dynamic_cast<KMyMoneyAccountTreeBase*>(TDEListViewItem::listView()); };
/** /**
* Return the type of entry * Return the type of entry

@ -37,7 +37,7 @@ void KMyMoneyAccountTreeBudget::slotSelectObject(const TQListViewItem* i)
} }
} }
KMyMoneyAccountTreeBudgetItem::KMyMoneyAccountTreeBudgetItem(KListView *parent, const MyMoneyAccount& account, const MyMoneyBudget &budget, const MyMoneySecurity& security, const TQString& name) : KMyMoneyAccountTreeBudgetItem::KMyMoneyAccountTreeBudgetItem(TDEListView *parent, const MyMoneyAccount& account, const MyMoneyBudget &budget, const MyMoneySecurity& security, const TQString& name) :
KMyMoneyAccountTreeBaseItem(parent, account, security, name), KMyMoneyAccountTreeBaseItem(parent, account, security, name),
m_budget(budget) m_budget(budget)
{ {

@ -60,7 +60,7 @@ public:
* @param parent pointer to the parent KAccountListView object this entry should be * @param parent pointer to the parent KAccountListView object this entry should be
* added to. * added to.
* @param account const reference to MyMoneyAccount for which * @param account const reference to MyMoneyAccount for which
* the KListView entry is constructed * the TDEListView entry is constructed
* @param budget const reference to the budget to * @param budget const reference to the budget to
* which the account belongs * which the account belongs
* @param price price to be used to calculate value (defaults to 1) * @param price price to be used to calculate value (defaults to 1)
@ -77,7 +77,7 @@ public:
* @param parent pointer to the parent KAccountListView object this entry should be * @param parent pointer to the parent KAccountListView object this entry should be
* added to. * added to.
* @param account const reference to MyMoneyAccount for which * @param account const reference to MyMoneyAccount for which
* the KListView entry is constructed * the TDEListView entry is constructed
* @param budget const reference to the budget to * @param budget const reference to the budget to
* which the account belongs * which the account belongs
* @param security const reference to the security used to show the value. Usually * @param security const reference to the security used to show the value. Usually
@ -85,7 +85,7 @@ public:
* @param name name of the account to be used instead of the one stored with @p account * @param name name of the account to be used instead of the one stored with @p account
* If empty, the one stored with @p account will be used. Default: empty * If empty, the one stored with @p account will be used. Default: empty
*/ */
KMyMoneyAccountTreeBudgetItem(KListView *parent, const MyMoneyAccount& account, const MyMoneyBudget &budget, const MyMoneySecurity& security = MyMoneySecurity(), const TQString& name = TQString()); KMyMoneyAccountTreeBudgetItem(TDEListView *parent, const MyMoneyAccount& account, const MyMoneyBudget &budget, const MyMoneySecurity& security = MyMoneySecurity(), const TQString& name = TQString());
~KMyMoneyAccountTreeBudgetItem(); ~KMyMoneyAccountTreeBudgetItem();

@ -156,7 +156,7 @@ void KMyMoneyAccountTreeForecast::slotSelectObject(const TQListViewItem* i)
} }
} }
KMyMoneyAccountTreeForecastItem::KMyMoneyAccountTreeForecastItem(KListView *parent, const MyMoneyAccount& account, const MyMoneyForecast &forecast, const MyMoneySecurity& security, const TQString& name) : KMyMoneyAccountTreeForecastItem::KMyMoneyAccountTreeForecastItem(TDEListView *parent, const MyMoneyAccount& account, const MyMoneyForecast &forecast, const MyMoneySecurity& security, const TQString& name) :
KMyMoneyAccountTreeBaseItem(parent, account, security, name), KMyMoneyAccountTreeBaseItem(parent, account, security, name),
m_forecast(forecast) m_forecast(forecast)
{ {

@ -69,7 +69,7 @@ public:
* @param parent pointer to the parent KAccountListView object this entry should be * @param parent pointer to the parent KAccountListView object this entry should be
* added to. * added to.
* @param account const reference to MyMoneyAccount for which * @param account const reference to MyMoneyAccount for which
* the KListView entry is constructed * the TDEListView entry is constructed
* @param forecast const reference to the forecast to * @param forecast const reference to the forecast to
* which the account belongs * which the account belongs
* @param price price to be used to calculate value (defaults to 1) * @param price price to be used to calculate value (defaults to 1)
@ -86,7 +86,7 @@ public:
* @param parent pointer to the parent KAccountListView object this entry should be * @param parent pointer to the parent KAccountListView object this entry should be
* added to. * added to.
* @param account const reference to MyMoneyAccount for which * @param account const reference to MyMoneyAccount for which
* the KListView entry is constructed * the TDEListView entry is constructed
* @param forecast const reference to the forecast to * @param forecast const reference to the forecast to
* which the account belongs * which the account belongs
* @param security const reference to the security used to show the value. Usually * @param security const reference to the security used to show the value. Usually
@ -94,7 +94,7 @@ public:
* @param name name of the account to be used instead of the one stored with @p account * @param name name of the account to be used instead of the one stored with @p account
* If empty, the one stored with @p account will be used. Default: empty * If empty, the one stored with @p account will be used. Default: empty
*/ */
KMyMoneyAccountTreeForecastItem(KListView *parent, const MyMoneyAccount& account, const MyMoneyForecast &forecast, const MyMoneySecurity& security = MyMoneySecurity(), const TQString& name = TQString()); KMyMoneyAccountTreeForecastItem(TDEListView *parent, const MyMoneyAccount& account, const MyMoneyForecast &forecast, const MyMoneySecurity& security = MyMoneySecurity(), const TQString& name = TQString());
~KMyMoneyAccountTreeForecastItem(); ~KMyMoneyAccountTreeForecastItem();

@ -119,7 +119,7 @@ void kMyMoneyCalendar::init( const TQDate &dt )
d->selectWeek = new TQToolButton( this ); d->selectWeek = new TQToolButton( this );
// KIconLoader *kiconloader = TDEGlobal::iconLoader(); // KIconLoader *kiconloader = TDEGlobal::iconLoader();
KPopupMenu* kpopupmenuNew = new KPopupMenu(this); TDEPopupMenu* kpopupmenuNew = new TDEPopupMenu(this);
kpopupmenuNew->insertItem(i18n("Week"), this, TQT_SLOT(slotSetStyleWeekly())); kpopupmenuNew->insertItem(i18n("Week"), this, TQT_SLOT(slotSetStyleWeekly()));
kpopupmenuNew->insertItem(i18n("Month"), this, TQT_SLOT(slotSetStyleMonthly())); kpopupmenuNew->insertItem(i18n("Month"), this, TQT_SLOT(slotSetStyleMonthly()));
/* kpopupmenuNew->insertItem(i18n("3 Months"), this, TQT_SLOT(slotSetStyleQuarterly())); */ /* kpopupmenuNew->insertItem(i18n("3 Months"), this, TQT_SLOT(slotSetStyleQuarterly())); */
@ -338,7 +338,7 @@ kMyMoneyCalendar::selectWeekClicked()
{ {
#if TDE_VERSION >= 310 && TDE_VERSION <= 314 #if TDE_VERSION >= 310 && TDE_VERSION <= 314
int week; int week;
KPopupFrame* popup = new KPopupFrame(this); TDEPopupFrame* popup = new TDEPopupFrame(this);
KDateInternalWeekSelector* picker = new KDateInternalWeekSelector(/*fontsize, */popup); KDateInternalWeekSelector* picker = new KDateInternalWeekSelector(/*fontsize, */popup);
// ----- // -----
picker->resize(picker->sizeHint()); picker->resize(picker->sizeHint());
@ -377,7 +377,7 @@ kMyMoneyCalendar::selectMonthClicked()
{ {
#if TDE_VERSION >= 310 && TDE_VERSION <= 314 #if TDE_VERSION >= 310 && TDE_VERSION <= 314
int month; int month;
KPopupFrame* popup = new KPopupFrame(this); TDEPopupFrame* popup = new TDEPopupFrame(this);
KDateInternalMonthPicker* picker = new KDateInternalMonthPicker(/*fontsize, */popup); KDateInternalMonthPicker* picker = new KDateInternalMonthPicker(/*fontsize, */popup);
// ----- // -----
picker->resize(picker->sizeHint()); picker->resize(picker->sizeHint());
@ -409,7 +409,7 @@ kMyMoneyCalendar::selectYearClicked()
{ {
#if TDE_VERSION >= 310 && TDE_VERSION <= 314 #if TDE_VERSION >= 310 && TDE_VERSION <= 314
int year; int year;
KPopupFrame* popup = new KPopupFrame(this); TDEPopupFrame* popup = new TDEPopupFrame(this);
KDateInternalYearSelector* picker = new KDateInternalYearSelector(fontsize, popup); KDateInternalYearSelector* picker = new KDateInternalYearSelector(fontsize, popup);
// ----- // -----
picker->resize(picker->sizeHint()); picker->resize(picker->sizeHint());

@ -105,7 +105,7 @@ const TQColor KMyMoneyCheckListItem::backgroundColor()
bool KMyMoneyCheckListItem::isAlternate(void) bool KMyMoneyCheckListItem::isAlternate(void)
{ {
// logic taken from KListViewItem::isAlternate() // logic taken from TDEListViewItem::isAlternate()
KMyMoneyCheckListItem* ciAbove; KMyMoneyCheckListItem* ciAbove;
KMyMoneyListViewItem* liAbove; KMyMoneyListViewItem* liAbove;
ciAbove = dynamic_cast<KMyMoneyCheckListItem*> (itemAbove()); ciAbove = dynamic_cast<KMyMoneyCheckListItem*> (itemAbove());

@ -64,7 +64,7 @@ public:
const TQColor backgroundColor(); const TQColor backgroundColor();
/** /**
* see KListViewItem::isAlternate() * see TDEListViewItem::isAlternate()
*/ */
bool isAlternate(void); bool isAlternate(void);
@ -85,7 +85,7 @@ protected:
private: private:
TQString m_key; TQString m_key;
TQString m_id; TQString m_id;
// copied from KListViewItem() // copied from TDEListViewItem()
unsigned int m_isOdd : 1; unsigned int m_isOdd : 1;
unsigned int m_isKnown : 1; unsigned int m_isKnown : 1;
unsigned int m_unused : 30; unsigned int m_unused : 30;

@ -52,7 +52,7 @@ kMyMoneyCompletion::kMyMoneyCompletion(TQWidget *parent, const char *name ) :
connectSignals(m_selector, m_selector->listView()); connectSignals(m_selector, m_selector->listView());
} }
void kMyMoneyCompletion::connectSignals(TQWidget* widget, KListView* lv) void kMyMoneyCompletion::connectSignals(TQWidget* widget, TDEListView* lv)
{ {
m_widget = widget; m_widget = widget;
m_lv = lv; m_lv = lv;

@ -34,7 +34,7 @@ class TQListViewItem;
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// KDE Includes // KDE Includes
class KListView; class TDEListView;
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Project Includes // Project Includes
@ -101,7 +101,7 @@ protected:
*/ */
void adjustSize(void); void adjustSize(void);
void connectSignals(TQWidget *widget, KListView* lv); void connectSignals(TQWidget *widget, TDEListView* lv);
void show(bool presetSelected); void show(bool presetSelected);
@ -112,7 +112,7 @@ protected:
TQWidget* m_parent; TQWidget* m_parent;
TQWidget* m_widget; TQWidget* m_widget;
TQString m_id; TQString m_id;
KListView* m_lv; TDEListView* m_lv;
KMyMoneySelector* m_selector; KMyMoneySelector* m_selector;
TQRegExp m_lastCompletion; TQRegExp m_lastCompletion;

@ -241,7 +241,7 @@ void kMyMoneyDateInput::resizeEvent(TQResizeEvent* ev)
*/ */
void kMyMoneyDateInput::keyPressEvent(TQKeyEvent * k) void kMyMoneyDateInput::keyPressEvent(TQKeyEvent * k)
{ {
KShortcut today(i18n("Enter todays date into date input widget", "T")); TDEShortcut today(i18n("Enter todays date into date input widget", "T"));
switch(k->key()) { switch(k->key()) {
case Key_Equal: case Key_Equal:

@ -34,7 +34,7 @@
#include <kmymoney/kmymoneyglobalsettings.h> #include <kmymoney/kmymoneyglobalsettings.h>
KMyMoneyForecastListViewItem::KMyMoneyForecastListViewItem (TQListView* parent, TQListViewItem* after, bool isNegative) : KMyMoneyForecastListViewItem::KMyMoneyForecastListViewItem (TQListView* parent, TQListViewItem* after, bool isNegative) :
KListViewItem(parent, after), TDEListViewItem(parent, after),
m_negative(isNegative) m_negative(isNegative)
{ {
} }
@ -54,7 +54,7 @@ void KMyMoneyForecastListViewItem::paintCell(TQPainter *p, const TQColorGroup &c
} }
_cg.setColor(TQColorGroup::Text, textColour); _cg.setColor(TQColorGroup::Text, textColour);
KListViewItem::paintCell(p, _cg, column, width, alignment); TDEListViewItem::paintCell(p, _cg, column, width, alignment);
} }
void KMyMoneyForecastListViewItem::setNegative(bool isNegative) void KMyMoneyForecastListViewItem::setNegative(bool isNegative)
@ -71,5 +71,5 @@ void KMyMoneyForecastListViewItem::setText( int column, const TQString &text, co
m_columnsColor[column] = TQColorGroup::Text; m_columnsColor[column] = TQColorGroup::Text;
} }
KListViewItem::setText(column, text); TDEListViewItem::setText(column, text);
} }

@ -32,12 +32,12 @@
// Project Includes // Project Includes
/** /**
* This class implements a derived version of a KListViewItem that * This class implements a derived version of a TDEListViewItem that
* allows printing negative numbers in red * allows printing negative numbers in red
* *
* @author Alvaro Soliverez * @author Alvaro Soliverez
*/ */
class KMyMoneyForecastListViewItem : public KListViewItem class KMyMoneyForecastListViewItem : public TDEListViewItem
{ {
public: public:

@ -36,7 +36,7 @@
#include "../kmymoneyglobalsettings.h" #include "../kmymoneyglobalsettings.h"
KMyMoneyListViewItem::KMyMoneyListViewItem(TQListView* parent, const TQString& txt, const TQString& key, const TQString& id) : KMyMoneyListViewItem::KMyMoneyListViewItem(TQListView* parent, const TQString& txt, const TQString& key, const TQString& id) :
KListViewItem(parent, txt), TDEListViewItem(parent, txt),
m_key(key), m_key(key),
m_id(id), m_id(id),
m_isOdd(0), m_isOdd(0),
@ -47,7 +47,7 @@ KMyMoneyListViewItem::KMyMoneyListViewItem(TQListView* parent, const TQString& t
} }
KMyMoneyListViewItem::KMyMoneyListViewItem(TQListViewItem* parent, const TQString& txt, const TQString& key, const TQString& id) : KMyMoneyListViewItem::KMyMoneyListViewItem(TQListViewItem* parent, const TQString& txt, const TQString& key, const TQString& id) :
KListViewItem(parent, txt), TDEListViewItem(parent, txt),
m_key(key), m_key(key),
m_id(id), m_id(id),
m_isOdd(0), m_isOdd(0),
@ -76,7 +76,7 @@ void KMyMoneyListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int c
TQColorGroup _cg = cg; TQColorGroup _cg = cg;
_cg.setColor(TQColorGroup::Base, backgroundColor()); _cg.setColor(TQColorGroup::Base, backgroundColor());
// make sure to bypass KListViewItem::paintCell() as // make sure to bypass TDEListViewItem::paintCell() as
// we don't like it's logic - that's why we do this // we don't like it's logic - that's why we do this
// here ;-) (ipwizard) // here ;-) (ipwizard)
TQListViewItem::paintCell(p, _cg, column, width, alignment); TQListViewItem::paintCell(p, _cg, column, width, alignment);
@ -89,7 +89,7 @@ const TQColor KMyMoneyListViewItem::backgroundColor()
bool KMyMoneyListViewItem::isAlternate(void) bool KMyMoneyListViewItem::isAlternate(void)
{ {
// logic taken from KListViewItem::isAlternate() // logic taken from TDEListViewItem::isAlternate()
KMyMoneyCheckListItem* ciAbove; KMyMoneyCheckListItem* ciAbove;
KMyMoneyListViewItem* liAbove; KMyMoneyListViewItem* liAbove;
ciAbove = dynamic_cast<KMyMoneyCheckListItem*> (itemAbove()); ciAbove = dynamic_cast<KMyMoneyCheckListItem*> (itemAbove());

@ -39,7 +39,7 @@ class KMyMoneyCheckListItem;
* *
* @author Thomas Baumgart * @author Thomas Baumgart
*/ */
class KMyMoneyListViewItem : public TQObject, public KListViewItem class KMyMoneyListViewItem : public TQObject, public TDEListViewItem
{ {
friend class KMyMoneyCheckListItem; friend class KMyMoneyCheckListItem;
@ -79,7 +79,7 @@ public:
private: private:
TQString m_key; TQString m_key;
TQString m_id; TQString m_id;
// copied from KListViewItem() // copied from TDEListViewItem()
unsigned int m_isOdd : 1; unsigned int m_isOdd : 1;
unsigned int m_isKnown : 1; unsigned int m_isKnown : 1;
unsigned int m_unused : 30; unsigned int m_unused : 30;

@ -25,7 +25,7 @@
<property name="name"> <property name="name">
<cstring>unnamed</cstring> <cstring>unnamed</cstring>
</property> </property>
<widget class="KListView"> <widget class="TDEListView">
<column> <column>
<property name="text"> <property name="text">
<string>Name</string> <string>Name</string>

@ -61,7 +61,7 @@
#define PRICE_COL 3 #define PRICE_COL 3
#define SOURCE_COL 4 #define SOURCE_COL 4
KMyMoneyPriceItem::KMyMoneyPriceItem(KListView *view, const MyMoneyPrice& pr) : KMyMoneyPriceItem::KMyMoneyPriceItem(TDEListView *view, const MyMoneyPrice& pr) :
KMyMoneyListViewItem(view, TQString(), TQString(), TQString()), KMyMoneyListViewItem(view, TQString(), TQString(), TQString()),
m_pr(pr) m_pr(pr)
{ {
@ -119,7 +119,7 @@ int KMyMoneyPriceItem::compare(TQListViewItem* i, int col, bool ascending) const
} }
KMyMoneyPriceView::KMyMoneyPriceView(TQWidget *parent, const char *name ) : KMyMoneyPriceView::KMyMoneyPriceView(TQWidget *parent, const char *name ) :
KListView(parent,name), TDEListView(parent,name),
m_contextMenu(0), m_contextMenu(0),
m_showAll(false) m_showAll(false)
{ {
@ -139,7 +139,7 @@ KMyMoneyPriceView::KMyMoneyPriceView(TQWidget *parent, const char *name ) :
KIconLoader *kiconloader = TDEGlobal::iconLoader(); KIconLoader *kiconloader = TDEGlobal::iconLoader();
m_contextMenu = new KPopupMenu(this); m_contextMenu = new TDEPopupMenu(this);
m_contextMenu->insertTitle(i18n("Price Options")); m_contextMenu->insertTitle(i18n("Price Options"));
m_contextMenu->insertItem(kiconloader->loadIcon("filenew", KIcon::Small), m_contextMenu->insertItem(kiconloader->loadIcon("filenew", KIcon::Small),
i18n("New..."), i18n("New..."),
@ -220,7 +220,7 @@ void KMyMoneyPriceView::resizeEvent(TQResizeEvent* e)
setColumnWidth(4, w); setColumnWidth(4, w);
resizeContents(visibleWidth(), contentsHeight()); resizeContents(visibleWidth(), contentsHeight());
KListView::resizeEvent(e); TDEListView::resizeEvent(e);
} }
void KMyMoneyPriceView::slotListClicked(TQListViewItem* item, const TQPoint&, int) void KMyMoneyPriceView::slotListClicked(TQListViewItem* item, const TQPoint&, int)

@ -44,7 +44,7 @@
class KMyMoneyPriceItem : public KMyMoneyListViewItem class KMyMoneyPriceItem : public KMyMoneyListViewItem
{ {
public: public:
KMyMoneyPriceItem(KListView *, const MyMoneyPrice& pr); KMyMoneyPriceItem(TDEListView *, const MyMoneyPrice& pr);
~KMyMoneyPriceItem() {} ~KMyMoneyPriceItem() {}
int compare(TQListViewItem *p, int col, bool ascending) const; int compare(TQListViewItem *p, int col, bool ascending) const;
@ -56,7 +56,7 @@ private:
}; };
class KMyMoneyPriceView : public KListView class KMyMoneyPriceView : public TDEListView
{ {
Q_OBJECT Q_OBJECT
@ -81,7 +81,7 @@ signals:
void onlinePriceUpdate(void); void onlinePriceUpdate(void);
private: private:
KPopupMenu* m_contextMenu; TDEPopupMenu* m_contextMenu;
bool m_showAll; bool m_showAll;
}; };

@ -41,7 +41,7 @@ kMyMoneyScheduledCalendar::kMyMoneyScheduledCalendar(TQWidget *parent, const cha
{ {
TQPushButton *pb1 = new TQPushButton(i18n("Select Schedules"), this); TQPushButton *pb1 = new TQPushButton(i18n("Select Schedules"), this);
kpopupmenu = new KPopupMenu(this); kpopupmenu = new TDEPopupMenu(this);
kpopupmenu->setCheckable(true); kpopupmenu->setCheckable(true);
kpopupmenu->insertItem(i18n("Bills"), 0); kpopupmenu->insertItem(i18n("Bills"), 0);
kpopupmenu->insertItem(i18n("Deposits"), 1); kpopupmenu->insertItem(i18n("Deposits"), 1);

@ -35,7 +35,7 @@
#include "../widgets/kmymoneycalendar.h" #include "../widgets/kmymoneycalendar.h"
#include "../widgets/kmymoneyscheduleddatetbl.h" #include "../widgets/kmymoneyscheduleddatetbl.h"
class KPopupMenu; class TDEPopupMenu;
class kMyMoneyDateTbl; class kMyMoneyDateTbl;
/** /**
@ -81,7 +81,7 @@ protected slots:
void slotSetViewTransfers(); void slotSetViewTransfers();
private: private:
KPopupMenu* kpopupmenu; TDEPopupMenu* kpopupmenu;
kMyMoneyScheduledDateTbl *m_scheduledDateTable; kMyMoneyScheduledDateTbl *m_scheduledDateTable;
}; };

@ -41,7 +41,7 @@ KMyMoneySelector::KMyMoneySelector(TQWidget *parent, const char *name, TQWidget:
{ {
m_selMode = TQListView::Single; m_selMode = TQListView::Single;
m_listView = new KListView(this); m_listView = new TDEListView(this);
// don't show horizontal scroll bar // don't show horizontal scroll bar
m_listView->setHScrollBarMode(TQScrollView::AlwaysOff); m_listView->setHScrollBarMode(TQScrollView::AlwaysOff);

@ -28,7 +28,7 @@ class TQHBoxLayout;
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// KDE Includes // KDE Includes
class KListView; class TDEListView;
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Project Includes // Project Includes
@ -137,9 +137,9 @@ public:
void setSelected(const TQString& id, const bool state = false); void setSelected(const TQString& id, const bool state = false);
/** /**
* Return a pointer to the KListView object * Return a pointer to the TDEListView object
*/ */
KListView* listView(void) const { return m_listView; }; TDEListView* listView(void) const { return m_listView; };
/** /**
* This method selects/deselects all items that * This method selects/deselects all items that
@ -201,7 +201,7 @@ public:
/** /**
* This method creates a new selectable object depending on the * This method creates a new selectable object depending on the
* selection mode. This is either a KListViewItem for single * selection mode. This is either a TDEListViewItem for single
* selection mode or a KMyMoneyCheckListItem for multi selection mode * selection mode or a KMyMoneyCheckListItem for multi selection mode
* *
* @note The new item will be the first one in the selection * @note The new item will be the first one in the selection
@ -217,7 +217,7 @@ public:
/** /**
* This method creates a new selectable object depending on the * This method creates a new selectable object depending on the
* selection mode. This is either a KListViewItem for single * selection mode. This is either a TDEListViewItem for single
* selection mode or a KMyMoneyCheckListItem for multi selection mode. * selection mode or a KMyMoneyCheckListItem for multi selection mode.
* In contrast to the above method, the parent is always the view. * In contrast to the above method, the parent is always the view.
* *
@ -362,7 +362,7 @@ protected slots:
void slotShowSelected(void); void slotShowSelected(void);
/** /**
* This slot is connected to the KListView executed signal * This slot is connected to the TDEListView executed signal
*/ */
void slotItemSelected(TQListViewItem *it_v); void slotItemSelected(TQListViewItem *it_v);
@ -375,7 +375,7 @@ protected slots:
void slotListRightMouse(TQListViewItem* it_v, const TQPoint& p, int /* col */); void slotListRightMouse(TQListViewItem* it_v, const TQPoint& p, int /* col */);
protected: protected:
KListView* m_listView; TDEListView* m_listView;
TQStringList m_itemList; TQStringList m_itemList;
TQString m_baseName; TQString m_baseName;
TQListView::SelectionMode m_selMode; TQListView::SelectionMode m_selMode;

@ -39,7 +39,7 @@ namespace KMyMoneyRegister {
/** /**
* This class makes it easy to add a search line for filtering the items * This class makes it easy to add a search line for filtering the items
* in a register based on simple text. Inspired by the idea of the tdelibs * in a register based on simple text. Inspired by the idea of the tdelibs
* class KListViewSearchLine. * class TDEListViewSearchLine.
* *
* @author Thomas Baumgart * @author Thomas Baumgart
*/ */
@ -103,7 +103,7 @@ private:
/** /**
* Creates a widget containing a RegisterSearchLine, a label with the text * Creates a widget containing a RegisterSearchLine, a label with the text
* "Search" and a button to clear the search. Modelled after KListViewSearchLineWidget. * "Search" and a button to clear the search. Modelled after TDEListViewSearchLineWidget.
* *
* @author Thomas Baumgart * @author Thomas Baumgart
*/ */

@ -346,7 +346,7 @@ static const char * sortDescendingXpm[] = {
" e.f.g.h.i.j.k.l. ", " e.f.g.h.i.j.k.l. ",
" m.n. "}; " m.n. "};
class SortOptionListItem : public KListViewItem class SortOptionListItem : public TDEListViewItem
{ {
public: public:
SortOptionListItem(TQListView* parent, TQListViewItem* after, const TQString& txt, int direction); SortOptionListItem(TQListView* parent, TQListViewItem* after, const TQString& txt, int direction);
@ -363,7 +363,7 @@ private:
}; };
SortOptionListItem::SortOptionListItem(TQListView* parent, TQListViewItem* after, const TQString& txt, int direction) : SortOptionListItem::SortOptionListItem(TQListView* parent, TQListViewItem* after, const TQString& txt, int direction) :
KListViewItem(parent, after, txt) TDEListViewItem(parent, after, txt)
{ {
m_direction = (direction >= 0) ? 1 : -1; m_direction = (direction >= 0) ? 1 : -1;
setPixmap(); setPixmap();
@ -372,9 +372,9 @@ SortOptionListItem::SortOptionListItem(TQListView* parent, TQListViewItem* after
void SortOptionListItem::setPixmap(void) void SortOptionListItem::setPixmap(void)
{ {
if(m_direction > 0) if(m_direction > 0)
KListViewItem::setPixmap(0, TQPixmap(&sortAscendingXpm[0])); TDEListViewItem::setPixmap(0, TQPixmap(&sortAscendingXpm[0]));
else else
KListViewItem::setPixmap(0, TQPixmap(&sortDescendingXpm[0])); TDEListViewItem::setPixmap(0, TQPixmap(&sortDescendingXpm[0]));
} }
void SortOptionListItem::toggleDirection(void) void SortOptionListItem::toggleDirection(void)

@ -28,7 +28,7 @@
<property name="name"> <property name="name">
<cstring>unnamed</cstring> <cstring>unnamed</cstring>
</property> </property>
<widget class="KListView"> <widget class="TDEListView">
<column> <column>
<property name="text"> <property name="text">
<string>Sort options</string> <string>Sort options</string>
@ -123,7 +123,7 @@
<property name="name"> <property name="name">
<cstring>unnamed</cstring> <cstring>unnamed</cstring>
</property> </property>
<widget class="KListView"> <widget class="TDEListView">
<column> <column>
<property name="text"> <property name="text">
<string>Sort order</string> <string>Sort order</string>
@ -283,7 +283,7 @@
</Q_SLOTS> </Q_SLOTS>
<functions> <functions>
<function specifier="non virtual">init()</function> <function specifier="non virtual">init()</function>
<function access="protected" specifier="non virtual" returnType="TQListViewItem *">addEntry( KListView * p, TQListViewItem * after, int idx )</function> <function access="protected" specifier="non virtual" returnType="TQListViewItem *">addEntry( TDEListView * p, TQListViewItem * after, int idx )</function>
<function specifier="non virtual" returnType="TQString">settings( void ) const</function> <function specifier="non virtual" returnType="TQString">settings( void ) const</function>
</functions> </functions>
<layoutdefaults spacing="6" margin="11"/> <layoutdefaults spacing="6" margin="11"/>

@ -106,7 +106,7 @@ void TransactionSortOption::setSettings(const TQString& settings)
} }
} }
TQListViewItem* TransactionSortOption::addEntry( KListView * p, TQListViewItem* after, int idx ) TQListViewItem* TransactionSortOption::addEntry( TDEListView * p, TQListViewItem* after, int idx )
{ {
TQString txt = KMyMoneyRegister::sortOrderToText(static_cast<KMyMoneyRegister::TransactionSortField>(abs(idx))); TQString txt = KMyMoneyRegister::sortOrderToText(static_cast<KMyMoneyRegister::TransactionSortField>(abs(idx)));
if(txt.isEmpty()) if(txt.isEmpty())

@ -27,7 +27,7 @@
<string>This page summarizes the data you have entered. Press &lt;b&gt;Finish&lt;/b&gt; to create the account, schedules, etc. or use &lt;b&gt;Back&lt;/b&gt; to modify your entries.</string> <string>This page summarizes the data you have entered. Press &lt;b&gt;Finish&lt;/b&gt; to create the account, schedules, etc. or use &lt;b&gt;Back&lt;/b&gt; to modify your entries.</string>
</property> </property>
</widget> </widget>
<widget class="KListView"> <widget class="TDEListView">
<column> <column>
<property name="text"> <property name="text">
<string>Item</string> <string>Item</string>

@ -1596,29 +1596,29 @@ void AccountSummaryPage::enterPage(void)
TQListViewItem* group = new KMyMoneyCheckListItem(m_dataList, i18n("Account information"), TQString(), TQString(), TQCheckListItem::RadioButtonController); TQListViewItem* group = new KMyMoneyCheckListItem(m_dataList, i18n("Account information"), TQString(), TQString(), TQCheckListItem::RadioButtonController);
group->setOpen(true); group->setOpen(true);
TQListViewItem* p; TQListViewItem* p;
p = new KListViewItem(group, i18n("Name"), acc.name()); p = new TDEListViewItem(group, i18n("Name"), acc.name());
if(!acc.isLoan()) if(!acc.isLoan())
p = new KListViewItem(group, p, i18n("Subaccount of"), p = new TDEListViewItem(group, p, i18n("Subaccount of"),
m_wizard->parentAccount().name()); m_wizard->parentAccount().name());
if(acc.accountType() == MyMoneyAccount::AssetLoan) if(acc.accountType() == MyMoneyAccount::AssetLoan)
p = new KListViewItem(group, p, i18n("Type"), i18n("Loan")); p = new TDEListViewItem(group, p, i18n("Type"), i18n("Loan"));
else else
p = new KListViewItem(group, p, i18n("Type"), m_wizard->m_accountTypePage->m_typeSelection->currentText()); p = new TDEListViewItem(group, p, i18n("Type"), m_wizard->m_accountTypePage->m_typeSelection->currentText());
p = new KListViewItem(group, p, i18n("Currency"), m_wizard->currency().name()); p = new TDEListViewItem(group, p, i18n("Currency"), m_wizard->currency().name());
p = new KListViewItem(group, p, i18n("Opening date"), TDEGlobal::locale()->formatDate(acc.openingDate())); p = new TDEListViewItem(group, p, i18n("Opening date"), TDEGlobal::locale()->formatDate(acc.openingDate()));
if(m_wizard->currency().id() != MyMoneyFile::instance()->baseCurrency().id()) { if(m_wizard->currency().id() != MyMoneyFile::instance()->baseCurrency().id()) {
p = new KListViewItem(group, p, i18n("Conversion rate"), m_wizard->conversionRate().rate(TQString()).formatMoney("", KMyMoneyGlobalSettings::pricePrecision())); p = new TDEListViewItem(group, p, i18n("Conversion rate"), m_wizard->conversionRate().rate(TQString()).formatMoney("", KMyMoneyGlobalSettings::pricePrecision()));
} }
if(!acc.isLoan() || !m_wizard->openingBalance().isZero()) if(!acc.isLoan() || !m_wizard->openingBalance().isZero())
p = new KListViewItem(group, p, i18n("Opening balance"), m_wizard->openingBalance().formatMoney(acc, sec)); p = new TDEListViewItem(group, p, i18n("Opening balance"), m_wizard->openingBalance().formatMoney(acc, sec));
if(!m_wizard->m_institutionPage->institution().id().isEmpty()) { if(!m_wizard->m_institutionPage->institution().id().isEmpty()) {
p = new KListViewItem(group, p, i18n("Institution"), m_wizard->m_institutionPage->institution().name()); p = new TDEListViewItem(group, p, i18n("Institution"), m_wizard->m_institutionPage->institution().name());
if(!acc.number().isEmpty()) { if(!acc.number().isEmpty()) {
p = new KListViewItem(group, p, i18n("Number"), acc.number()); p = new TDEListViewItem(group, p, i18n("Number"), acc.number());
} }
if(!acc.value("IBAN").isEmpty()) { if(!acc.value("IBAN").isEmpty()) {
p = new KListViewItem(group, p, i18n("IBAN"), acc.value("IBAN")); p = new TDEListViewItem(group, p, i18n("IBAN"), acc.value("IBAN"));
} }
} }
@ -1626,12 +1626,12 @@ void AccountSummaryPage::enterPage(void)
if(m_wizard->m_brokeragepage->m_createBrokerageButton->isChecked()) { if(m_wizard->m_brokeragepage->m_createBrokerageButton->isChecked()) {
group = new KMyMoneyCheckListItem(m_dataList, group, i18n("Brokerage Account"), TQString(), TQString(), TQCheckListItem::RadioButtonController); group = new KMyMoneyCheckListItem(m_dataList, group, i18n("Brokerage Account"), TQString(), TQString(), TQCheckListItem::RadioButtonController);
group->setOpen(true); group->setOpen(true);
p = new KListViewItem(group, p, i18n("Name"), TQString("%1 (Brokerage)").arg(acc.name())); p = new TDEListViewItem(group, p, i18n("Name"), TQString("%1 (Brokerage)").arg(acc.name()));
p = new KListViewItem(group, p, i18n("Currency"), m_wizard->m_brokeragepage->m_brokerageCurrency->security().name()); p = new TDEListViewItem(group, p, i18n("Currency"), m_wizard->m_brokeragepage->m_brokerageCurrency->security().name());
if(m_wizard->m_brokeragepage->m_accountNumber->isEnabled() && !m_wizard->m_brokeragepage->m_accountNumber->text().isEmpty()) if(m_wizard->m_brokeragepage->m_accountNumber->isEnabled() && !m_wizard->m_brokeragepage->m_accountNumber->text().isEmpty())
p = new KListViewItem(group, p, i18n("Number"), m_wizard->m_brokeragepage->m_accountNumber->text()); p = new TDEListViewItem(group, p, i18n("Number"), m_wizard->m_brokeragepage->m_accountNumber->text());
if(m_wizard->m_brokeragepage->m_iban->isEnabled() && !m_wizard->m_brokeragepage->m_iban->text().isEmpty()) if(m_wizard->m_brokeragepage->m_iban->isEnabled() && !m_wizard->m_brokeragepage->m_iban->text().isEmpty())
p = new KListViewItem(group, p, i18n("IBAN"), m_wizard->m_brokeragepage->m_iban->text()); p = new TDEListViewItem(group, p, i18n("IBAN"), m_wizard->m_brokeragepage->m_iban->text());
} }
} }
@ -1640,29 +1640,29 @@ void AccountSummaryPage::enterPage(void)
group = new KMyMoneyCheckListItem(m_dataList, group, i18n("Loan information"), TQString(), TQString(), TQCheckListItem::RadioButtonController); group = new KMyMoneyCheckListItem(m_dataList, group, i18n("Loan information"), TQString(), TQString(), TQCheckListItem::RadioButtonController);
group->setOpen(true); group->setOpen(true);
if(m_wizard->moneyBorrowed()) { if(m_wizard->moneyBorrowed()) {
p = new KListViewItem(group, p, i18n("Amount borrowed"), m_wizard->m_loanDetailsPage->m_loanAmount->value().formatMoney(m_wizard->currency().tradingSymbol(), m_wizard->precision())); p = new TDEListViewItem(group, p, i18n("Amount borrowed"), m_wizard->m_loanDetailsPage->m_loanAmount->value().formatMoney(m_wizard->currency().tradingSymbol(), m_wizard->precision()));
} else { } else {
p = new KListViewItem(group, p, i18n("Amount lent"), m_wizard->m_loanDetailsPage->m_loanAmount->value().formatMoney(m_wizard->currency().tradingSymbol(), m_wizard->precision())); p = new TDEListViewItem(group, p, i18n("Amount lent"), m_wizard->m_loanDetailsPage->m_loanAmount->value().formatMoney(m_wizard->currency().tradingSymbol(), m_wizard->precision()));
} }
p = new KListViewItem(group, p, i18n("Interest rate"), TQString("%1 %").arg(m_wizard->m_loanDetailsPage->m_interestRate->value().formatMoney("", -1))); p = new TDEListViewItem(group, p, i18n("Interest rate"), TQString("%1 %").arg(m_wizard->m_loanDetailsPage->m_interestRate->value().formatMoney("", -1)));
p = new KListViewItem(group, p, i18n("Interest rate is"), m_wizard->m_generalLoanInfoPage->m_interestType->currentText()); p = new TDEListViewItem(group, p, i18n("Interest rate is"), m_wizard->m_generalLoanInfoPage->m_interestType->currentText());
p = new KListViewItem(group, p, i18n("Principal and interest"), m_wizard->m_loanDetailsPage->m_paymentAmount->value().formatMoney(acc, sec)); p = new TDEListViewItem(group, p, i18n("Principal and interest"), m_wizard->m_loanDetailsPage->m_paymentAmount->value().formatMoney(acc, sec));
p = new KListViewItem(group, p, i18n("Additional fees"), m_wizard->m_loanPaymentPage->additionalFees().formatMoney(acc, sec)); p = new TDEListViewItem(group, p, i18n("Additional fees"), m_wizard->m_loanPaymentPage->additionalFees().formatMoney(acc, sec));
p = new KListViewItem(group, p, i18n("Payment frequency"), m_wizard->m_generalLoanInfoPage->m_paymentFrequency->currentText()); p = new TDEListViewItem(group, p, i18n("Payment frequency"), m_wizard->m_generalLoanInfoPage->m_paymentFrequency->currentText());
p = new KListViewItem(group, p, i18n("Payment account"), m_wizard->m_loanSchedulePage->m_paymentAccount->currentText()); p = new TDEListViewItem(group, p, i18n("Payment account"), m_wizard->m_loanSchedulePage->m_paymentAccount->currentText());
if(!m_wizard->m_loanPayoutPage->m_noPayoutTransaction->isChecked() && m_wizard->openingBalance().isZero()) { if(!m_wizard->m_loanPayoutPage->m_noPayoutTransaction->isChecked() && m_wizard->openingBalance().isZero()) {
group = new KMyMoneyCheckListItem(m_dataList, group, i18n("Payout information"), TQString(), TQString(), TQCheckListItem::RadioButtonController); group = new KMyMoneyCheckListItem(m_dataList, group, i18n("Payout information"), TQString(), TQString(), TQCheckListItem::RadioButtonController);
group->setOpen(true); group->setOpen(true);
if(m_wizard->m_loanPayoutPage->m_refinanceLoan->isChecked()) { if(m_wizard->m_loanPayoutPage->m_refinanceLoan->isChecked()) {
p = new KListViewItem(group, p, i18n("Refinance"), m_wizard->m_loanPayoutPage->m_loanAccount->currentText()); p = new TDEListViewItem(group, p, i18n("Refinance"), m_wizard->m_loanPayoutPage->m_loanAccount->currentText());
} else { } else {
if(m_wizard->moneyBorrowed()) if(m_wizard->moneyBorrowed())
p = new KListViewItem(group, p, i18n("Transfer amount to"), m_wizard->m_loanPayoutPage->m_assetAccount->currentText()); p = new TDEListViewItem(group, p, i18n("Transfer amount to"), m_wizard->m_loanPayoutPage->m_assetAccount->currentText());
else else
p = new KListViewItem(group, p, i18n("Transfer amount from"), m_wizard->m_loanPayoutPage->m_assetAccount->currentText()); p = new TDEListViewItem(group, p, i18n("Transfer amount from"), m_wizard->m_loanPayoutPage->m_assetAccount->currentText());
} }
p = new KListViewItem(group, p, i18n("Payment date"), TDEGlobal::locale()->formatDate(m_wizard->m_loanPayoutPage->m_payoutDate->date())); p = new TDEListViewItem(group, p, i18n("Payment date"), TDEGlobal::locale()->formatDate(m_wizard->m_loanPayoutPage->m_payoutDate->date()));
} }
} }
@ -1670,20 +1670,20 @@ void AccountSummaryPage::enterPage(void)
if(!(sch == MyMoneySchedule())) { if(!(sch == MyMoneySchedule())) {
group = new KMyMoneyCheckListItem(m_dataList, group, i18n("Schedule information"), TQString(), TQString(), TQCheckListItem::RadioButtonController); group = new KMyMoneyCheckListItem(m_dataList, group, i18n("Schedule information"), TQString(), TQString(), TQCheckListItem::RadioButtonController);
group->setOpen(true); group->setOpen(true);
p = new KListViewItem(group, i18n("Name"), sch.name()); p = new TDEListViewItem(group, i18n("Name"), sch.name());
if(acc.accountType() == MyMoneyAccount::CreditCard) { if(acc.accountType() == MyMoneyAccount::CreditCard) {
MyMoneyAccount paymentAccount = MyMoneyFile::instance()->account(m_wizard->m_schedulePage->m_paymentAccount->selectedItem()); MyMoneyAccount paymentAccount = MyMoneyFile::instance()->account(m_wizard->m_schedulePage->m_paymentAccount->selectedItem());
p = new KListViewItem(group, p, i18n("Occurence"), i18n("Monthly")); p = new TDEListViewItem(group, p, i18n("Occurence"), i18n("Monthly"));
p = new KListViewItem(group, p, i18n("Paid from"), paymentAccount.name()); p = new TDEListViewItem(group, p, i18n("Paid from"), paymentAccount.name());
p = new KListViewItem(group, p, i18n("Pay to"), m_wizard->m_schedulePage->m_payee->currentText()); p = new TDEListViewItem(group, p, i18n("Pay to"), m_wizard->m_schedulePage->m_payee->currentText());
p = new KListViewItem(group, p, i18n("Amount"), m_wizard->m_schedulePage->m_amount->value().formatMoney(acc, sec)); p = new TDEListViewItem(group, p, i18n("Amount"), m_wizard->m_schedulePage->m_amount->value().formatMoney(acc, sec));
p = new KListViewItem(group, p, i18n("First payment due"), TDEGlobal::locale()->formatDate(sch.nextDueDate())); p = new TDEListViewItem(group, p, i18n("First payment due"), TDEGlobal::locale()->formatDate(sch.nextDueDate()));
p = new KListViewItem(group, p, i18n("Payment method"), m_wizard->m_schedulePage->m_method->currentText()); p = new TDEListViewItem(group, p, i18n("Payment method"), m_wizard->m_schedulePage->m_method->currentText());
} }
if(acc.isLoan()) { if(acc.isLoan()) {
p = new KListViewItem(group, p, i18n("Occurence"), m_wizard->m_generalLoanInfoPage->m_paymentFrequency->currentText()); p = new TDEListViewItem(group, p, i18n("Occurence"), m_wizard->m_generalLoanInfoPage->m_paymentFrequency->currentText());
p = new KListViewItem(group, p, i18n("Amount"), (m_wizard->m_loanPaymentPage->basePayment() + m_wizard->m_loanPaymentPage->additionalFees()).formatMoney(acc, sec)); p = new TDEListViewItem(group, p, i18n("Amount"), (m_wizard->m_loanPaymentPage->basePayment() + m_wizard->m_loanPaymentPage->additionalFees()).formatMoney(acc, sec));
p = new KListViewItem(group, p, i18n("First payment due"), TDEGlobal::locale()->formatDate(m_wizard->m_loanSchedulePage->firstPaymentDueDate())); p = new TDEListViewItem(group, p, i18n("First payment due"), TDEGlobal::locale()->formatDate(m_wizard->m_loanSchedulePage->firstPaymentDueDate()));
} }
} }
} }

@ -38,7 +38,7 @@ Currency::Currency(TQWidget* parent, const char* name) :
TQListViewItem* Currency::insertCurrency(const MyMoneySecurity& sec) TQListViewItem* Currency::insertCurrency(const MyMoneySecurity& sec)
{ {
return new KListViewItem(m_currencyList, sec.name(), TQString(sec.id()), sec.tradingSymbol()); return new TDEListViewItem(m_currencyList, sec.name(), TQString(sec.id()), sec.tradingSymbol());
} }
void Currency::selectCurrency(const MyMoneySecurity& sec) void Currency::selectCurrency(const MyMoneySecurity& sec)

@ -23,7 +23,7 @@
#include <tqlistview.h> #include <tqlistview.h>
class KListViewItem; class TDEListViewItem;
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Project Includes // Project Includes

@ -24,7 +24,7 @@
<string>&lt;p&gt;KMyMoney supports multiple currencies, nevertheless one of them will be used as your base currency. The base currency is used as default for new accounts and reports. Please select the base currency from the following list.</string> <string>&lt;p&gt;KMyMoney supports multiple currencies, nevertheless one of them will be used as your base currency. The base currency is used as default for new accounts and reports. Please select the base currency from the following list.</string>
</property> </property>
</widget> </widget>
<widget class="KListView"> <widget class="TDEListView">
<column> <column>
<property name="text"> <property name="text">
<string>Name</string> <string>Name</string>

@ -4928,7 +4928,7 @@ msgid "turn on program traces"
msgstr "" msgstr ""
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "" msgstr ""
#: main.cpp:66 #: main.cpp:66

@ -5036,7 +5036,7 @@ msgid "turn on program traces"
msgstr "" msgstr ""
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "" msgstr ""
#: main.cpp:66 #: main.cpp:66

@ -4922,7 +4922,7 @@ msgid "turn on program traces"
msgstr "" msgstr ""
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "" msgstr ""
#: main.cpp:66 #: main.cpp:66

@ -5153,8 +5153,8 @@ msgid "turn on program traces"
msgstr "Schalte Programm-Traces ein" msgstr "Schalte Programm-Traces ein"
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "die Namen aller definierten KAction-Objeke auf stdout ausgeben und beenden" msgstr "die Namen aller definierten TDEAction-Objeke auf stdout ausgeben und beenden"
#: main.cpp:66 #: main.cpp:66
msgid "file to open" msgid "file to open"

@ -5008,8 +5008,8 @@ msgid "turn on program traces"
msgstr "turn on program traces" msgstr "turn on program traces"
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "dump the names of all defined KAction objects to stdout and quit" msgstr "dump the names of all defined TDEAction objects to stdout and quit"
#: main.cpp:66 #: main.cpp:66
msgid "file to open" msgid "file to open"

@ -5130,9 +5130,9 @@ msgid "turn on program traces"
msgstr "habilitar trazas del programa" msgstr "habilitar trazas del programa"
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "" msgstr ""
"volcar los nombres de todos los objetos KAction definidos a la salida " "volcar los nombres de todos los objetos TDEAction definidos a la salida "
"estándar y salir" "estándar y salir"
#: main.cpp:66 #: main.cpp:66

@ -5143,9 +5143,9 @@ msgid "turn on program traces"
msgstr "habilitar trazas del programa" msgstr "habilitar trazas del programa"
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "" msgstr ""
"volcar los nombres de todos los objetos KAction definidos a stdout y salir" "volcar los nombres de todos los objetos TDEAction definidos a stdout y salir"
#: main.cpp:66 #: main.cpp:66
msgid "file to open" msgid "file to open"

@ -5049,9 +5049,9 @@ msgid "turn on program traces"
msgstr "Ota käyttöön virheenjäljitystoiminnot" msgstr "Ota käyttöön virheenjäljitystoiminnot"
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "" msgstr ""
"talleta kaikki määritellyt KAction-objektit standardiulostuloon ja lopeta " "talleta kaikki määritellyt TDEAction-objektit standardiulostuloon ja lopeta "
"ohjelma" "ohjelma"
#: main.cpp:66 #: main.cpp:66

@ -5214,9 +5214,9 @@ msgid "turn on program traces"
msgstr "activation des traces du programme" msgstr "activation des traces du programme"
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "" msgstr ""
"copier les noms de tous les objets définis KAction sur stdout et quitter" "copier les noms de tous les objets définis TDEAction sur stdout et quitter"
#: main.cpp:66 #: main.cpp:66
msgid "file to open" msgid "file to open"

@ -5109,9 +5109,9 @@ msgid "turn on program traces"
msgstr "habilitar as trazas do programa" msgstr "habilitar as trazas do programa"
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "" msgstr ""
"envorcar os nomes de todos os obxectos de KAction definidos en stdout e saír" "envorcar os nomes de todos os obxectos de TDEAction definidos en stdout e saír"
#: main.cpp:66 #: main.cpp:66
msgid "file to open" msgid "file to open"

@ -5014,7 +5014,7 @@ msgid "turn on program traces"
msgstr "abilita traccia del programma" msgstr "abilita traccia del programma"
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "" msgstr ""
#: main.cpp:66 #: main.cpp:66

@ -4606,7 +4606,7 @@ msgid "turn on program traces"
msgstr "" msgstr ""
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "" msgstr ""
#: main.cpp:66 #: main.cpp:66

@ -4851,7 +4851,7 @@ msgid "turn on program traces"
msgstr "" msgstr ""
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "" msgstr ""
#: main.cpp:66 #: main.cpp:66

@ -5132,8 +5132,8 @@ msgid "turn on program traces"
msgstr "Zet programma trance aan" msgstr "Zet programma trance aan"
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "Dump alle namen die zijn gedefiniëerd in KAction naar stdout en stop" msgstr "Dump alle namen die zijn gedefiniëerd in TDEAction naar stdout en stop"
#: main.cpp:66 #: main.cpp:66
msgid "file to open" msgid "file to open"

@ -5185,7 +5185,7 @@ msgid "turn on program traces"
msgstr "włącz komunikaty diagnostyczne" msgstr "włącz komunikaty diagnostyczne"
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "" msgstr ""
#: main.cpp:66 #: main.cpp:66

@ -5123,9 +5123,9 @@ msgid "turn on program traces"
msgstr "ligar rastreio do programa" msgstr "ligar rastreio do programa"
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "" msgstr ""
"direcionar os nomes de todos os objetos KAction definidos para a saída " "direcionar os nomes de todos os objetos TDEAction definidos para a saída "
"padrão e sair" "padrão e sair"
#: main.cpp:66 #: main.cpp:66

@ -5139,9 +5139,9 @@ msgid "turn on program traces"
msgstr "ligar rastreio do programa" msgstr "ligar rastreio do programa"
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "" msgstr ""
"direcionar os nomes de todos os objetos KAction definidos para a saída " "direcionar os nomes de todos os objetos TDEAction definidos para a saída "
"padrão e sair" "padrão e sair"
#: main.cpp:66 #: main.cpp:66

@ -5165,9 +5165,9 @@ msgid "turn on program traces"
msgstr "activează mesajele de programare a aplicaţiei" msgstr "activează mesajele de programare a aplicaţiei"
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "" msgstr ""
"trimite numele tuturor obiectelor KAction la ieşirea standard şi termină " "trimite numele tuturor obiectelor TDEAction la ieşirea standard şi termină "
"execuţia" "execuţia"
#: main.cpp:66 #: main.cpp:66

@ -5057,9 +5057,9 @@ msgid "turn on program traces"
msgstr "включить отладку программы" msgstr "включить отладку программы"
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "" msgstr ""
"вывести имена всех объектов KAction на стандартный поток вывода и завершить " "вывести имена всех объектов TDEAction на стандартный поток вывода и завершить "
"работу" "работу"
#: main.cpp:66 #: main.cpp:66

@ -5092,7 +5092,7 @@ msgid "turn on program traces"
msgstr "zapnuté program" msgstr "zapnuté program"
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "" msgstr ""
#: main.cpp:66 #: main.cpp:66

@ -4792,7 +4792,7 @@ msgid "turn on program traces"
msgstr "" msgstr ""
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "" msgstr ""
#: main.cpp:66 #: main.cpp:66

@ -4741,7 +4741,7 @@ msgid "turn on program traces"
msgstr "program izlerini aç" msgstr "program izlerini aç"
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "" msgstr ""
#: main.cpp:66 #: main.cpp:66

@ -4969,8 +4969,8 @@ msgid "turn on program traces"
msgstr "打开程序跟踪" msgstr "打开程序跟踪"
#: main.cpp:62 #: main.cpp:62
msgid "dump the names of all defined KAction objects to stdout and quit" msgid "dump the names of all defined TDEAction objects to stdout and quit"
msgstr "将所有已定义的KActions对象的名称输出到标准输出然后退出。" msgstr "将所有已定义的TDEActions对象的名称输出到标准输出然后退出。"
#: main.cpp:66 #: main.cpp:66
msgid "file to open" msgid "file to open"

Loading…
Cancel
Save