diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:30:25 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:30:25 -0600 |
commit | 73c1bab601492494d8e3b503f83cdcfc4914bb51 (patch) | |
tree | 55399c7b3efc3a644ba06c857b6f2941f58ae757 | |
parent | 6e90ef8c4a95fff9a21528a6dbd556f839c6a13c (diff) | |
download | keep-73c1bab601492494d8e3b503f83cdcfc4914bb51.tar.gz keep-73c1bab601492494d8e3b503f83cdcfc4914bb51.zip |
Rename a number of old tq methods that are no longer tq specific
26 files changed, 115 insertions, 115 deletions
diff --git a/keep/app/actionview.ui b/keep/app/actionview.ui index 59dc3fd..0e02ffd 100644 --- a/keep/app/actionview.ui +++ b/keep/app/actionview.ui @@ -29,7 +29,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout22</cstring> + <cstring>layout22</cstring> </property> <vbox> <property name="name"> @@ -56,7 +56,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout21</cstring> + <cstring>layout21</cstring> </property> <vbox> <property name="name"> @@ -64,7 +64,7 @@ </property> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout15</cstring> + <cstring>layout15</cstring> </property> <hbox> <property name="name"> @@ -82,13 +82,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="tqminimumSize"> + <property name="minimumSize"> <size> <width>35</width> <height>35</height> </size> </property> - <property name="tqmaximumSize"> + <property name="maximumSize"> <size> <width>35</width> <height>32767</height> @@ -118,7 +118,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout16</cstring> + <cstring>layout16</cstring> </property> <hbox> <property name="name"> @@ -136,13 +136,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="tqminimumSize"> + <property name="minimumSize"> <size> <width>35</width> <height>35</height> </size> </property> - <property name="tqmaximumSize"> + <property name="maximumSize"> <size> <width>35</width> <height>35</height> @@ -172,7 +172,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout17</cstring> + <cstring>layout17</cstring> </property> <hbox> <property name="name"> @@ -190,13 +190,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="tqminimumSize"> + <property name="minimumSize"> <size> <width>35</width> <height>35</height> </size> </property> - <property name="tqmaximumSize"> + <property name="maximumSize"> <size> <width>35</width> <height>32767</height> @@ -226,7 +226,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout15</cstring> + <cstring>layout15</cstring> </property> <hbox> <property name="name"> @@ -244,13 +244,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="tqminimumSize"> + <property name="minimumSize"> <size> <width>35</width> <height>35</height> </size> </property> - <property name="tqmaximumSize"> + <property name="maximumSize"> <size> <width>35</width> <height>32767</height> @@ -280,7 +280,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout15_4</cstring> + <cstring>layout15_4</cstring> </property> <hbox> <property name="name"> @@ -298,13 +298,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="tqminimumSize"> + <property name="minimumSize"> <size> <width>35</width> <height>35</height> </size> </property> - <property name="tqmaximumSize"> + <property name="maximumSize"> <size> <width>35</width> <height>32767</height> @@ -357,7 +357,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout13</cstring> + <cstring>layout13</cstring> </property> <vbox> <property name="name"> @@ -365,7 +365,7 @@ </property> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout5</cstring> + <cstring>layout5</cstring> </property> <hbox> <property name="name"> @@ -447,7 +447,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout4</cstring> + <cstring>layout4</cstring> </property> <hbox> <property name="name"> @@ -493,7 +493,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>85</height> diff --git a/keep/app/addbackupwizard.cpp b/keep/app/addbackupwizard.cpp index 1d0723a..50522b4 100644 --- a/keep/app/addbackupwizard.cpp +++ b/keep/app/addbackupwizard.cpp @@ -28,7 +28,7 @@ AddBackupWizard::AddBackupWizard(TQWidget *parent,const char* name): KWizard( parent, name, true) { initView(); - resize( tqminimumSizeHint() ); + resize( minimumSizeHint() ); setNextEnabled(page1,false); setNextEnabled(page2,false); @@ -58,7 +58,7 @@ AddBackupWizard::AddBackupWizard(Backup backup,TQWidget *parent,const char* name includeExcludeDialog->setIncludeExcludeList(backup.includeExcludeList()); advancedBackupConfigDialog->setOptionList(backup.optionList()); - resize( tqminimumSizeHint() ); + resize( minimumSizeHint() ); setNextEnabled(page1,true); setNextEnabled(page2,true); diff --git a/keep/app/addbackupwizard1view.ui b/keep/app/addbackupwizard1view.ui index 8c510cc..24ddd94 100644 --- a/keep/app/addbackupwizard1view.ui +++ b/keep/app/addbackupwizard1view.ui @@ -32,7 +32,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout17</cstring> + <cstring>layout17</cstring> </property> <hbox> <property name="name"> @@ -40,7 +40,7 @@ </property> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout6</cstring> + <cstring>layout6</cstring> </property> <vbox> <property name="name"> @@ -67,7 +67,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>130</height> @@ -78,7 +78,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout16</cstring> + <cstring>layout16</cstring> </property> <vbox> <property name="name"> @@ -115,7 +115,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout11</cstring> + <cstring>layout11</cstring> </property> <hbox> <property name="name"> @@ -163,7 +163,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>260</height> diff --git a/keep/app/addbackupwizard2view.ui b/keep/app/addbackupwizard2view.ui index 9a21357..f652951 100644 --- a/keep/app/addbackupwizard2view.ui +++ b/keep/app/addbackupwizard2view.ui @@ -32,7 +32,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout10</cstring> + <cstring>layout10</cstring> </property> <hbox> <property name="name"> @@ -43,7 +43,7 @@ </property> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout6</cstring> + <cstring>layout6</cstring> </property> <vbox> <property name="name"> @@ -70,7 +70,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>130</height> @@ -81,7 +81,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout9</cstring> + <cstring>layout9</cstring> </property> <vbox> <property name="name"> @@ -92,7 +92,7 @@ </property> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout8</cstring> + <cstring>layout8</cstring> </property> <vbox> <property name="name"> @@ -140,7 +140,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>381</height> diff --git a/keep/app/addbackupwizard3view.ui b/keep/app/addbackupwizard3view.ui index c3d4fbe..36feac2 100644 --- a/keep/app/addbackupwizard3view.ui +++ b/keep/app/addbackupwizard3view.ui @@ -32,7 +32,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout16</cstring> + <cstring>layout16</cstring> </property> <hbox> <property name="name"> @@ -40,7 +40,7 @@ </property> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout6</cstring> + <cstring>layout6</cstring> </property> <vbox> <property name="name"> @@ -75,7 +75,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>130</height> @@ -86,7 +86,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout15</cstring> + <cstring>layout15</cstring> </property> <vbox> <property name="name"> @@ -129,7 +129,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout8</cstring> + <cstring>layout8</cstring> </property> <vbox> <property name="name"> @@ -137,7 +137,7 @@ </property> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout6_2</cstring> + <cstring>layout6_2</cstring> </property> <hbox> <property name="name"> @@ -145,7 +145,7 @@ </property> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout5</cstring> + <cstring>layout5</cstring> </property> <vbox> <property name="name"> @@ -187,7 +187,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout4</cstring> + <cstring>layout4</cstring> </property> <vbox> <property name="name"> @@ -249,7 +249,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout7</cstring> + <cstring>layout7</cstring> </property> <hbox> <property name="name"> @@ -298,7 +298,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout12</cstring> + <cstring>layout12</cstring> </property> <vbox> <property name="name"> @@ -336,7 +336,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout11</cstring> + <cstring>layout11</cstring> </property> <hbox> <property name="name"> @@ -388,7 +388,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>46</height> diff --git a/keep/app/advancedbackupconfigdialog.cpp b/keep/app/advancedbackupconfigdialog.cpp index 32782be..0139391 100644 --- a/keep/app/advancedbackupconfigdialog.cpp +++ b/keep/app/advancedbackupconfigdialog.cpp @@ -19,7 +19,7 @@ #include "advancedbackupconfigdialog.h" #include <klocale.h> -#include <tqlayout.h> +#include <layout.h> #include <kurl.h> #include <dcopref.h> #include <kdebug.h> @@ -39,7 +39,7 @@ AdvancedBackupConfigDialog::AdvancedBackupConfigDialog(TQWidget *parent):KDialog topLayout->addWidget( m_advancedBackupConfigView,0,0 ); m_advancedBackupConfigView->optionList->availableListBox()->insertStringList(allOptionList()); - resize( TQSize(350,450).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(350,450).expandedTo(minimumSizeHint()) ); } TQStringList AdvancedBackupConfigDialog::optionList() diff --git a/keep/app/advancedbackupconfigview.ui b/keep/app/advancedbackupconfigview.ui index 3a84450..7e2452f 100644 --- a/keep/app/advancedbackupconfigview.ui +++ b/keep/app/advancedbackupconfigview.ui @@ -24,7 +24,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout3</cstring> + <cstring>layout3</cstring> </property> <vbox> <property name="name"> diff --git a/keep/app/backupconfigdialog.cpp b/keep/app/backupconfigdialog.cpp index cd7b5da..da305d5 100644 --- a/keep/app/backupconfigdialog.cpp +++ b/keep/app/backupconfigdialog.cpp @@ -19,7 +19,7 @@ #include "backupconfigdialog.h" #include <klocale.h> -#include <tqlayout.h> +#include <layout.h> #include <kurl.h> #include <dcopref.h> #include <kdebug.h> diff --git a/keep/app/backuplistview.ui b/keep/app/backuplistview.ui index 3dfadce..2e02aa3 100644 --- a/keep/app/backuplistview.ui +++ b/keep/app/backuplistview.ui @@ -32,7 +32,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout4</cstring> + <cstring>layout4</cstring> </property> <hbox> <property name="name"> @@ -92,7 +92,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout3</cstring> + <cstring>layout3</cstring> </property> <vbox> <property name="name"> @@ -132,7 +132,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>480</height> diff --git a/keep/app/forcebackupdialog.cpp b/keep/app/forcebackupdialog.cpp index a272be5..01f1df0 100644 --- a/keep/app/forcebackupdialog.cpp +++ b/keep/app/forcebackupdialog.cpp @@ -19,7 +19,7 @@ #include "forcebackupdialog.h" #include <klocale.h> -#include <tqlayout.h> +#include <layout.h> #include <kurl.h> #include <dcopref.h> #include <kdebug.h> @@ -45,9 +45,9 @@ ForceBackupDialog::ForceBackupDialog(TQWidget *parent):KDialogBase(Plain, i18n("Backup now"), Help|Cancel|Ok, Cancel, parent, "forceBackupDialog", true, false) { - TQGridLayout* toptqlayout = new TQGridLayout(plainPage()); + TQGridLayout* toplayout = new TQGridLayout(plainPage()); m_view = new ForceBackupDialogView(plainPage()); - toptqlayout->addWidget(m_view,0,0); + toplayout->addWidget(m_view,0,0); loadBackupList(); @@ -93,7 +93,7 @@ void ForceBackupDialog::slotForceBackup() void ForceBackupDialog::slotBackupError(Backup backup,TQString errorMessage) { - KMessageBox::error(this,i18n("<p><b>An error occured making %1 backup:</b></p><p>%2</p>").tqarg(backup.source()).tqarg(errorMessage)); + KMessageBox::error(this,i18n("<p><b>An error occured making %1 backup:</b></p><p>%2</p>").arg(backup.source()).arg(errorMessage)); } #include "forcebackupdialog.moc" diff --git a/keep/app/forcebackupdialogview.ui b/keep/app/forcebackupdialogview.ui index 4089138..ad54911 100644 --- a/keep/app/forcebackupdialogview.ui +++ b/keep/app/forcebackupdialogview.ui @@ -24,7 +24,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout21</cstring> + <cstring>layout21</cstring> </property> <vbox> <property name="name"> diff --git a/keep/app/generalconfigview.ui b/keep/app/generalconfigview.ui index e9ae822..16b5612 100644 --- a/keep/app/generalconfigview.ui +++ b/keep/app/generalconfigview.ui @@ -21,7 +21,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout6</cstring> + <cstring>layout6</cstring> </property> <vbox> <property name="name"> @@ -40,7 +40,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout7</cstring> + <cstring>layout7</cstring> </property> <vbox> <property name="name"> @@ -79,7 +79,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout5</cstring> + <cstring>layout5</cstring> </property> <vbox> <property name="name"> @@ -95,7 +95,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout4</cstring> + <cstring>layout4</cstring> </property> <hbox> <property name="name"> @@ -147,7 +147,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>120</height> diff --git a/keep/app/includeexcludedialog.cpp b/keep/app/includeexcludedialog.cpp index f8e9326..118a8a0 100644 --- a/keep/app/includeexcludedialog.cpp +++ b/keep/app/includeexcludedialog.cpp @@ -19,7 +19,7 @@ #include "includeexcludedialog.h" #include <klocale.h> -#include <tqlayout.h> +#include <layout.h> #include <kurl.h> #include <dcopref.h> #include <kdebug.h> @@ -53,7 +53,7 @@ IncludeExcludeDialog::IncludeExcludeDialog(TQWidget *parent):KDialogBase(Plain, connect(m_view->exclude,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotExclude())); connect(m_view->remove,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotRemove())); - resize( TQSize(450,450).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(450,450).expandedTo(minimumSizeHint()) ); } TQStringList IncludeExcludeDialog::includeExcludeList() diff --git a/keep/app/includeexcludeview.ui b/keep/app/includeexcludeview.ui index 9aa4e6a..fe9bcd3 100644 --- a/keep/app/includeexcludeview.ui +++ b/keep/app/includeexcludeview.ui @@ -24,7 +24,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout6</cstring> + <cstring>layout6</cstring> </property> <vbox> <property name="name"> @@ -61,7 +61,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout18</cstring> + <cstring>layout18</cstring> </property> <hbox> <property name="name"> @@ -77,7 +77,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>61</width> <height>20</height> @@ -115,7 +115,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout7</cstring> + <cstring>layout7</cstring> </property> <hbox> <property name="name"> @@ -159,7 +159,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout3</cstring> + <cstring>layout3</cstring> </property> <vbox> <property name="name"> @@ -183,7 +183,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>121</height> diff --git a/keep/app/keepmainwindow.cpp b/keep/app/keepmainwindow.cpp index 24d5e7e..efcabd2 100644 --- a/keep/app/keepmainwindow.cpp +++ b/keep/app/keepmainwindow.cpp @@ -19,7 +19,7 @@ #include "keepmainwindow.h" #include <tqcolor.h> -#include <tqlayout.h> +#include <layout.h> #include <tqvariant.h> #include <dcopclient.h> #include <kactioncollection.h> @@ -63,7 +63,7 @@ KeepMainWindow::KeepMainWindow(TQWidget *parent, const char *name): KMainWindow( initActions(); initConnections(); - resize( tqminimumSizeHint() ); + resize( minimumSizeHint() ); createGUI(0L); @@ -125,7 +125,7 @@ void KeepMainWindow::slotCheckRDB() { RDBManager manager; if ( manager.isRDB() ) - KMessageBox::information(this, i18n("<b>The application rdiff-backup has been detected on your system.</b><br><br> You're running version %1 of rdiff-backup.").tqarg(manager.RDBVersion())); + KMessageBox::information(this, i18n("<b>The application rdiff-backup has been detected on your system.</b><br><br> You're running version %1 of rdiff-backup.").arg(manager.RDBVersion())); else KMessageBox::error(this,i18n("<b>The application rdiff-backup has not been detected on your system.</b><br><br>If rdiff-backup is not installed, Keep will not be able to make backups. To fix this problem, install rdiff-backup on your system.")); diff --git a/keep/app/logdialog.cpp b/keep/app/logdialog.cpp index 57edc25..b9b6240 100644 --- a/keep/app/logdialog.cpp +++ b/keep/app/logdialog.cpp @@ -19,7 +19,7 @@ #include "logdialog.h" #include <klocale.h> -#include <tqlayout.h> +#include <layout.h> #include <kstandarddirs.h> #include <dcopref.h> #include <kdebug.h> diff --git a/keep/app/logview.ui b/keep/app/logview.ui index 0850e27..61548b7 100644 --- a/keep/app/logview.ui +++ b/keep/app/logview.ui @@ -26,7 +26,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout2</cstring> + <cstring>layout2</cstring> </property> <vbox> <property name="name"> diff --git a/keep/app/restorebackupwizard.cpp b/keep/app/restorebackupwizard.cpp index 8baad04..579e255 100644 --- a/keep/app/restorebackupwizard.cpp +++ b/keep/app/restorebackupwizard.cpp @@ -62,7 +62,7 @@ RestoreBackupWizard::RestoreBackupWizard(TQWidget *parent,const char* name): KWi setNextEnabled(page2,true); setFinishEnabled(page3, false); - resize( tqminimumSizeHint() ); + resize( minimumSizeHint() ); } RestoreBackupWizard::~RestoreBackupWizard() @@ -222,7 +222,7 @@ void RestoreBackupWizard::setupPage3() restoreBackupWizard3View = new RestoreBackupWizard3View(page3,"restoreBackupWizard3View"); restoreBackupWizard3View->incrementList->setSorting(0,false); - restoreBackupWizard3View->lblDate->setText(TQDateTime::tqcurrentDateTime().toString(Qt::LocalDate)); + restoreBackupWizard3View->lblDate->setText(TQDateTime::currentDateTime().toString(Qt::LocalDate)); addPage( page3, "Date to restore" ); } @@ -287,7 +287,7 @@ void RestoreBackupWizard::slotRestoreBackup() void RestoreBackupWizard::slotRestoreError(Backup backup,TQString errorMessage) { - KMessageBox::error(this,i18n("<p><b>An error occured restoring %1 backup:</b></p><p>%2</p>").tqarg(backup.dest()).tqarg(errorMessage)); + KMessageBox::error(this,i18n("<p><b>An error occured restoring %1 backup:</b></p><p>%2</p>").arg(backup.dest()).arg(errorMessage)); } #include "restorebackupwizard.moc" diff --git a/keep/app/restorebackupwizard1view.ui b/keep/app/restorebackupwizard1view.ui index 4f080b8..508aade 100644 --- a/keep/app/restorebackupwizard1view.ui +++ b/keep/app/restorebackupwizard1view.ui @@ -32,7 +32,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout7</cstring> + <cstring>layout7</cstring> </property> <hbox> <property name="name"> @@ -40,7 +40,7 @@ </property> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout6</cstring> + <cstring>layout6</cstring> </property> <vbox> <property name="name"> @@ -67,7 +67,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>130</height> @@ -78,7 +78,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout6</cstring> + <cstring>layout6</cstring> </property> <vbox> <property name="name"> @@ -173,7 +173,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout9</cstring> + <cstring>layout9</cstring> </property> <vbox> <property name="name"> @@ -189,7 +189,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout8</cstring> + <cstring>layout8</cstring> </property> <hbox> <property name="name"> diff --git a/keep/app/restorebackupwizard2view.ui b/keep/app/restorebackupwizard2view.ui index 09df6e4..89cbf45 100644 --- a/keep/app/restorebackupwizard2view.ui +++ b/keep/app/restorebackupwizard2view.ui @@ -24,7 +24,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout50</cstring> + <cstring>layout50</cstring> </property> <hbox> <property name="name"> @@ -32,7 +32,7 @@ </property> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout6</cstring> + <cstring>layout6</cstring> </property> <vbox> <property name="name"> @@ -59,7 +59,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>130</height> @@ -70,7 +70,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout49</cstring> + <cstring>layout49</cstring> </property> <vbox> <property name="name"> @@ -105,7 +105,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout48</cstring> + <cstring>layout48</cstring> </property> <vbox> <property name="name"> @@ -146,7 +146,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout8</cstring> + <cstring>layout8</cstring> </property> <hbox> <property name="name"> @@ -200,7 +200,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>160</height> diff --git a/keep/app/restorebackupwizard3view.ui b/keep/app/restorebackupwizard3view.ui index 8a60760..4b3e012 100644 --- a/keep/app/restorebackupwizard3view.ui +++ b/keep/app/restorebackupwizard3view.ui @@ -27,7 +27,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>tqlayout11</cstring> + <cstring>layout11</cstring> </property> <hbox> <property name="name"> @@ -35,7 +35,7 @@ </property> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout6</cstring> + <cstring>layout6</cstring> </property> <vbox> <property name="name"> @@ -62,7 +62,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>130</height> @@ -73,7 +73,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout10</cstring> + <cstring>layout10</cstring> </property> <vbox> <property name="name"> @@ -97,7 +97,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout9</cstring> + <cstring>layout9</cstring> </property> <hbox> <property name="name"> @@ -105,7 +105,7 @@ </property> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout7</cstring> + <cstring>layout7</cstring> </property> <vbox> <property name="name"> @@ -147,7 +147,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout8</cstring> + <cstring>layout8</cstring> </property> <vbox> <property name="name"> diff --git a/keep/common/backup.cpp b/keep/common/backup.cpp index 5e05a48..98bb4a6 100644 --- a/keep/common/backup.cpp +++ b/keep/common/backup.cpp @@ -160,14 +160,14 @@ TQString Backup::htmlDesc() if ( m_neverDelete ) del = i18n("Never delete"); else - del = i18n("%1 days").tqarg(m_deleteAfter); + del = i18n("%1 days").arg(m_deleteAfter); if ( m_useCompression ) compression = i18n("Yes"); else compression = i18n("No"); TQString html = "<p><b>" + i18n("Source directory:") + "</b><br>" + m_source + "<br><b>" + i18n("Destination directory:") + "</b><br>" - + m_dest + "</p><p><b>" + i18n("Interval:") + "</b> " + i18n("%1 days").tqarg(m_interval) + + m_dest + "</p><p><b>" + i18n("Interval:") + "</b> " + i18n("%1 days").arg(m_interval) + "<br><b>" + i18n("Delete after:") + "</b> " + del + "<br><b>" + i18n("Use compression:") + "</b> " + compression + "</p>"; diff --git a/keep/common/backuplistviewitem.cpp b/keep/common/backuplistviewitem.cpp index 356c482..90f735d 100644 --- a/keep/common/backuplistviewitem.cpp +++ b/keep/common/backuplistviewitem.cpp @@ -46,12 +46,12 @@ void BackupListViewItem::setBackupText() { setText(0, TQDir(m_backup.source()).dirName() ); setText(1, TQDir(m_backup.dest()).dirName() ); - setText(2, i18n("%1 days").tqarg(m_backup.interval())); + setText(2, i18n("%1 days").arg(m_backup.interval())); TQString deleteAfter; if ( m_backup.neverDelete() == true ) deleteAfter = i18n("Never"); else - deleteAfter = i18n("%1 days").tqarg(m_backup.deleteAfter()); + deleteAfter = i18n("%1 days").arg(m_backup.deleteAfter()); setText(3, deleteAfter); } diff --git a/keep/common/listviewtooltip.h b/keep/common/listviewtooltip.h index 5c71200..3a47b4c 100644 --- a/keep/common/listviewtooltip.h +++ b/keep/common/listviewtooltip.h @@ -49,8 +49,8 @@ inline void ListViewToolTip::maybeTip( const TQPoint& p ) { if ( !item ) return; - const TQRect tqitemRect = listView->tqitemRect( item ); - if ( !tqitemRect.isValid() ) + const TQRect itemRect = listView->itemRect( item ); + if ( !itemRect.isValid() ) return; const int col = listView->header()->sectionAt( p.x() ); @@ -61,16 +61,16 @@ inline void ListViewToolTip::maybeTip( const TQPoint& p ) { if ( !headerRect.isValid() ) return; - const TQRect cellRect( headerRect.left(), tqitemRect.top(),headerRect.width(), tqitemRect.height()); + const TQRect cellRect( headerRect.left(), itemRect.top(),headerRect.width(), itemRect.height()); BackupListViewItem* backupItem = static_cast<BackupListViewItem*>(item); TQString tipStr = backupItem->backup().htmlDesc(); /* if( col == 0 ) - tipStr = TQString( "Contents of this cell: <b>%1</b>" ).tqarg(item->text( 0 ) ); + tipStr = TQString( "Contents of this cell: <b>%1</b>" ).arg(item->text( 0 ) ); else if( col == 1 ) - tipStr = TQString( "Contents of that cell: <em>%1</em>" ).tqarg(item->text( 1 ) ); + tipStr = TQString( "Contents of that cell: <em>%1</em>" ).arg(item->text( 1 ) ); else tipStr = TQString( "Something else" ); */ diff --git a/keep/common/rdbmanager.cpp b/keep/common/rdbmanager.cpp index 221fa3f..dcb9bf9 100644 --- a/keep/common/rdbmanager.cpp +++ b/keep/common/rdbmanager.cpp @@ -191,7 +191,7 @@ TQValueList<Backup> RDBManager::outdatedBackupList() for ( it = backups.begin(); it != backups.end(); ++it ) { TQDateTime last = lastIncrement(*it); - TQDate today = TQDate::tqcurrentDate(); + TQDate today = TQDate::currentDate(); if ( last.date().daysTo(today) >= (*it).interval() ) { kdDebug() << "Detected outdated backup: " << (*it).source() << endl; @@ -360,7 +360,7 @@ void RDBManager::removeOldIncrements(Backup backup) // Gets the rdiff-backup process KProcess *proc = RDBProcess(); // Adds the options - *proc << "--remove-older-than" << TQString("%1").tqarg(backup.deleteAfter()) + "D"; + *proc << "--remove-older-than" << TQString("%1").arg(backup.deleteAfter()) + "D"; // Adds dest *proc << backup.dest(); // Starts the process @@ -378,7 +378,7 @@ KProcess *RDBManager::RDBProcess(bool isNice,int niceLevel) proc->setUseShell(true); if ( isNice ) { - *proc << "nice" << "-n" << TQString("%1").tqarg(niceLevel); + *proc << "nice" << "-n" << TQString("%1").arg(niceLevel); } *proc << "rdiff-backup"; diff --git a/keep/kded/keepkded.cpp b/keep/kded/keepkded.cpp index add6dc9..c7e517e 100644 --- a/keep/kded/keepkded.cpp +++ b/keep/kded/keepkded.cpp @@ -56,7 +56,7 @@ void KeepKded::slotBackupError(Backup backup,TQString errorMessage) { if ( KeepSettings::notifyBackupError() ) { - KNotifyClient::userEvent(0,i18n("<p><b>An error occured making %1 backup:</b></p><p>%2</p>").tqarg(backup.source()).tqarg(errorMessage),16,4); + KNotifyClient::userEvent(0,i18n("<p><b>An error occured making %1 backup:</b></p><p>%2</p>").arg(backup.source()).arg(errorMessage),16,4); } log("Backup Error",backup.source(),errorMessage); } @@ -65,14 +65,14 @@ void KeepKded::slotBackupSuccess(Backup backup) { if ( KeepSettings::notifyBackupSuccess() ) { - KNotifyClient::userEvent(0,i18n("<p><b>Backup %1 successfully backuped to %2</b></p>").tqarg(backup.source()).tqarg(backup.dest()),16,1); + KNotifyClient::userEvent(0,i18n("<p><b>Backup %1 successfully backuped to %2</b></p>").arg(backup.source()).arg(backup.dest()),16,1); } log("Backup Success",backup.source(),"Successfully backuped to: " + backup.dest() ); } void KeepKded::log(TQString type,TQString backup,TQString message) { - TQString logMessage = TQDateTime::tqcurrentDateTime().toString(Qt::ISODate) + "\t" + type + "\t" + backup + "\t" + message; + TQString logMessage = TQDateTime::currentDateTime().toString(Qt::ISODate) + "\t" + type + "\t" + backup + "\t" + message; TQFile file( m_logFilePath ); if ( file.open(IO_WriteOnly | IO_Append) ) { |