diff options
Diffstat (limited to 'kaddressbook/viewconfigurewidget.cpp')
-rw-r--r-- | kaddressbook/viewconfigurewidget.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kaddressbook/viewconfigurewidget.cpp b/kaddressbook/viewconfigurewidget.cpp index f8e883f0b..f75fe1cec 100644 --- a/kaddressbook/viewconfigurewidget.cpp +++ b/kaddressbook/viewconfigurewidget.cpp @@ -21,8 +21,8 @@ without including the source code for Qt in the source distribution. */ -#include <qlayout.h> -#include <qvbox.h> +#include <tqlayout.h> +#include <tqvbox.h> #include <kapplication.h> #include <kconfig.h> @@ -37,17 +37,17 @@ #include "viewconfigurewidget.h" -ViewConfigureWidget::ViewConfigureWidget( KABC::AddressBook *ab, QWidget *parent, +ViewConfigureWidget::ViewConfigureWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name ) : KAB::ConfigureWidget( ab, parent, name ) { - QVBoxLayout *topLayout = new QVBoxLayout( this ); + TQVBoxLayout *topLayout = new TQVBoxLayout( this ); mMainWidget = new KJanusWidget( this, "JanusWidget", KJanusWidget::IconList ); topLayout->addWidget( mMainWidget ); // Add the first page, the attributes - QVBox *page = addPage( i18n( "Fields" ), QString::null, + TQVBox *page = addPage( i18n( "Fields" ), TQString::null, KGlobal::iconLoader()->loadIcon( "view_detailed", KIcon::Panel ) ); @@ -55,7 +55,7 @@ ViewConfigureWidget::ViewConfigureWidget( KABC::AddressBook *ab, QWidget *parent mFieldsPage = new ViewConfigureFieldsPage( addressBook(), page ); // Add the second page, the filter selection - page = addPage( i18n( "Default Filter" ), QString::null, + page = addPage( i18n( "Default Filter" ), TQString::null, KGlobal::iconLoader()->loadIcon( "filter", KIcon::Panel ) ); @@ -78,14 +78,14 @@ void ViewConfigureWidget::saveSettings( KConfig *config ) mFilterPage->saveSettings( config ); } -QVBox *ViewConfigureWidget::addPage( const QString &item, const QString &header, - const QPixmap &pixmap ) +TQVBox *ViewConfigureWidget::addPage( const TQString &item, const TQString &header, + const TQPixmap &pixmap ) { return mMainWidget->addVBoxPage( item, header, pixmap ); } -ViewConfigureDialog::ViewConfigureDialog( ViewConfigureWidget *wdg, const QString &viewName, - QWidget *parent, const char *name ) +ViewConfigureDialog::ViewConfigureDialog( ViewConfigureWidget *wdg, const TQString &viewName, + TQWidget *parent, const char *name ) : KDialogBase( Swallow, i18n( "Modify View: " ) + viewName, Help | Ok | Cancel, Ok, parent, name, true, true ), mConfigWidget( wdg ) { |