diff options
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); } |