summaryrefslogtreecommitdiffstats
path: root/src/kile/kileviewmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kile/kileviewmanager.cpp')
-rw-r--r--src/kile/kileviewmanager.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kile/kileviewmanager.cpp b/src/kile/kileviewmanager.cpp
index 47634ac..fee09e8 100644
--- a/src/kile/kileviewmanager.cpp
+++ b/src/kile/kileviewmanager.cpp
@@ -21,7 +21,7 @@
#include <tqpopupmenu.h>
#include <tqtimer.h> //for TQTimer::singleShot trick
#include <tqpixmap.h>
-#include <tqclipboard.h>
+#include <clipboard.h>
#include <tdeversion.h>
#include <kglobal.h>
@@ -100,7 +100,7 @@ void Manager::createTabs(TQWidget *parent)
m_tabs->setFocus();
connect( m_tabs, TQT_SIGNAL( currentChanged( TQWidget * ) ), m_receiver, TQT_SLOT(newCaption()) );
connect( m_tabs, TQT_SIGNAL( currentChanged( TQWidget * ) ), m_receiver, TQT_SLOT(activateView( TQWidget * )) );
- connect( m_tabs, TQT_SIGNAL( currentChanged( TQWidget * ) ), m_receiver, TQT_SLOT(updateModetqStatus()) );
+ connect( m_tabs, TQT_SIGNAL( currentChanged( TQWidget * ) ), m_receiver, TQT_SLOT(updateModeStatus()) );
connect( m_tabs, TQT_SIGNAL( closeRequest(TQWidget *) ), this, TQT_SLOT(closeWidget(TQWidget *)));
connect( m_tabs, TQT_SIGNAL( testCanDecode( const TQDragMoveEvent *, bool & ) ), this, TQT_SLOT(testCanDecodeURLs( const TQDragMoveEvent *, bool & )) );
connect( m_tabs, TQT_SIGNAL( receivedDropEvent( TQDropEvent * ) ), m_ki->docManager(), TQT_SLOT(openDroppedURLs( TQDropEvent * )) );
@@ -142,8 +142,8 @@ Kate::View* Manager::createTextView(KileDocument::TextInfo *info, int index)
m_tabs->showPage( view );
m_textViewList.insert((index < 0 || (uint)index >= m_textViewList.count()) ? m_textViewList.count() : index, view);
- connect(view, TQT_SIGNAL(viewStatusMsg(const TQString&)), m_receiver, TQT_SLOT(newtqStatus(const TQString&)));
- connect(view, TQT_SIGNAL(newtqStatus()), m_receiver, TQT_SLOT(newCaption()));
+ connect(view, TQT_SIGNAL(viewStatusMsg(const TQString&)), m_receiver, TQT_SLOT(newStatus(const TQString&)));
+ connect(view, TQT_SIGNAL(newStatus()), m_receiver, TQT_SLOT(newCaption()));
connect(view, TQT_SIGNAL(dropEventPass(TQDropEvent *)), m_ki->docManager(), TQT_SLOT(openDroppedURLs(TQDropEvent *)));
connect(info, TQT_SIGNAL(urlChanged(KileDocument::Info*, const KURL&)), this, TQT_SLOT(urlChanged(KileDocument::Info*, const KURL&)));
@@ -163,7 +163,7 @@ Kate::View* Manager::createTextView(KileDocument::TextInfo *info, int index)
emit(activateView(view, false));
TQTimer::singleShot(0, m_receiver, TQT_SLOT(newCaption())); //make sure the caption gets updated
- reflectDocumenttqStatus(view->getDoc(), false, 0);
+ reflectDocumentStatus(view->getDoc(), false, 0);
view->setFocusPolicy(TQ_StrongFocus);
view->setFocus();
@@ -304,7 +304,7 @@ void Manager::gotoPrevView()
m_tabs->setCurrentPage( cPage );
}
-void Manager::reflectDocumenttqStatus(Kate::Document *doc, bool isModified, unsigned char reason)
+void Manager::reflectDocumentStatus(Kate::Document *doc, bool isModified, unsigned char reason)
{
TQPixmap icon;
if ( reason == 0 && isModified ) //nothing
@@ -361,7 +361,7 @@ void Manager::onKatePopupMenuRequest(void)
if(!pasteAsLaTeXAction->isPlugged())
pasteAsLaTeXAction->plug(viewPopupMenu);
- TQClipboard *clip = KApplication::tqclipboard();
+ TQClipboard *clip = KApplication::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::tqclipboard()->text());
+ TQString toPaste = cvt.ConvertToLaTeX(KApplication::clipboard()->text());
doc->insertText(cursorLine, cursorCol, toPaste);
// End of the "atomic edit operation"