summaryrefslogtreecommitdiffstats
path: root/krusader/GUI/kcmdline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krusader/GUI/kcmdline.cpp')
-rw-r--r--krusader/GUI/kcmdline.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/krusader/GUI/kcmdline.cpp b/krusader/GUI/kcmdline.cpp
index 541da91..e29f3a6 100644
--- a/krusader/GUI/kcmdline.cpp
+++ b/krusader/GUI/kcmdline.cpp
@@ -58,19 +58,19 @@
#include <ktempfile.h>
KCMDLine::KCMDLine( TQWidget *parent, const char *name ) : TQWidget( parent, name ) {
- TQGridLayout * layout = new TQGridLayout( this, 1, 4 );
+ TQGridLayout * tqlayout = new TQGridLayout( this, 1, 4 );
path = new TQLabel( this );
TQWhatsThis::add
( path, i18n( "Name of directory where command will be processed." ) );
- path->setAlignment( TQt::AlignRight );
+ path->tqsetAlignment( TQt::AlignRight );
path->setFrameStyle( TQFrame::Box | TQFrame::Sunken );
path->setLineWidth( 1 );
path->setFont( KGlobalSettings::generalFont() );
int height = TQFontMetrics( KGlobalSettings::generalFont() ).height();
height = height + 5*(height > 14) + 6;
path->setMaximumHeight( height );
- path->setSizePolicy(TQSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Preferred));
- layout->addWidget( path, 0, 0 );
+ path->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Preferred));
+ tqlayout->addWidget( path, 0, 0 );
// and editable command line
completion.setMode( KURLCompletion::FileCompletion );
@@ -80,7 +80,7 @@ KCMDLine::KCMDLine( TQWidget *parent, const char *name ) : TQWidget( parent, nam
cmdLine->setFont( KGlobalSettings::generalFont() );
cmdLine->setMaximumHeight( height );
cmdLine->setCompletionObject( &completion );
- cmdLine->setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed));
+ cmdLine->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed));
// load the history
KConfigGroupSaver grpSvr( krConfig, "Private" );
TQStringList list = krConfig->readListEntry( "cmdline history" );
@@ -92,7 +92,7 @@ KCMDLine::KCMDLine( TQWidget *parent, const char *name ) : TQWidget( parent, nam
TQWhatsThis::add
( cmdLine, i18n( "<qt><p>Well, it's actually quite simple: You type your command here and Krusader obeys.</p><p><b>Tip</b>: Move within command line history with &lt;Up&gt; and &lt;Down&gt; arrows.</p></qt>" ) );
- layout->addWidget( cmdLine, 0, 1 );
+ tqlayout->addWidget( cmdLine, 0, 1 );
buttonAddPlaceholder = new TQToolButton( this, "ButtonAddPlaceholder" );
buttonAddPlaceholder->setFixedSize(22,20);
@@ -101,13 +101,13 @@ KCMDLine::KCMDLine( TQWidget *parent, const char *name ) : TQWidget( parent, nam
connect( buttonAddPlaceholder, TQT_SIGNAL( clicked() ), this, TQT_SLOT( addPlaceholder() ) );
TQWhatsThis::add( buttonAddPlaceholder, i18n( "Add <b>Placeholders</b> for the selected files in the panel." ) );
- layout->addWidget( buttonAddPlaceholder, 0, 2 );
+ tqlayout->addWidget( buttonAddPlaceholder, 0, 2 );
// a run in terminal button
terminal = new KCMDModeButton( this );
- layout->addWidget( terminal, 0, 3 );
+ tqlayout->addWidget( terminal, 0, 3 );
- layout->activate();
+ tqlayout->activate();
}
void KCMDLine::addPlaceholder() {