diff options
-rw-r--r-- | kdirstat/kdirstatapp.cpp | 2 | ||||
-rw-r--r-- | kdirstat/kdirstatsettings.cpp | 6 | ||||
-rw-r--r-- | kdirstat/ktreemaptile.cpp | 2 | ||||
-rw-r--r-- | kdirstat/ktreemapview.cpp | 12 |
4 files changed, 11 insertions, 11 deletions
diff --git a/kdirstat/kdirstatapp.cpp b/kdirstat/kdirstatapp.cpp index af86b36..eb24b33 100644 --- a/kdirstat/kdirstatapp.cpp +++ b/kdirstat/kdirstatapp.cpp @@ -82,7 +82,7 @@ KDirStatApp::KDirStatApp( TQWidget* , const char* name ) // Create main window - _splitter = new TQSplitter( Qt::Vertical, this ); + _splitter = new TQSplitter( TQt::Vertical, this ); setCentralWidget( _splitter ); _treeView = new KDirTreeView( _splitter ); diff --git a/kdirstat/kdirstatsettings.cpp b/kdirstat/kdirstatsettings.cpp index bfdce3e..85fd211 100644 --- a/kdirstat/kdirstatsettings.cpp +++ b/kdirstat/kdirstatsettings.cpp @@ -207,7 +207,7 @@ KTreeColorsPage::KTreeColorsPage( KSettingsDialog * dialog, _maxButtons, // maxValue 1, // pageStep 1, // value - Qt::Vertical, + TQt::Vertical, this ); outerBox->addWidget( _slider, 0 ); outerBox->activate(); @@ -820,7 +820,7 @@ KTreemapPage::KTreemapPage( KSettingsDialog * dialog, TQLabel * label = new TQLabel( i18n( "Ambient &Light" ), gbox ); TQHBox * hbox = new TQHBox( gbox ); _ambientLight = new TQSlider ( MinAmbientLight, MaxAmbientLight, 10, // min, max, pageStep - DefaultAmbientLight,Qt::Horizontal, hbox ); + DefaultAmbientLight,TQt::Horizontal, hbox ); _ambientLightSB = new TQSpinBox( MinAmbientLight, MaxAmbientLight, 1, // min, max, step hbox ); _ambientLightSB->setSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum ) ); @@ -830,7 +830,7 @@ KTreemapPage::KTreemapPage( KSettingsDialog * dialog, label = new TQLabel( i18n( "&Height Scale" ), gbox ); hbox = new TQHBox( gbox ); _heightScalePercent = new TQSlider( MinHeightScalePercent, MaxHeightScalePercent, 10, // min, max, pageStep - DefaultHeightScalePercent,Qt::Horizontal, hbox ); + DefaultHeightScalePercent,TQt::Horizontal, hbox ); _heightScalePercentSB = new TQSpinBox( MinHeightScalePercent, MaxHeightScalePercent, 1, // min, max, step hbox ); _heightScalePercentSB->setSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum ) ); diff --git a/kdirstat/ktreemaptile.cpp b/kdirstat/ktreemaptile.cpp index bbe0117..5293a97 100644 --- a/kdirstat/ktreemaptile.cpp +++ b/kdirstat/ktreemaptile.cpp @@ -85,7 +85,7 @@ KTreemapTile::init() setZ( _parentTile ? ( _parentTile->z() + 1.0 ) : 0.0 ); setBrush( TQColor( 0x60, 0x60, 0x60 ) ); - setPen( Qt::NoPen ); + setPen( TQt::NoPen ); show(); // TQCanvasItems are invisible by default! diff --git a/kdirstat/ktreemapview.cpp b/kdirstat/ktreemapview.cpp index 60db30d..0e0553c 100644 --- a/kdirstat/ktreemapview.cpp +++ b/kdirstat/ktreemapview.cpp @@ -181,12 +181,12 @@ KTreemapView::contentsMousePressEvent( TQMouseEvent * event ) switch ( event->button() ) { - case Qt::LeftButton: + case TQt::LeftButton: selectTile( tile ); emit userActivity( 1 ); break; - case Qt::MidButton: + case TQt::MidButton: // Select clicked tile's parent, if available if ( _selectedTile && @@ -208,7 +208,7 @@ KTreemapView::contentsMousePressEvent( TQMouseEvent * event ) emit userActivity( 1 ); break; - case Qt::RightButton: + case TQt::RightButton: if ( tile ) { @@ -247,7 +247,7 @@ KTreemapView::contentsMouseDoubleClickEvent( TQMouseEvent * event ) switch ( event->button() ) { - case Qt::LeftButton: + case TQt::LeftButton: if ( tile ) { selectTile( tile ); @@ -256,12 +256,12 @@ KTreemapView::contentsMouseDoubleClickEvent( TQMouseEvent * event ) } break; - case Qt::MidButton: + case TQt::MidButton: zoomOut(); emit userActivity( 5 ); break; - case Qt::RightButton: + case TQt::RightButton: // Double-clicking the right mouse button is pretty useless - the // first click opens the context menu: Single clicks are always // delivered first. Even if that would be caught by using timers, |