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
KStdAction::openNew( m_viewManager,TQT_SLOT(slotDocumentNew()),actionCollection(),"file_new")->setWhatsThis(i18n("Create a new document"));
KStdAction::open( m_viewManager,TQT_SLOT(slotDocumentOpen()),actionCollection(),"file_open")->setWhatsThis(i18n("Open an existing document for editing"));
KStdAction::openNew(TQT_TQOBJECT(m_viewManager),TQT_SLOT(slotDocumentNew()),actionCollection(),"file_new")->setWhatsThis(i18n("Create a new document"));
KStdAction::open(TQT_TQOBJECT(m_viewManager),TQT_SLOT(slotDocumentOpen()),actionCollection(),"file_open")->setWhatsThis(i18n("Open an existing document for editing"));
a->setWhatsThis(i18n("Save all open, modified documents to disk."));
KStdAction::close( m_viewManager,TQT_SLOT(slotDocumentClose()),actionCollection(),"file_close")->setWhatsThis(i18n("Close the current document."));
KStdAction::close(TQT_TQOBJECT(m_viewManager),TQT_SLOT(slotDocumentClose()),actionCollection(),"file_close")->setWhatsThis(i18n("Close the current document."));
a->setWhatsThis(i18n("Close all open documents."));
KStdAction::mail(this,TQT_SLOT(slotMail()),actionCollection())->setWhatsThis(i18n("Send one or more of the open documents as email attachments."));
KStdAction::mail(TQT_TQOBJECT(this),TQT_SLOT(slotMail()),actionCollection())->setWhatsThis(i18n("Send one or more of the open documents as email attachments."));
KStdAction::quit(this,TQT_SLOT(slotFileQuit()),actionCollection(),"file_quit")->setWhatsThis(i18n("Close this window"));
KStdAction::quit(TQT_TQOBJECT(this),TQT_SLOT(slotFileQuit()),actionCollection(),"file_quit")->setWhatsThis(i18n("Close this window"));
settingsConfigure->setWhatsThis(i18n("Configure various aspects of this application and the editing component."));
// pipe to terminal action
if(KateApp::self()->authorize("shell_access"))
newKAction(i18n("&Pipe to Console"),"pipe",0, console,TQT_SLOT(slotPipeToConsole()),actionCollection(),"tools_pipe_to_terminal");
newKAction(i18n("&Pipe to Console"),"pipe",0,TQT_TQOBJECT(console),TQT_SLOT(slotPipeToConsole()),actionCollection(),"tools_pipe_to_terminal");
// tip of the day :-)
KStdAction::tipOfDay(this,TQT_SLOT(tipOfTheDay()),actionCollection())->setWhatsThis(i18n("This shows useful tips on the use of this application."));
KStdAction::tipOfDay(TQT_TQOBJECT(this),TQT_SLOT(tipOfTheDay()),actionCollection())->setWhatsThis(i18n("This shows useful tips on the use of this application."));
// call it as last thing, must be sure everything is already set up ;)
setAutoSaveSettings();
@ -139,41 +139,41 @@ KWrite::~KWrite()
voidKWrite::setupActions()
{
KStdAction::close(this,TQT_SLOT(slotFlush()),actionCollection(),"file_close")->setWhatsThis(i18n("Use this to close the current document"));
KStdAction::close(TQT_TQOBJECT(this),TQT_SLOT(slotFlush()),actionCollection(),"file_close")->setWhatsThis(i18n("Use this to close the current document"));
// setup File menu
KStdAction::print(this,TQT_SLOT(printDlg()),actionCollection())->setWhatsThis(i18n("Use this command to print the current document"));
KStdAction::openNew(this,TQT_SLOT(slotNew()),actionCollection(),"file_new")->setWhatsThis(i18n("Use this command to create a new document"));
KStdAction::open(this,TQT_SLOT(slotOpen()),actionCollection(),"file_open")->setWhatsThis(i18n("Use this command to open an existing document for editing"));
KStdAction::print(TQT_TQOBJECT(this),TQT_SLOT(printDlg()),actionCollection())->setWhatsThis(i18n("Use this command to print the current document"));
KStdAction::openNew(TQT_TQOBJECT(this),TQT_SLOT(slotNew()),actionCollection(),"file_new")->setWhatsThis(i18n("Use this command to create a new document"));
KStdAction::open(TQT_TQOBJECT(this),TQT_SLOT(slotOpen()),actionCollection(),"file_open")->setWhatsThis(i18n("Use this command to open an existing document for editing"));
@ -53,7 +53,7 @@ Recommended if you want sound.</string>
<enum>Sunken</enum>
</property>
</widget>
<widget class="QGroupBox">
<widget class="TQGroupBox">
<property name="name">
<cstring>networkedSoundGroupBox</cstring>
</property>
@ -75,7 +75,7 @@ Recommended if you want sound.</string>
<string><i>Enable this option if you want to play sound on a remote computer or you want to be able to control sound on this system from another computer.</i></string>
</property>
</widget>
<widget class="QCheckBox">
<widget class="TQCheckBox">
<property name="name">
<cstring>networkTransparent</cstring>
</property>
@ -88,7 +88,7 @@ Recommended if you want sound.</string>
</widget>
</vbox>
</widget>
<widget class="QGroupBox">
<widget class="TQGroupBox">
<property name="name">
<cstring>realtimeGroupBox</cstring>
</property>
@ -107,7 +107,7 @@ Recommended if you want sound.</string>
<string><i>If your sound is skipping during playback, enable running with highest possible priority. Increasing your sound buffer might also help.</i></string>
@ -121,7 +121,7 @@ Recommended if you want sound.</string>
<string>On systems which support realtime scheduling, if you have sufficient permissions, this option will enable a very high priority for processing sound requests.</string>
</property>
</widget>
<widget class="QSlider" row="2" column="1">
<widget class="TQSlider" row="2" column="1">
<property name="name">
<cstring>latencySlider</cstring>
</property>
@ -144,7 +144,7 @@ Recommended if you want sound.</string>
<number>50</number>
</property>
</widget>
<widget class="QLabel" row="2" column="0">
<widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel5</cstring>
</property>
@ -155,7 +155,7 @@ Recommended if you want sound.</string>
<cstring>latencySlider</cstring>
</property>
</widget>
<widget class="QLabel" row="3" column="1">
<widget class="TQLabel" row="3" column="1">
<property name="name">
<cstring>latencyLabel</cstring>
</property>
@ -165,7 +165,7 @@ Recommended if you want sound.</string>
</widget>
</grid>
</widget>
<widget class="QGroupBox">
<widget class="TQGroupBox">
<property name="name">
<cstring>autoSuspendGroupBox</cstring>
</property>
@ -184,7 +184,7 @@ Recommended if you want sound.</string>
<string><i>The KDE sound system takes exclusive control over your audio hardware, blocking programs that may wish to use it directly. If the KDE sound system sits idle it can give up this exclusive control.</i></string>
</property>
</widget>
<widget class="QLayoutWidget">
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout7</cstring>
</property>
@ -192,7 +192,7 @@ Recommended if you want sound.</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QCheckBox">
<widget class="TQCheckBox">
<property name="name">
<cstring>autoSuspend</cstring>
</property>
@ -227,7 +227,7 @@ Recommended if you want sound.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>173</width>
<height>20</height>
@ -238,7 +238,7 @@ Recommended if you want sound.</string>
</widget>
</vbox>
</widget>
<widget class="QLayoutWidget">
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout3</cstring>
</property>
@ -256,14 +256,14 @@ Recommended if you want sound.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<widget class="TQPushButton">
<property name="name">
<cstring>testSound</cstring>
</property>
@ -289,7 +289,7 @@ Recommended if you want sound.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>40</width>
<height>20</height>
@ -308,7 +308,7 @@ Recommended if you want sound.</string>
<string>Click here to remove programs from this list. Please note that it does not remove the program from your system, it only removes it from the available options in the background drawing programs list.</string>
@ -169,7 +169,7 @@ You can also remove programs from this list clicking on the <b>Remove</
</widget>
</grid>
</widget>
<widget class="QGroupBox">
<widget class="TQGroupBox">
<property name="name">
<cstring>m_groupIconText</cstring>
</property>
@ -199,7 +199,7 @@ You can also remove programs from this list clicking on the <b>Remove</
<string>Click here to change the color of the desktop font.</string>
</property>
</widget>
<widget class="QLabel" row="0" column="0">
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel6</cstring>
</property>
@ -223,7 +223,7 @@ You can also remove programs from this list clicking on the <b>Remove</
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>220</width>
<height>20</height>
@ -244,7 +244,7 @@ You can also remove programs from this list clicking on the <b>Remove</
<string>Click here to select the solid background color. Choose a different color from the background text color to assure readability.</string>
</property>
</widget>
<widget class="QCheckBox" row="1" column="0">
<widget class="TQCheckBox" row="1" column="0">
<property name="name">
<cstring>m_cbSolidTextBackground</cstring>
</property>
@ -255,7 +255,7 @@ You can also remove programs from this list clicking on the <b>Remove</
<string>Check here if you want to use a solid background color. This is useful to ensure that the desktop text will be identifiable against all background colors and wallpapers, or in other words, that a background or wallpaper will not make a desktop text of a similar color difficult to read.</string>
</property>
</widget>
<widget class="QCheckBox" row="2" column="0">
<widget class="TQCheckBox" row="2" column="0">
<property name="name">
<cstring>m_cbShadow</cstring>
</property>
@ -266,7 +266,7 @@ You can also remove programs from this list clicking on the <b>Remove</
<string>Check here to enable a shadow outline around the desktop font. This also improves the readability of the desktop text against backgrounds of a similar color.</string>
</property>
</widget>
<widget class="QLabel" row="3" column="0">
<widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>textLabel6_2</cstring>
</property>
@ -280,7 +280,7 @@ You can also remove programs from this list clicking on the <b>Remove</
<string>Choose here the maximum number of text lines below an icon on the desktop. Longer text will be truncated at the end of the last line.</string>
</property>
</widget>
<widget class="QSpinBox" row="3" column="1">
<widget class="TQSpinBox" row="3" column="1">
<property name="name">
<cstring>m_spinTextLines</cstring>
</property>
@ -294,7 +294,7 @@ You can also remove programs from this list clicking on the <b>Remove</
<string>Choose here the maximum number of text lines below an icon on the desktop. Longer text will be truncated at the end of the last line.</string>
</property>
</widget>
<widget class="QSpinBox" row="4" column="1">
<widget class="TQSpinBox" row="4" column="1">
<property name="name">
<cstring>m_spinTextWidth</cstring>
</property>
@ -314,7 +314,7 @@ You can also remove programs from this list clicking on the <b>Remove</
<string>Choose here the maximum width of text lines (in pixel) below an icon on the desktop. If set to 'Auto' a default width based on the current font is used.</string>
</property>
</widget>
<widget class="QLabel" row="4" column="0">
<widget class="TQLabel" row="4" column="0">
<property name="name">
<cstring>textLabel6_2_2</cstring>
</property>
@ -330,7 +330,7 @@ You can also remove programs from this list clicking on the <b>Remove</
</widget>
</grid>
</widget>
<widget class="QButtonGroup">
<widget class="TQButtonGroup">
<property name="name">
<cstring>m_groupCache</cstring>
</property>
@ -344,7 +344,7 @@ You can also remove programs from this list clicking on the <b>Remove</
<property name="margin">
<number>11</number>
</property>
<widget class="QLabel">
<widget class="TQLabel">
<property name="name">
<cstring>m_lblCache</cstring>
</property>
@ -355,7 +355,7 @@ You can also remove programs from this list clicking on the <b>Remove</
<string>In this box you can enter how much memory KDE should use for caching the background(s). If you have different backgrounds for the different desktops caching can make switching desktops smoother at the expense of higher memory use.</string>
</property>
</widget>
<widget class="QSpinBox">
<widget class="TQSpinBox">
<property name="name">
<cstring>m_spinCache</cstring>
</property>
@ -376,7 +376,7 @@ You can also remove programs from this list clicking on the <b>Remove</
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@ -395,7 +395,7 @@ You can also remove programs from this list clicking on the <b>Remove</
<string>If you have selected to use a background picture you can choose various methods of blending the background colors with the picture. The default option of "No Blending" means that the picture simply obscures the background colors below.</string>
<string>You can use this slider to control the degree of blending. You can experiment by moving the slider and looking at the effects in the preview image.</string>
</property>
</widget>
<widget class="QSlider">
<widget class="TQSlider">
<property name="name">
<cstring>m_sliderBlend</cstring>
</property>
@ -488,7 +488,7 @@
</widget>
</hbox>
</widget>
<widget class="QCheckBox" row="7" column="1">
<widget class="TQCheckBox" row="7" column="1">
<property name="name">
<cstring>m_cbBlendReverse</cstring>
</property>
@ -499,7 +499,7 @@
<string>For some types of blending, you can reverse the role of the background and the picture by checking this option.</string>
<string>Press this button to select your favorite email client. Please note that the file you select has to have the executable attribute set in order to be accepted.<br> You can also use several placeholders which will be replaced with the actual values when the email client is called:<ul> <li>%t: Recipient's address</li> <li>%s: Subject</li> <li>%c: Carbon Copy (CC)</li> <li>%b: Blind Carbon Copy (BCC)</li> <li>%B: Template body text</li> <li>%A: Attachment </li> </ul></string>
<string>Press this button to select your favorite terminal client. Please note that the file you select has to have the executable attribute set in order to be accepted.<br> Also note that some programs that utilize Terminal Emulator will not work if you add command line arguments (Example: konsole -ls).</string>
TQStringwhatStr=i18n("<qt>Use these preconfigurations to more easily configure the SSL encryption settings. You can choose among the following modes: <ul>");
cwcb->insertItem(TQString::null);
cwcb->insertItem(TQString());
cwcb->insertItem(i18n("Most Compatible"));
whatStr+=i18n("<li><b>Most Compatible:</b> Select the settings found to be most compatible.</li>");
if(KMessageBox::questionYesNo(this,i18n("Do you want to make this certificate available to KMail as well?"),TQString::null,i18n("Make Available"),i18n("Do Not Make Available"))==KMessageBox::Yes){
if(KMessageBox::questionYesNo(this,i18n("Do you want to make this certificate available to KMail as well?"),TQString(),i18n("Make Available"),i18n("Do Not Make Available"))==KMessageBox::Yes){
<string><b>Use default stylesheet</b><p>Select this option to use the default stylesheet.</p></string>
</property>
</widget>
<widget class="QRadioButton">
<widget class="TQRadioButton">
<property name="name">
<cstring>useUser</cstring>
</property>
@ -85,7 +85,7 @@
<string><b>Use user-defined stylesheet</b><p>If this box is checked, Konqueror will try to load a user-defined style sheet as specified in the location below. The style sheet allows you to completely override the way web pages are rendered in your browser. The file specified should contain a valid style sheet (see http://www.w3.org/Style/CSS for further information on cascading style sheets).</p></string>
</property>
</widget>
<widget class="QLayoutWidget">
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout3</cstring>
</property>
@ -103,7 +103,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>20</height>
@ -120,7 +120,7 @@
</widget>
</hbox>
</widget>
<widget class="QRadioButton">
<widget class="TQRadioButton">
<property name="name">
<cstring>useAccess</cstring>
</property>
@ -139,7 +139,7 @@
<string><b>Use accessibility stylesheet</b><p>Selecting this option will allow you to define a default font, font size, and font color with a few simple clicks of the mouse. Simply wander over to the Customize... dialog and pick out your desired options.</p></string>