summaryrefslogtreecommitdiffstats
path: root/src/kile/kilestatsdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kile/kilestatsdlg.cpp')
-rw-r--r--src/kile/kilestatsdlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kile/kilestatsdlg.cpp b/src/kile/kilestatsdlg.cpp
index 2585b59..3649dd6 100644
--- a/src/kile/kilestatsdlg.cpp
+++ b/src/kile/kilestatsdlg.cpp
@@ -51,13 +51,13 @@ KileStatsDlg::KileStatsDlg(KileProject *project, KileDocument::TextInfo* docinfo
if(!m_project) // the active doc doesn't belong to a project
{
- setCaption(i18n("Statistics for %1").tqarg(m_docinfo->getDoc()->url().fileName()));
+ setCaption(i18n("Statistics for %1").arg(m_docinfo->getDoc()->url().fileName()));
stats = m_docinfo->getStatistics();
fillWidget(stats,summary);
}
else // active doc belongs to a project
{
- setCaption(i18n("Statistics for the Project %1").tqarg(m_project->name()));
+ setCaption(i18n("Statistics for the Project %1").arg(m_project->name()));
KILE_DEBUG() << "Project file is " << project->baseURL() << endl;
KileProjectItemList *items = project->items();
@@ -141,7 +141,7 @@ void KileStatsDlg::slotUser1() // Copy
KILE_DEBUG() << "Copy Button was clicked" << endl;
KILE_DEBUG() << "Open tab is " << activePageIndex() << ' ' + ( m_pagetoname.contains(activePageIndex()) ? m_pagetoname[activePageIndex()] : "No such entry" )<< endl;
- TQClipboard *clip = KApplication::tqclipboard();
+ TQClipboard *clip = KApplication::clipboard();
TQString text;
convertText(&text,false);
clip->setText(text,TQClipboard::Selection); // the text will be available with the middle mouse button
@@ -152,7 +152,7 @@ void KileStatsDlg::slotUser2() // CopyAsLaTeX
KILE_DEBUG() << "CopyAsLateX Button was clicked" << endl;
KILE_DEBUG() << "Open tab is " << activePageIndex() << ' ' + ( m_pagetoname.contains(activePageIndex()) ? m_pagetoname[activePageIndex()] : "No such entry" )<< endl;
- TQClipboard *clip = KApplication::tqclipboard();
+ TQClipboard *clip = KApplication::clipboard();
TQString text;
convertText(&text,true);
clip->setText(text,TQClipboard::Selection);
@@ -169,11 +169,11 @@ void KileStatsDlg::convertText(TQString* text, bool forLaTeX) // the bool determ
text->append("\\begin{tabular}{ll}\n");
if(m_project && activePageIndex())
- text->append(i18n("Statistics for project %1, file %2").tqarg(m_project->name()).tqarg(name));
+ text->append(i18n("Statistics for project %1, file %2").arg(m_project->name()).arg(name));
else if(m_project)
- text->append(i18n("Statistics for project %1").tqarg(m_project->name()));
+ text->append(i18n("Statistics for project %1").arg(m_project->name()));
else if(m_docinfo->getDoc()->url().isValid())
- text->append(i18n("Statistics for %1").tqarg(m_docinfo->getDoc()->url().fileName()));
+ text->append(i18n("Statistics for %1").arg(m_docinfo->getDoc()->url().fileName()));
else
text->append(i18n("Statistics for Untitled"));