diff options
Diffstat (limited to 'kbabel/kbabel/contextview.cpp')
-rw-r--r-- | kbabel/kbabel/contextview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kbabel/kbabel/contextview.cpp b/kbabel/kbabel/contextview.cpp index 11d8434a..4af2881e 100644 --- a/kbabel/kbabel/contextview.cpp +++ b/kbabel/kbabel/contextview.cpp @@ -35,8 +35,8 @@ #include "contextview.h" -#include <tqlayout.h> -#include <tqtextview.h> +#include <layout.h> +#include <textview.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* tqlayout = new TQVBoxLayout( this ); - tqlayout->setResizeMode( TQLayout::Minimum ); + TQVBoxLayout* layout = new TQVBoxLayout( this ); + layout->setResizeMode( TQLayout::Minimum ); _textview = new TQTextView (this, "context textview"); KCursor::setAutoHideCursor(_textview->viewport(),true); _textview->setReadOnly(true); - tqlayout->addWidget (_textview); + layout->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").tqarg(counter++).tqarg(*i); + temp += i18n("Plural %1: %2\n").arg(counter++).arg(*i); } } temp = TQStyleSheet::convertFromPlainText(temp); |