summaryrefslogtreecommitdiffstats
path: root/kbugbuster/gui/packageselectdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbugbuster/gui/packageselectdialog.cpp')
-rw-r--r--kbugbuster/gui/packageselectdialog.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kbugbuster/gui/packageselectdialog.cpp b/kbugbuster/gui/packageselectdialog.cpp
index 31dfdcef..e3481c0b 100644
--- a/kbugbuster/gui/packageselectdialog.cpp
+++ b/kbugbuster/gui/packageselectdialog.cpp
@@ -14,10 +14,10 @@
#include "packageselectdialog.h"
#include "packageselectdialog.moc"
-PackageListView::PackageListView( TQWidget *parent ) :
- TQListView( parent )
+PackageListView::PackageListView( TQWidget *tqparent ) :
+ TQListView( tqparent )
{
- setFocusPolicy( TQWidget::StrongFocus );
+ setFocusPolicy( TQ_StrongFocus );
}
void PackageListView::resetTyped()
@@ -39,14 +39,14 @@ void PackageListView::keyPressEvent( TQKeyEvent *e )
emit typed( mTyped );
}
-PackageSelectDialog::PackageSelectDialog(TQWidget *parent,const char *name) :
- KDialogBase( parent, name, true, i18n("Select Product"), Ok|Cancel )
+PackageSelectDialog::PackageSelectDialog(TQWidget *tqparent,const char *name) :
+ KDialogBase( tqparent, name, true, i18n("Select Product"), Ok|Cancel )
{
TQWidget *topWidget = new TQWidget( this );
setMainWidget( topWidget );
TQBoxLayout *topLayout = new TQVBoxLayout( topWidget );
- TQSplitter *topSplitter = new TQSplitter( TQSplitter::Vertical, topWidget );
+ TQSplitter *topSplitter = new TQSplitter( Qt::Vertical, topWidget );
topSplitter->setOpaqueResize( true );
topLayout->addWidget( topSplitter );
@@ -108,7 +108,7 @@ void PackageSelectDialog::setPackages( const Package::List &pkgs )
mCompletionDict.clear();
Package::List::ConstIterator it;
for( it = pkgs.begin(); it != pkgs.end(); ++it ) {
- PackageLVI *item = new PackageLVI( mCompleteList, (*it), TQString::null );
+ PackageLVI *item = new PackageLVI( mCompleteList, (*it), TQString() );
TQStringList components = (*it).components();
if (components.count() > 1) {
@@ -131,7 +131,7 @@ void PackageSelectDialog::recentSelected( int, TQListViewItem *item )
kdDebug() << "PackageSelectDialog::recentSelected()" << endl;
if ( item ) {
mCompleteList->clearSelection();
- // Why does a QLineEdit->setText() call emit the textChanged() signal?
+ // Why does a TQLineEdit->setText() call emit the textChanged() signal?
mPackageEdit->blockSignals( true );
mPackageEdit->setText( item->text( 0 ) );
enableButtonOK(true);
@@ -169,7 +169,7 @@ void PackageSelectDialog::slotOk()
BugServer *server = BugSystem::self()->server();
TQStringList recent = server->serverConfig().recentPackages();
- if( !recent.contains( recent_key ) ) {
+ if( !recent.tqcontains( recent_key ) ) {
recent.prepend( recent_key );
if ( int( recent.count() ) > KBBPrefs::instance()->mRecentPackagesCount ) {
recent.remove( recent.last() );