summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/kcompletiontest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tests/kcompletiontest.cpp')
-rw-r--r--tdeui/tests/kcompletiontest.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/tdeui/tests/kcompletiontest.cpp b/tdeui/tests/kcompletiontest.cpp
index 261534465..a6c010fc7 100644
--- a/tdeui/tests/kcompletiontest.cpp
+++ b/tdeui/tests/kcompletiontest.cpp
@@ -38,11 +38,11 @@ Form1::Form1( TQWidget* parent, const char* name )
GroupBox1 = new TQGroupBox( this, "GroupBox1" );
GroupBox1->setTitle( "Completion Test" );
- GroupBox1->setColumnLayout(0, Qt::Vertical );
+ GroupBox1->setColumnLayout(0, TQt::Vertical );
GroupBox1->layout()->setSpacing( 0 );
GroupBox1->layout()->setMargin( 0 );
GroupBox1Layout = new TQVBoxLayout( GroupBox1->layout() );
- GroupBox1Layout->setAlignment( Qt::AlignTop );
+ GroupBox1Layout->setAlignment( TQt::AlignTop );
GroupBox1Layout->setSpacing( 6 );
GroupBox1Layout->setMargin( 11 );
@@ -74,8 +74,8 @@ Form1::Form1( TQWidget* parent, const char* name )
combo->setCompletionObject( edit->completionObject() );
// combo->setMaxCount( 5 );
combo->setHistoryItems( defaultItems(), true );
- connect( combo, TQT_SIGNAL( activated( const TQString& )),
- combo, TQT_SLOT( addToHistory( const TQString& )));
+ connect( combo, TQ_SIGNAL( activated( const TQString& )),
+ combo, TQ_SLOT( addToHistory( const TQString& )));
TQToolTip::add( combo, "KHistoryCombo" );
Layout2->addWidget( combo );
@@ -84,7 +84,7 @@ Form1::Form1( TQWidget* parent, const char* name )
PushButton1 = new TQPushButton( GroupBox1, "PushButton1" );
PushButton1->setText( "Add" );
- connect( PushButton1, TQT_SIGNAL( clicked() ), TQT_SLOT( slotAdd() ));
+ connect( PushButton1, TQ_SIGNAL( clicked() ), TQ_SLOT( slotAdd() ));
Layout2->addWidget( PushButton1 );
Layout9->addLayout( Layout2 );
@@ -96,7 +96,7 @@ Form1::Form1( TQWidget* parent, const char* name )
PushButton1_4 = new TQPushButton( GroupBox1, "PushButton1_4" );
PushButton1_4->setText( "Remove" );
- connect( PushButton1_4, TQT_SIGNAL( clicked() ), TQT_SLOT( slotRemove() ));
+ connect( PushButton1_4, TQ_SIGNAL( clicked() ), TQ_SLOT( slotRemove() ));
Layout3->addWidget( PushButton1_4 );
Layout9->addLayout( Layout3 );
@@ -106,8 +106,8 @@ Form1::Form1( TQWidget* parent, const char* name )
ListBox1 = new TQListBox( GroupBox1, "ListBox1" );
Layout8->addWidget( ListBox1 );
- connect( ListBox1, TQT_SIGNAL( highlighted( const TQString& )),
- TQT_SLOT( slotHighlighted( const TQString& )));
+ connect( ListBox1, TQ_SIGNAL( highlighted( const TQString& )),
+ TQ_SLOT( slotHighlighted( const TQString& )));
TQToolTip::add( ListBox1, "Contains the contents of the completion object.\n:x is the weighting, i.e. how often an item has been inserted");
Layout7 = new TQVBoxLayout;
@@ -116,13 +116,13 @@ Form1::Form1( TQWidget* parent, const char* name )
PushButton1_3 = new TQPushButton( GroupBox1, "PushButton1_3" );
PushButton1_3->setText( "Completion items" );
- connect( PushButton1_3, TQT_SIGNAL( clicked() ), TQT_SLOT( slotList() ));
+ connect( PushButton1_3, TQ_SIGNAL( clicked() ), TQ_SLOT( slotList() ));
Layout7->addWidget( PushButton1_3 );
PushButton1_2 = new TQPushButton( GroupBox1, "PushButton1_2" );
PushButton1_2->setText( "Clear" );
- connect( PushButton1_2, TQT_SIGNAL( clicked() ),
- edit->completionObject(), TQT_SLOT( clear() ));
+ connect( PushButton1_2, TQ_SIGNAL( clicked() ),
+ edit->completionObject(), TQ_SLOT( clear() ));
Layout7->addWidget( PushButton1_2 );
Layout8->addLayout( Layout7 );
Layout9->addLayout( Layout8 );