diff options
Diffstat (limited to 'konq-plugins')
-rw-r--r-- | konq-plugins/fsview/treemap.cpp | 4 | ||||
-rw-r--r-- | konq-plugins/fsview/treemap.h | 8 | ||||
-rw-r--r-- | konq-plugins/sidebar/delicious/mainWidget.cpp | 2 | ||||
-rw-r--r-- | konq-plugins/sidebar/mediaplayer/controls.cpp | 12 | ||||
-rw-r--r-- | konq-plugins/sidebar/mediaplayer/controls.h | 4 | ||||
-rw-r--r-- | konq-plugins/sidebar/metabar/src/configdialog.cpp | 6 | ||||
-rw-r--r-- | konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp | 2 |
7 files changed, 19 insertions, 19 deletions
diff --git a/konq-plugins/fsview/treemap.cpp b/konq-plugins/fsview/treemap.cpp index f56d1cd..ef41fb1 100644 --- a/konq-plugins/fsview/treemap.cpp +++ b/konq-plugins/fsview/treemap.cpp @@ -1826,7 +1826,7 @@ void TreeMapWidget::mousePressEvent( TQMouseEvent* e ) } // item under mouse always selected on right button press - if (e->button() == Qt::RightButton) { + if (e->button() == TQt::RightButton) { TreeMapItem* changed2 = setTmpSelected(item, true); if (changed2) changed = changed2->commonParent(changed); } @@ -1836,7 +1836,7 @@ void TreeMapWidget::mousePressEvent( TQMouseEvent* e ) if (changed) redraw(changed); - if (e->button() == Qt::RightButton) { + if (e->button() == TQt::RightButton) { // emit selection change if (! (_tmpSelection == _selection)) { diff --git a/konq-plugins/fsview/treemap.h b/konq-plugins/fsview/treemap.h index 797ac0a..8f12228 100644 --- a/konq-plugins/fsview/treemap.h +++ b/konq-plugins/fsview/treemap.h @@ -227,10 +227,10 @@ public: * longest side of rectangle left for drawing * Best: Choose split direction for all subitems of an area * depending on longest side - * HAlternate:Qt::Horizontal at top; alternate direction on depth step - * VAlternate:Qt::Vertical at top; alternate direction on depth step - * Qt::Horizontal: Always horizontal split direction - * Qt::Vertical: Always vertical split direction + * HAlternate: Horizontal at top; alternate direction on depth step + * VAlternate: Vertical at top; alternate direction on depth step + * Horizontal: Always horizontal split direction + * Vertical: Always vertical split direction */ enum SplitMode { Bisection, Columns, Rows, AlwaysBest, Best, diff --git a/konq-plugins/sidebar/delicious/mainWidget.cpp b/konq-plugins/sidebar/delicious/mainWidget.cpp index 6567c50..775d371 100644 --- a/konq-plugins/sidebar/delicious/mainWidget.cpp +++ b/konq-plugins/sidebar/delicious/mainWidget.cpp @@ -194,7 +194,7 @@ void MainWidget::slotBookmarkExecuted( TQListViewItem * item ) void MainWidget::slotBookmarkClicked( int button, TQListViewItem * item, const TQPoint &, int ) { BookmarkListItem * bookmark = static_cast<BookmarkListItem *>( item ); - if ( bookmark && button == Qt::MidButton ) // handle middle click + if ( bookmark && button == TQt::MidButton ) // handle middle click { kdDebug() << k_funcinfo << "Middle clicked bookmark URL: " << bookmark->url() << endl; emit signalURLMidClicked( bookmark->url() ); diff --git a/konq-plugins/sidebar/mediaplayer/controls.cpp b/konq-plugins/sidebar/mediaplayer/controls.cpp index ba5a504..eb034ca 100644 --- a/konq-plugins/sidebar/mediaplayer/controls.cpp +++ b/konq-plugins/sidebar/mediaplayer/controls.cpp @@ -26,11 +26,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. L33tSlider::L33tSlider(TQWidget * parent, const char * name) : TQSlider(parent,name), pressed(false) {} -L33tSlider::L33tSlider(Qt::Orientation o, TQWidget * parent, const char * name) : +L33tSlider::L33tSlider(TQt::Orientation o, TQWidget * parent, const char * name) : TQSlider(o,parent,name), pressed(false) {} L33tSlider::L33tSlider(int minValue, int maxValue, int pageStep, int value, - Qt::Orientation o, TQWidget * parent, const char * name) : + TQt::Orientation o, TQWidget * parent, const char * name) : TQSlider(minValue, maxValue, pageStep, value, o, parent,name), pressed(false) {} @@ -47,7 +47,7 @@ void L33tSlider::setValue(int i) void L33tSlider::mousePressEvent(TQMouseEvent*e) { - if (e->button()!=Qt::RightButton) + if (e->button()!=TQt::RightButton) { pressed=true; TQSlider::mousePressEvent(e); @@ -91,7 +91,7 @@ int SliderAction::plug( TQWidget *w, int index ) int id = TDEAction::getToolButtonID(); //Create it. - m_slider=new L33tSlider(0, 1000, 100, 0,Qt::Horizontal, toolBar); + m_slider=new L33tSlider(0, 1000, 100, 0,TQt::Horizontal, toolBar); m_slider->setMinimumWidth(10); toolBar->insertWidget(id, 10, m_slider, index ); @@ -115,12 +115,12 @@ return; /* if (pos == TDEToolBar::Left || pos == TDEToolBar::Right) { - m_slider->setOrientation(Qt::Vertical); + m_slider->setOrientation(TQt::Vertical); m_slider->setFixedWidth(m_slider->height()); } else { - m_slider->setOrientation(Qt::Horizontal); + m_slider->setOrientation(TQt::Horizontal); m_slider->resize(m_slider->height(), m_slider->height()); } */ diff --git a/konq-plugins/sidebar/mediaplayer/controls.h b/konq-plugins/sidebar/mediaplayer/controls.h index 6a8d8dc..c50201e 100644 --- a/konq-plugins/sidebar/mediaplayer/controls.h +++ b/konq-plugins/sidebar/mediaplayer/controls.h @@ -44,9 +44,9 @@ TQ_OBJECT public: L33tSlider(TQWidget * parent, const char * name=0); - L33tSlider(Qt::Orientation, TQWidget * parent, const char * name=0); + L33tSlider(TQt::Orientation, TQWidget * parent, const char * name=0); L33tSlider(int minValue, int maxValue, int pageStep, int value, - Qt::Orientation, TQWidget * parent, const char * name=0); + TQt::Orientation, TQWidget * parent, const char * name=0); bool currentlyPressed() const; signals: diff --git a/konq-plugins/sidebar/metabar/src/configdialog.cpp b/konq-plugins/sidebar/metabar/src/configdialog.cpp index e03a7a1..35816df 100644 --- a/konq-plugins/sidebar/metabar/src/configdialog.cpp +++ b/konq-plugins/sidebar/metabar/src/configdialog.cpp @@ -77,7 +77,7 @@ ConfigDialog::ConfigDialog(TQWidget *parent, const char *name) : TQDialog(parent config->setGroup("General"); TQWidget *general = new TQWidget; - TQGroupBox *entries_group = new TQGroupBox(2, Qt::Horizontal, i18n("Items"), general); + TQGroupBox *entries_group = new TQGroupBox(2, TQt::Horizontal, i18n("Items"), general); entries_group->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Preferred); TQLabel *entries_label = new TQLabel(i18n("Open with:"), entries_group); @@ -97,7 +97,7 @@ ConfigDialog::ConfigDialog(TQWidget *parent, const char *name) : TQDialog(parent actions_label->setBuddy(max_actions); - TQGroupBox *appearance_group = new TQGroupBox(1, Qt::Horizontal, i18n("Appearance"), general); + TQGroupBox *appearance_group = new TQGroupBox(1, TQt::Horizontal, i18n("Appearance"), general); appearance_group->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Preferred); animate = new TQCheckBox(i18n("Animate resize"), appearance_group); @@ -109,7 +109,7 @@ ConfigDialog::ConfigDialog(TQWidget *parent, const char *name) : TQDialog(parent showframe = new TQCheckBox(i18n("Show frame"), appearance_group); showframe->setChecked(config->readBoolEntry("ShowFrame", true)); - TQGroupBox *theme_group = new TQGroupBox(2, Qt::Horizontal, i18n("Themes"), general); + TQGroupBox *theme_group = new TQGroupBox(2, TQt::Horizontal, i18n("Themes"), general); theme_group->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Preferred); themes = new KComboBox(theme_group); diff --git a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp index 52edae0..8ee0c78 100644 --- a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp +++ b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp @@ -211,7 +211,7 @@ namespace KSB_News { bool NSStackTabWidget::eventFilter(TQObject *obj, TQEvent *ev) { if (ev->type() == TQEvent::MouseButtonPress - && ((TQMouseEvent *)ev)->button() == Qt::RightButton) { + && ((TQMouseEvent *)ev)->button() == TQt::RightButton) { m_last_button_rightclicked = (TQPushButton *)obj; popup->exec(TQCursor::pos()); return true; |