diff options
Diffstat (limited to 'src/kile/texdocdialog.cpp')
-rw-r--r-- | src/kile/texdocdialog.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/kile/texdocdialog.cpp b/src/kile/texdocdialog.cpp index 0b6ba37..b90b552 100644 --- a/src/kile/texdocdialog.cpp +++ b/src/kile/texdocdialog.cpp @@ -101,10 +101,10 @@ TexDocDialog::TexDocDialog(TQWidget *parent, const char *name) m_texdocs->installEventFilter(this); m_leKeywords->installEventFilter(this); - connect(m_texdocs, TQT_SIGNAL(doubleClicked(TQListViewItem *,const TQPoint &,int)), - this, TQT_SLOT(slotListViewDoubleClicked(TQListViewItem *,const TQPoint &,int))); - connect(m_pbSearch, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSearchClicked())); - connect(m_leKeywords, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slotTextChanged(const TQString &))); + connect(m_texdocs, TQ_SIGNAL(doubleClicked(TQListViewItem *,const TQPoint &,int)), + this, TQ_SLOT(slotListViewDoubleClicked(TQListViewItem *,const TQPoint &,int))); + connect(m_pbSearch, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSearchClicked())); + connect(m_leKeywords, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(slotTextChanged(const TQString &))); // kpsewhich --expand-path='$TEXMF' //m_texmfPath = "/usr/local/share/texmf:/usr/local/lib/texmf:/var/lib/texmf:/usr/share/texmf"; @@ -134,7 +134,7 @@ TexDocDialog::TexDocDialog(TQWidget *parent, const char *name) h = 450; resize(w,h); - connect(this, TQT_SIGNAL(processFinished()), this, TQT_SLOT(slotInitToc())); + connect(this, TQ_SIGNAL(processFinished()), this, TQ_SLOT(slotInitToc())); executeScript( "kpsewhich --progname=texdoctk --format='other text files' texdoctk.dat && " "kpsewhich --expand-path='$TEXMF/doc' && " @@ -315,7 +315,7 @@ void TexDocDialog::decompressFile(const TQString &docfile,const TQString &comman m_filename = m_tempfile->name(); KILE_DEBUG() << "\tdecompress file: " << command + " > " + m_tempfile->name() << endl; - connect(this, TQT_SIGNAL(processFinished()), this, TQT_SLOT(slotShowFile())); + connect(this, TQ_SIGNAL(processFinished()), this, TQ_SLOT(slotShowFile())); executeScript(command + " > " + m_tempfile->name()); } @@ -537,12 +537,12 @@ void TexDocDialog::executeScript(const TQString &command) (*m_proc) << TQStringList::split(' ',command); m_output = TQString(); - connect(m_proc, TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)), - this, TQT_SLOT(slotProcessOutput(TDEProcess*,char*,int)) ); - connect(m_proc, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)), - this, TQT_SLOT(slotProcessOutput(TDEProcess*,char*,int)) ); - connect(m_proc, TQT_SIGNAL(processExited(TDEProcess*)), - this, TQT_SLOT(slotProcessExited(TDEProcess*)) ); + connect(m_proc, TQ_SIGNAL(receivedStdout(TDEProcess*,char*,int)), + this, TQ_SLOT(slotProcessOutput(TDEProcess*,char*,int)) ); + connect(m_proc, TQ_SIGNAL(receivedStderr(TDEProcess*,char*,int)), + this, TQ_SLOT(slotProcessOutput(TDEProcess*,char*,int)) ); + connect(m_proc, TQ_SIGNAL(processExited(TDEProcess*)), + this, TQ_SLOT(slotProcessExited(TDEProcess*)) ); KILE_DEBUG() << "=== TexDocDialog::runShellSkript() ====================" << endl; KILE_DEBUG() << " execute: " << command << endl; @@ -573,7 +573,7 @@ void TexDocDialog::slotProcessExited(TDEProcess *proc) void TexDocDialog::slotInitToc() { - disconnect(this, TQT_SIGNAL(processFinished()), this, TQT_SLOT(slotInitToc())); + disconnect(this, TQ_SIGNAL(processFinished()), this, TQ_SLOT(slotInitToc())); TQStringList results = TQStringList::split('\n',m_output,true); if ( results.count() < 3 ) @@ -602,7 +602,7 @@ void TexDocDialog::slotInitToc() void TexDocDialog::slotShowFile() { - disconnect(this, TQT_SIGNAL(processFinished()), this, TQT_SLOT(slotShowFile())); + disconnect(this, TQ_SIGNAL(processFinished()), this, TQ_SLOT(slotShowFile())); showFile(m_filename); } |