summaryrefslogtreecommitdiffstats
path: root/src/kile/kilestructurewidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:09 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:09 -0600
commit455b6d51833aba47992f7202e924defcc45c9828 (patch)
tree289c791cd71d220f87711cfa19fe325233604857 /src/kile/kilestructurewidget.cpp
parent6238a41f5d502a181672fdcc235e9977584dfe38 (diff)
downloadkile-455b6d51833aba47992f7202e924defcc45c9828.tar.gz
kile-455b6d51833aba47992f7202e924defcc45c9828.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 6238a41f5d502a181672fdcc235e9977584dfe38.
Diffstat (limited to 'src/kile/kilestructurewidget.cpp')
-rw-r--r--src/kile/kilestructurewidget.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kile/kilestructurewidget.cpp b/src/kile/kilestructurewidget.cpp
index 2440ad9..2ff7212 100644
--- a/src/kile/kilestructurewidget.cpp
+++ b/src/kile/kilestructurewidget.cpp
@@ -62,7 +62,7 @@
#include <tqfileinfo.h>
#include <tqheader.h>
#include <tqregexp.h>
-#include <clipboard.h>
+#include <tqclipboard.h>
#include <kapplication.h>
#include "kiledebug.h"
@@ -125,7 +125,7 @@ void KileListViewToolTip::maybeTip(const TQPoint &p)
if ( !item )
return;
- const TQRect rect = m_listview->itemRect(item);
+ const TQRect rect = m_listview->tqitemRect(item);
if ( ! rect.isValid() )
return;
@@ -154,7 +154,7 @@ namespace KileWidget
setSorting(-1,true);
setAllColumnsShowFocus(true);
setFullWidth(true);
- setSizePolicy(TQSizePolicy::Ignored,TQSizePolicy::Ignored);
+ tqsetSizePolicy(TQSizePolicy::Ignored,TQSizePolicy::Ignored);
TQToolTip::remove(this);
new KileListViewToolTip(this);
@@ -402,8 +402,8 @@ namespace KileWidget
/* some items have a special action:
- KileStruct::Sect:
The new item is saved in m_lastSectioning, so that all following entries
- can be inserted as children. \part will drop back to level 0 of the Listview,
- all other sectioning commands will be children of the last sectioning item.
+ can be inserted as tqchildren. \part will drop back to level 0 of the Listview,
+ all other sectioning commands will be tqchildren of the last sectioning item.
If a \label command follows in the same or the next line, it is assigned
to this item.
- KileStruct::BeginFloat:
@@ -606,7 +606,7 @@ namespace KileWidget
setLineWidth(0);
setMidLineWidth(0);
setMargin(0);
- setSizePolicy(TQSizePolicy::Ignored,TQSizePolicy::Ignored);
+ tqsetSizePolicy(TQSizePolicy::Ignored,TQSizePolicy::Ignored);
m_default = new StructureList(this, 0L);
m_default->activate();
@@ -714,7 +714,7 @@ namespace KileWidget
}
}
else{
- if ( KMessageBox::warningYesNo(this, i18n("Cannot find the included file. The file does not exist, is not readable or Kile is unable to determine the correct path to it. The filename causing this error was: %1.\nDo you want to create this file?").arg(fname), i18n("Cannot Find File"))
+ if ( KMessageBox::warningYesNo(this, i18n("Cannot find the included file. The file does not exist, is not readable or Kile is unable to determine the correct path to it. The filename causing this error was: %1.\nDo you want to create this file?").tqarg(fname), i18n("Cannot Find File"))
== KMessageBox::Yes)
{
emit(fileNew(url));
@@ -825,7 +825,7 @@ namespace KileWidget
if ( id <= 3 )
emit( sendText(s) );
else
- TQApplication::clipboard()->setText(s);
+ TQApplication::tqclipboard()->setText(s);
}
// id's 10..16 (already checked)