diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:29:46 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 14:51:21 +0900 |
commit | 3a528d873ff72828fb9b19bed38a2b869b449089 (patch) | |
tree | 9b72c543b078fb622b3dbcdf1c397ae899433638 /kmymoney2/views/kreportsview.cpp | |
parent | 04ddc8237ccd12dcc44de5d1f67a99bba019eb2a (diff) | |
download | kmymoney-3a528d873ff72828fb9b19bed38a2b869b449089.tar.gz kmymoney-3a528d873ff72828fb9b19bed38a2b869b449089.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e84ff3d61520e4200f987d3a0b6bea570b2e8b32)
Diffstat (limited to 'kmymoney2/views/kreportsview.cpp')
-rw-r--r-- | kmymoney2/views/kreportsview.cpp | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/kmymoney2/views/kreportsview.cpp b/kmymoney2/views/kreportsview.cpp index 386e56f..4ebca1d 100644 --- a/kmymoney2/views/kreportsview.cpp +++ b/kmymoney2/views/kreportsview.cpp @@ -331,16 +331,16 @@ KReportsView::KReportsView(TQWidget *parent, const char *name ) : m_reportListView->setRootIsDecorated(true); m_reportListView->setShadeSortColumn(false); - connect( m_reportTabWidget, TQT_SIGNAL(closeRequest(TQWidget*)), - this, TQT_SLOT(slotClose(TQWidget*)) ); - connect(m_reportListView, TQT_SIGNAL(doubleClicked(TQListViewItem*)), - this, TQT_SLOT(slotOpenReport(TQListViewItem*))); - connect(m_reportListView, TQT_SIGNAL(returnPressed(TQListViewItem*)), - this, TQT_SLOT(slotOpenReport(TQListViewItem*))); - connect( m_reportListView, TQT_SIGNAL(contextMenu(TDEListView*,TQListViewItem*,const TQPoint &)), - this, TQT_SLOT(slotListContextMenu(TDEListView*,TQListViewItem*,const TQPoint &))); - - connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadView())); + connect( m_reportTabWidget, TQ_SIGNAL(closeRequest(TQWidget*)), + this, TQ_SLOT(slotClose(TQWidget*)) ); + connect(m_reportListView, TQ_SIGNAL(doubleClicked(TQListViewItem*)), + this, TQ_SLOT(slotOpenReport(TQListViewItem*))); + connect(m_reportListView, TQ_SIGNAL(returnPressed(TQListViewItem*)), + this, TQ_SLOT(slotOpenReport(TQListViewItem*))); + connect( m_reportListView, TQ_SIGNAL(contextMenu(TDEListView*,TQListViewItem*,const TQPoint &)), + this, TQ_SLOT(slotListContextMenu(TDEListView*,TQListViewItem*,const TQPoint &))); + + connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadView())); } KReportsView::~KReportsView() @@ -584,7 +584,7 @@ void KReportsView::slotSaveView(void) TQString("%1|%2\n").arg("*.csv").arg(i18n("CSV (Filefilter)", "CSV files")) + TQString("%1|%2\n").arg("*.html").arg(i18n("HTML (Filefilter)", "HTML files")), this, "filedialog", true, vbox); - connect(&dlg, TQT_SIGNAL(filterChanged(const TQString&)), this, TQT_SLOT(slotSaveFilterChanged(const TQString&))); + connect(&dlg, TQ_SIGNAL(filterChanged(const TQString&)), this, TQ_SLOT(slotSaveFilterChanged(const TQString&))); dlg.setOperationMode( KFileDialog::Saving ); dlg.setCaption(i18n("Export as")); @@ -848,20 +848,20 @@ void KReportsView::addReportTab(const MyMoneyReport& report) { KReportTab* tab = new KReportTab(m_reportTabWidget,report); - connect( tab->control()->buttonChart, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotToggleChart(void ))); - connect( tab->control()->buttonConfigure, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotConfigure(void ))); - connect( tab->control()->buttonNew, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotDuplicate(void ))); - connect( tab->control()->buttonCopy, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotCopyView(void ))); - connect( tab->control()->buttonExport, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotSaveView(void ))); - connect( tab->control()->buttonDelete, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotDelete(void ))); - connect( tab->control()->buttonClose, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotCloseCurrent(void ))); + connect( tab->control()->buttonChart, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotToggleChart(void ))); + connect( tab->control()->buttonConfigure, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotConfigure(void ))); + connect( tab->control()->buttonNew, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotDuplicate(void ))); + connect( tab->control()->buttonCopy, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotCopyView(void ))); + connect( tab->control()->buttonExport, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotSaveView(void ))); + connect( tab->control()->buttonDelete, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotDelete(void ))); + connect( tab->control()->buttonClose, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotCloseCurrent(void ))); // if this is a default report, then you can't delete it! if ( report.id().isEmpty() ) @@ -878,10 +878,10 @@ void KReportsView::slotListContextMenu(TDEListView* lv,TQListViewItem* item,cons if ( lv == m_reportListView && item ) { TQPopupMenu* contextmenu = new TQPopupMenu(this); - contextmenu->insertItem( i18n("&Open"), this, TQT_SLOT(slotOpenFromList()) ); - contextmenu->insertItem( i18n("&Configure"), this, TQT_SLOT(slotConfigureFromList()) ); - contextmenu->insertItem( i18n("&New report"), this, TQT_SLOT(slotNewFromList()) ); - contextmenu->insertItem( i18n("&Delete"), this, TQT_SLOT(slotDeleteFromList()) ); + contextmenu->insertItem( i18n("&Open"), this, TQ_SLOT(slotOpenFromList()) ); + contextmenu->insertItem( i18n("&Configure"), this, TQ_SLOT(slotConfigureFromList()) ); + contextmenu->insertItem( i18n("&New report"), this, TQ_SLOT(slotNewFromList()) ); + contextmenu->insertItem( i18n("&Delete"), this, TQ_SLOT(slotDeleteFromList()) ); contextmenu->popup(p); } |