summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/charselector.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:17 -0600
commit955e20356d63ed405198c8143617a8a0ca8bfc02 (patch)
tree9a9ab22c86d212a5655014ad752e96b04c0c86a9 /kregexpeditor/charselector.cpp
parentbf280726d5d22f33d33e4f9e771220c725249407 (diff)
downloadtdeutils-955e20356d63ed405198c8143617a8a0ca8bfc02.tar.gz
tdeutils-955e20356d63ed405198c8143617a8a0ca8bfc02.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit bf280726d5d22f33d33e4f9e771220c725249407.
Diffstat (limited to 'kregexpeditor/charselector.cpp')
-rw-r--r--kregexpeditor/charselector.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kregexpeditor/charselector.cpp b/kregexpeditor/charselector.cpp
index 0434281..5f60475 100644
--- a/kregexpeditor/charselector.cpp
+++ b/kregexpeditor/charselector.cpp
@@ -26,7 +26,7 @@
#include "charselector.h"
#include "limitedcharlineedit.h"
#include "regexpconverter.h"
-#include <layout.h>
+#include <tqlayout.h>
#include <tqwidgetstack.h>
#include <tqcombobox.h>
@@ -43,10 +43,10 @@ class StackContainer :public TQWidget
public:
StackContainer( TQWidget* child, TQWidget* parent ) : TQWidget( parent )
{
- TQHBoxLayout* layout = new TQHBoxLayout( this );
+ TQHBoxLayout* tqlayout = new TQHBoxLayout( this );
child->reparent( this, TQPoint(0,0), false );
- layout->addWidget( child );
- layout->addStretch( 1 );
+ tqlayout->addWidget( child );
+ tqlayout->addStretch( 1 );
}
};
@@ -54,13 +54,13 @@ CharSelector::CharSelector( TQWidget* parent, const char* name )
:TQWidget( parent, name ), _oldIndex(0)
{
TQStringList items;
- TQHBoxLayout* layout = new TQHBoxLayout( this, 0, 6 );
+ TQHBoxLayout* tqlayout = new TQHBoxLayout( this, 0, 6 );
_type = new TQComboBox( this, "_type" );
items << i18n("Normal Character")
<< i18n("Unicode Char in Hex.")
<< i18n("Unicode Char in Oct.")
- << TQString::fromLatin1("----")
+ << TQString::tqfromLatin1("----")
<< i18n("The Bell Character (\\a)")
<< i18n("The Form Feed Character (\\f)")
<< i18n("The Line Feed Character (\\n)")
@@ -68,10 +68,10 @@ CharSelector::CharSelector( TQWidget* parent, const char* name )
<< i18n("TheQt::Horizontal Tab Character (\\t)")
<< i18n("TheQt::Vertical Tab Character (\\v)");
_type->insertStringList( items );
- layout->addWidget( _type );
+ tqlayout->addWidget( _type );
_stack = new TQWidgetStack( this, "_stack" );
- layout->addWidget( _stack );
+ tqlayout->addWidget( _stack );
_normal = new LimitedCharLineEdit( LimitedCharLineEdit::NORMAL, 0, "_normal" );
_stack->addWidget( new StackContainer( _normal, _stack ), 0 );
@@ -169,17 +169,17 @@ TQString CharSelector::text() const
case 3: // The seperator
break;
case 4:
- return TQString::fromLatin1("\\a");
+ return TQString::tqfromLatin1("\\a");
case 5:
- return TQString::fromLatin1("\\f");
+ return TQString::tqfromLatin1("\\f");
case 6:
- return TQString::fromLatin1("\\n");
+ return TQString::tqfromLatin1("\\n");
case 7:
- return TQString::fromLatin1("\\r");
+ return TQString::tqfromLatin1("\\r");
case 8:
- return TQString::fromLatin1("\\t");
+ return TQString::tqfromLatin1("\\t");
case 9:
- return TQString::fromLatin1("\\v");
+ return TQString::tqfromLatin1("\\v");
}
return TQString();
}