From 8155225c9be993acc0512956416d195edfef4eb9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 19 Jan 2011 01:42:14 +0000 Subject: Enable compilation with TQt for Qt4 3.4.0 TP2 This should not break compatibility with TQt for Qt3; if it does please fix it ASAP! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1215552 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcontrol/konsole/kcmkonsoledialog.ui | 48 ++++++++++++------------- kcontrol/konsole/schemadialog.ui | 70 ++++++++++++++++++------------------ kcontrol/konsole/schemaeditor.cpp | 10 +++--- kcontrol/konsole/sessiondialog.ui | 64 ++++++++++++++++----------------- kcontrol/konsole/sessioneditor.cpp | 2 +- 5 files changed, 97 insertions(+), 97 deletions(-) (limited to 'kcontrol/konsole') diff --git a/kcontrol/konsole/kcmkonsoledialog.ui b/kcontrol/konsole/kcmkonsoledialog.ui index bb805ed4b..c6b5c04cb 100644 --- a/kcontrol/konsole/kcmkonsoledialog.ui +++ b/kcontrol/konsole/kcmkonsoledialog.ui @@ -1,6 +1,6 @@ KCMKonsoleDialog - + KCMKonsoleDialog @@ -23,7 +23,7 @@ 0 - + TabWidget2 @@ -34,7 +34,7 @@ - + tab @@ -55,14 +55,14 @@ Expanding - + 20 20 - + GroupBox3 @@ -73,7 +73,7 @@ unnamed - + TextLabel1_3 @@ -84,7 +84,7 @@ word_connectorLE - + word_connectorLE @@ -99,7 +99,7 @@ - + GroupBox2 @@ -110,7 +110,7 @@ unnamed - + terminalSizeHintCB @@ -118,7 +118,7 @@ Show terminal si&ze after resizing - + frameCB @@ -126,7 +126,7 @@ Show &frame - + warnCB @@ -134,7 +134,7 @@ &Confirm quit when closing more than one session - + blinkingCB @@ -142,7 +142,7 @@ &Blinking cursor - + ctrldragCB @@ -150,7 +150,7 @@ &Require Ctrl key for drag and drop - + cutToBeginningOfLineCB @@ -158,7 +158,7 @@ Triple click selects &only from the current word forward - + allowResizeCB @@ -166,7 +166,7 @@ Allow progr&ams to resize terminal window - + xonXoffCB @@ -184,14 +184,14 @@ Expanding - + 20 20 - + bidiCB @@ -199,7 +199,7 @@ Enable bidirectional text rendering - + SilenceLabel @@ -253,7 +253,7 @@ 8 - + TextLabel1_4 @@ -282,14 +282,14 @@ Expanding - + 20 20 - + matchTabWinTitleCB @@ -301,7 +301,7 @@ - + tab @@ -319,7 +319,7 @@ - + tab diff --git a/kcontrol/konsole/schemadialog.ui b/kcontrol/konsole/schemadialog.ui index 64fda6a49..d99678904 100644 --- a/kcontrol/konsole/schemadialog.ui +++ b/kcontrol/konsole/schemadialog.ui @@ -1,6 +1,6 @@ SchemaDialog - + SchemaDialog @@ -26,7 +26,7 @@ 0 - + Layout2 @@ -34,7 +34,7 @@ unnamed - + TextLabel1 @@ -45,7 +45,7 @@ titleLine - + titleLine @@ -60,7 +60,7 @@ - + GroupBox1 @@ -79,7 +79,7 @@ unnamed - + TextLabel8 @@ -90,7 +90,7 @@ colorCombo - + boldCheck @@ -108,7 +108,7 @@ Expanding - + 20 20 @@ -123,7 +123,7 @@ - + Custom @@ -158,14 +158,14 @@ Fixed - + 20 20 - + transparentCheck @@ -173,7 +173,7 @@ Trans&parent - + TextLabel1_2 @@ -184,7 +184,7 @@ typeCombo - + 0 - Foreground Color @@ -299,7 +299,7 @@ - + GroupBox2 @@ -310,12 +310,12 @@ unnamed - + schemaList - + defaultSchemaCB @@ -323,7 +323,7 @@ S&et as default schema - + Layout3 @@ -331,7 +331,7 @@ unnamed - + saveButton @@ -339,7 +339,7 @@ Sa&ve Schema... - + removeButton @@ -357,7 +357,7 @@ Expanding - + 20 20 @@ -368,7 +368,7 @@ - + GroupBox13 @@ -389,19 +389,19 @@ Fixed - + 20 20 - + backgndLine - + imageBrowse @@ -409,7 +409,7 @@ ... - + Tiled @@ -429,7 +429,7 @@ modeCombo - + TextLabel11 @@ -440,7 +440,7 @@ modeCombo - + TextLabel6 @@ -448,7 +448,7 @@ Min - + shadeSlide @@ -459,7 +459,7 @@ Horizontal - + TextLabel5 @@ -467,7 +467,7 @@ Max - + TextLabel3 @@ -486,7 +486,7 @@ - + previewPixmap @@ -498,13 +498,13 @@ 0 - + 180 120 - + 180 120 @@ -520,7 +520,7 @@ true - + transparencyCheck @@ -540,7 +540,7 @@ Expanding - + 20 20 diff --git a/kcontrol/konsole/schemaeditor.cpp b/kcontrol/konsole/schemaeditor.cpp index 17eaadc3c..fc9ddee3d 100644 --- a/kcontrol/konsole/schemaeditor.cpp +++ b/kcontrol/konsole/schemaeditor.cpp @@ -44,7 +44,7 @@ #include // SchemaListBoxText is a list box text item with schema filename -class SchemaListBoxText : public QListBoxText +class SchemaListBoxText : public TQListBoxText { public: SchemaListBoxText(const TQString &title, const TQString &filename): TQListBoxText(title) @@ -241,7 +241,7 @@ void SchemaEditor::loadAllSchema(TQString currentFile) TQString title = readSchemaTitle(name); // Only insert new items so that local items override global - if (schemaList->findItem(title, ExactMatch) == 0) { + if (schemaList->tqfindItem(title, ExactMatch) == 0) { if (title.isNull() || title.isEmpty()) title=i18n("untitled"); @@ -594,7 +594,7 @@ void SchemaEditor::readSchema(int num) continue; TQString qline(line); - backgndLine->setText(locate("wallpaper", qline.mid( qline.find(" ",7)+1 ) )); + backgndLine->setText(locate("wallpaper", qline.mid( qline.tqfind(" ",7)+1 ) )); modeCombo->setCurrentItem(attr - 2); } @@ -666,7 +666,7 @@ void SchemaEditor::readSchema(int num) continue; if (!(0 <= bo && bo <= 1)) continue; - color[fi] = kapp->palette().active().text(); + color[fi] = kapp->tqpalette().active().text(); transparent[fi] = tr; bold[fi] = bo; type[fi] = 1; @@ -681,7 +681,7 @@ void SchemaEditor::readSchema(int num) continue; if (!(0 <= bo && bo <= 1)) continue; - color[fi] = kapp->palette().active().base(); + color[fi] = kapp->tqpalette().active().base(); transparent[fi] = tr; bold[fi] = bo; type[fi] = 2; diff --git a/kcontrol/konsole/sessiondialog.ui b/kcontrol/konsole/sessiondialog.ui index a86a74077..066c9c69a 100644 --- a/kcontrol/konsole/sessiondialog.ui +++ b/kcontrol/konsole/sessiondialog.ui @@ -1,6 +1,6 @@ SessionDialog - + SessionDialog @@ -26,7 +26,7 @@ 0 - + layout8 @@ -34,7 +34,7 @@ unnamed - + propertiesGroup @@ -45,7 +45,7 @@ unnamed - + Layout29 @@ -53,7 +53,7 @@ unnamed - + <Default> @@ -111,7 +111,7 @@ false - + termLine @@ -124,12 +124,12 @@ - + keytabCombo - + TextLabel5 @@ -140,12 +140,12 @@ fontCombo - + schemaCombo - + TextLabel7 @@ -156,7 +156,7 @@ schemaCombo - + TextLabel8 @@ -167,7 +167,7 @@ termLine - + TextLabel6 @@ -184,13 +184,13 @@ previewIcon - + 100 100 - + 100 100 @@ -200,7 +200,7 @@ - + TextLabel4 @@ -212,7 +212,7 @@ 0 - + 90 100 @@ -221,7 +221,7 @@ &Icon: - + AlignTop|AlignLeft @@ -230,7 +230,7 @@ - + sessionGroup @@ -241,12 +241,12 @@ unnamed - + sessionList - + Layout3 @@ -254,7 +254,7 @@ unnamed - + saveButton @@ -262,7 +262,7 @@ Sa&ve Session... - + removeButton @@ -280,7 +280,7 @@ Expanding - + 20 20 @@ -291,7 +291,7 @@ - + generalGroup @@ -310,7 +310,7 @@ unnamed - + layout6 @@ -318,7 +318,7 @@ unnamed - + layout5 @@ -326,7 +326,7 @@ unnamed - + TextLabel1 @@ -345,7 +345,7 @@ nameLine - + TextLabel2 @@ -356,7 +356,7 @@ executeLine - + TextLabel3 @@ -369,7 +369,7 @@ - + layout4 @@ -377,7 +377,7 @@ unnamed - + nameLine @@ -390,7 +390,7 @@ - + executeLine diff --git a/kcontrol/konsole/sessioneditor.cpp b/kcontrol/konsole/sessioneditor.cpp index 5cb1c9746..e93084af1 100644 --- a/kcontrol/konsole/sessioneditor.cpp +++ b/kcontrol/konsole/sessioneditor.cpp @@ -35,7 +35,7 @@ #include // SessionListBoxText is a list box text item with session filename -class SessionListBoxText : public QListBoxText +class SessionListBoxText : public TQListBoxText { public: SessionListBoxText(const TQString &title, const TQString &filename): TQListBoxText(title) -- cgit v1.2.1