summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/auxbuttons.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:52 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:52 -0600
commitbf280726d5d22f33d33e4f9e771220c725249407 (patch)
tree48b7496821910eb85179d543acee981cf5d16dd8 /kregexpeditor/auxbuttons.cpp
parentc78266617c282543427d2c000b3b68fe2b6b6722 (diff)
downloadtdeutils-bf280726d5d22f33d33e4f9e771220c725249407.tar.gz
tdeutils-bf280726d5d22f33d33e4f9e771220c725249407.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kregexpeditor/auxbuttons.cpp')
-rw-r--r--kregexpeditor/auxbuttons.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kregexpeditor/auxbuttons.cpp b/kregexpeditor/auxbuttons.cpp
index 855f6d1..b56b49b 100644
--- a/kregexpeditor/auxbuttons.cpp
+++ b/kregexpeditor/auxbuttons.cpp
@@ -26,7 +26,7 @@
#endif
#include "auxbuttons.h"
-#include <tqlayout.h>
+#include <layout.h>
#include <tqwhatsthis.h>
#include <tqtooltip.h>
#include <tqtoolbutton.h>
@@ -35,48 +35,48 @@
AuxButtons::AuxButtons( TQWidget* parent, const char* name = 0)
:TQDockWindow( TQDockWindow::InDock, parent, name)
{
- TQBoxLayout* tqlayout = boxLayout();
+ TQBoxLayout* layout = boxLayout();
_undo = new TQToolButton( this );
- _undo->setIconSet( Util::getSystemIconSet(TQString::tqfromLatin1("undo") ) );
- tqlayout->addWidget( _undo );
+ _undo->setIconSet( Util::getSystemIconSet(TQString::fromLatin1("undo") ) );
+ layout->addWidget( _undo );
connect( _undo, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(undo()) );
TQToolTip::add( _undo, i18n( "Undo" ) );
_redo = new TQToolButton( this );
- _redo->setIconSet( Util::getSystemIconSet(TQString::tqfromLatin1("redo") ) );
- tqlayout->addWidget( _redo );
+ _redo->setIconSet( Util::getSystemIconSet(TQString::fromLatin1("redo") ) );
+ layout->addWidget( _redo );
connect( _redo, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(redo()) );
TQToolTip::add( _redo, i18n( "Redo" ) );
_cut = new TQToolButton( this );
- _cut->setIconSet( Util::getSystemIconSet(TQString::tqfromLatin1("editcut") ) );
- tqlayout->addWidget( _cut );
+ _cut->setIconSet( Util::getSystemIconSet(TQString::fromLatin1("editcut") ) );
+ layout->addWidget( _cut );
connect( _cut, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(cut()) );
TQToolTip::add( _cut, i18n( "Cut" ) );
_copy = new TQToolButton( this );
- _copy->setIconSet( Util::getSystemIconSet(TQString::tqfromLatin1("editcopy") ) );
- tqlayout->addWidget( _copy );
+ _copy->setIconSet( Util::getSystemIconSet(TQString::fromLatin1("editcopy") ) );
+ layout->addWidget( _copy );
connect( _copy, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(copy()) );
TQToolTip::add( _copy, i18n( "Copy" ) );
_paste = new TQToolButton( this );
- _paste->setIconSet( Util::getSystemIconSet(TQString::tqfromLatin1("editpaste")) );
- tqlayout->addWidget( _paste );
+ _paste->setIconSet( Util::getSystemIconSet(TQString::fromLatin1("editpaste")) );
+ layout->addWidget( _paste );
connect( _paste, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(paste()) );
TQToolTip::add( _paste, i18n( "Paste" ) );
_save = new TQToolButton( this );
- _save->setIconSet( Util::getSystemIconSet(TQString::tqfromLatin1("filesave")) );
- tqlayout->addWidget( _save );
+ _save->setIconSet( Util::getSystemIconSet(TQString::fromLatin1("filesave")) );
+ layout->addWidget( _save );
connect( _save, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(save()) );
TQToolTip::add( _save, i18n( "Save" ) );
TQToolButton* button = new TQToolButton(this);
- button->setPixmap( Util::getSystemIcon( TQString::tqfromLatin1("contexthelp") ) );
- tqlayout->addWidget( button );
+ button->setPixmap( Util::getSystemIcon( TQString::fromLatin1("contexthelp") ) );
+ layout->addWidget( button );
connect(button, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEnterWhatsThis()));
_undo->setEnabled( false );