summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabel/contextview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabel/contextview.cpp')
-rw-r--r--kbabel/kbabel/contextview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kbabel/kbabel/contextview.cpp b/kbabel/kbabel/contextview.cpp
index 4af2881e..11d8434a 100644
--- a/kbabel/kbabel/contextview.cpp
+++ b/kbabel/kbabel/contextview.cpp
@@ -35,8 +35,8 @@
#include "contextview.h"
-#include <layout.h>
-#include <textview.h>
+#include <tqlayout.h>
+#include <tqtextview.h>
#include <tqwhatsthis.h>
#include <kcursor.h>
@@ -50,14 +50,14 @@ using namespace KBabel;
ContextView::ContextView(KBCatalog* catalog,TQWidget *parent, Project::Ptr project)
: KBCatalogView(catalog,parent,project)
{
- TQVBoxLayout* layout = new TQVBoxLayout( this );
- layout->setResizeMode( TQLayout::Minimum );
+ TQVBoxLayout* tqlayout = new TQVBoxLayout( this );
+ tqlayout->setResizeMode( TQLayout::Minimum );
_textview = new TQTextView (this, "context textview");
KCursor::setAutoHideCursor(_textview->viewport(),true);
_textview->setReadOnly(true);
- layout->addWidget (_textview);
+ tqlayout->addWidget (_textview);
TQWhatsThis::add(this,
i18n("<qt><p><b>PO Context</b></p>"
@@ -137,7 +137,7 @@ void ContextView::updateView()
temp = "";
for( TQStringList::Iterator i=tempList.begin() ; i != tempList.end() ; ++i)
{
- temp += i18n("Plural %1: %2\n").arg(counter++).arg(*i);
+ temp += i18n("Plural %1: %2\n").tqarg(counter++).tqarg(*i);
}
}
temp = TQStyleSheet::convertFromPlainText(temp);