diff options
Diffstat (limited to 'knode')
-rw-r--r-- | knode/articlewidget.cpp | 4 | ||||
-rw-r--r-- | knode/kngroupdialog.cpp | 2 | ||||
-rw-r--r-- | knode/kngroupselectdialog.cpp | 2 | ||||
-rw-r--r-- | knode/knode_part.cpp | 4 | ||||
-rw-r--r-- | knode/utilities.cpp | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/knode/articlewidget.cpp b/knode/articlewidget.cpp index 30af3f603..b5586c33c 100644 --- a/knode/articlewidget.cpp +++ b/knode/articlewidget.cpp @@ -98,13 +98,13 @@ ArticleWidget::ArticleWidget( TQWidget *tqparent, TQHBoxLayout *box = new TQHBoxLayout( this ); mViewer = new KHTMLPart( this, "mViewer" ); box->addWidget( mViewer->widget() ); - mViewer->widget()->setFocusPolicy( Qt::WheelFocus ); + mViewer->widget()->setFocusPolicy( TQ_WheelFocus ); mViewer->setPluginsEnabled( false ); mViewer->setJScriptEnabled( false ); mViewer->setJavaEnabled( false ); mViewer->setMetaRefreshEnabled( false ); mViewer->setOnlyLocalReferences( true ); - mViewer->view()->setFocusPolicy( Qt::WheelFocus ); + mViewer->view()->setFocusPolicy( TQ_WheelFocus ); connect( mViewer->browserExtension(), TQT_SIGNAL(openURLRequestDelayed(const KURL&, const KParts::URLArgs&)), TQT_SLOT(slotURLClicked(const KURL&)) ); connect( mViewer, TQT_SIGNAL(popupMenu(const TQString&, const TQPoint&)), diff --git a/knode/kngroupdialog.cpp b/knode/kngroupdialog.cpp index 4d86178fb..8265be68c 100644 --- a/knode/kngroupdialog.cpp +++ b/knode/kngroupdialog.cpp @@ -177,7 +177,7 @@ void KNGroupDialog::setButtonDirection(arrowButton b, arrowDirection d) void KNGroupDialog::slotItemSelected(TQListViewItem *it) { - const TQObject *s=TQT_TQOBJECT(sender()); + const TQObject *s=TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender())); if(TQT_BASE_OBJECT_CONST(s)==TQT_BASE_OBJECT(subView)) { diff --git a/knode/kngroupselectdialog.cpp b/knode/kngroupselectdialog.cpp index 0476442b3..a3328b8e0 100644 --- a/knode/kngroupselectdialog.cpp +++ b/knode/kngroupselectdialog.cpp @@ -114,7 +114,7 @@ TQString KNGroupSelectDialog::selectedGroups()const void KNGroupSelectDialog::slotItemSelected(TQListViewItem *it) { - const TQObject *s=TQT_TQOBJECT(sender()); + const TQObject *s=TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender())); if(TQT_BASE_OBJECT_CONST(s)==TQT_BASE_OBJECT(groupView)) { selView->clearSelection(); diff --git a/knode/knode_part.cpp b/knode/knode_part.cpp index ad01aef7d..729d71f9f 100644 --- a/knode/knode_part.cpp +++ b/knode/knode_part.cpp @@ -68,13 +68,13 @@ KNodePart::KNodePart(TQWidget *tqparentWidget, const char *widgetName, // create a canvas to insert our widget TQWidget *canvas = new TQWidget(tqparentWidget, widgetName); - canvas->setFocusPolicy(Qt::ClickFocus); + canvas->setFocusPolicy(TQ_ClickFocus); setWidget(canvas); mainWidget = new KNMainWidget( this, false, canvas, "knode_widget" ); TQVBoxLayout *topLayout = new TQVBoxLayout(canvas); topLayout->addWidget(mainWidget); - mainWidget->setFocusPolicy(Qt::ClickFocus); + mainWidget->setFocusPolicy(TQ_ClickFocus); kapp->dcopClient()->resume(); // Ok. We are ready for DCOP requests. diff --git a/knode/utilities.cpp b/knode/utilities.cpp index 5fd418fe4..4c857a3e5 100644 --- a/knode/utilities.cpp +++ b/knode/utilities.cpp @@ -410,7 +410,7 @@ TQString KNHelper::rewrapStringList(TQStringList text, int wrapAt, TQChar quoteC if (!alwaysSpace && (thisLine[0]==quoteChar)) thisLine.prepend(quoteChar); // second quote level without space else - thisLine.prepend(quoteChar+TQString(' ')); + thisLine.prepend(TQString(quoteChar)+' '); thisPrefix=TQString(); TQChar c; |