summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kile/kileapplication.h2
-rw-r--r--src/kile/kilestatsdlg.cpp4
-rw-r--r--src/kile/kileviewmanager.cpp4
-rw-r--r--src/kile/texdocdialog.cpp2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/kile/kileapplication.h b/src/kile/kileapplication.h
index 1ce2e0d..64fe110 100644
--- a/src/kile/kileapplication.h
+++ b/src/kile/kileapplication.h
@@ -22,7 +22,7 @@
*@author Pascal Brachet
*/
-class KileApplication : public KApplication
+class KileApplication : public TDEApplication
{
public:
KileApplication();
diff --git a/src/kile/kilestatsdlg.cpp b/src/kile/kilestatsdlg.cpp
index 8374ac0..e7b708b 100644
--- a/src/kile/kilestatsdlg.cpp
+++ b/src/kile/kilestatsdlg.cpp
@@ -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::clipboard();
+ TQClipboard *clip = TDEApplication::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::clipboard();
+ TQClipboard *clip = TDEApplication::clipboard();
TQString text;
convertText(&text,true);
clip->setText(text,TQClipboard::Selection);
diff --git a/src/kile/kileviewmanager.cpp b/src/kile/kileviewmanager.cpp
index 5220201..fd924fe 100644
--- a/src/kile/kileviewmanager.cpp
+++ b/src/kile/kileviewmanager.cpp
@@ -361,7 +361,7 @@ void Manager::onKatePopupMenuRequest(void)
if(!pasteAsLaTeXAction->isPlugged())
pasteAsLaTeXAction->plug(viewPopupMenu);
- TQClipboard *clip = KApplication::clipboard();
+ TQClipboard *clip = TDEApplication::clipboard();
if(NULL != clip)
pasteAsLaTeXAction->setEnabled(!clip->text().isNull());
}
@@ -464,7 +464,7 @@ void Manager::pasteAsLaTeX(void)
doc->removeSelectedText();
PlainToLaTeXConverter cvt;
- TQString toPaste = cvt.ConvertToLaTeX(KApplication::clipboard()->text());
+ TQString toPaste = cvt.ConvertToLaTeX(TDEApplication::clipboard()->text());
doc->insertText(cursorLine, cursorCol, toPaste);
// End of the "atomic edit operation"
diff --git a/src/kile/texdocdialog.cpp b/src/kile/texdocdialog.cpp
index 7c6308e..6f228dc 100644
--- a/src/kile/texdocdialog.cpp
+++ b/src/kile/texdocdialog.cpp
@@ -117,7 +117,7 @@ TexDocDialog::TexDocDialog(TQWidget *parent, const char *name)
m_texmfdocPath = TQString();
m_texdoctkPath = TQString();
- TQDesktopWidget *desktop = KApplication::desktop();
+ TQDesktopWidget *desktop = TDEApplication::desktop();
int w = desktop->screenGeometry(0).width();
if ( w >= 1024 )
w = 550;