Browse Source

Rename old tq methods that no longer need a unique name

pull/1/head
Timothy Pearson 11 years ago
parent
commit
d4e451a047
  1. 22
      keep/app/actionview.ui
  2. 4
      keep/app/addbackupwizard.cpp
  3. 4
      keep/app/addbackupwizard1view.ui
  4. 4
      keep/app/addbackupwizard2view.ui
  5. 4
      keep/app/addbackupwizard3view.ui
  6. 2
      keep/app/advancedbackupconfigdialog.cpp
  7. 2
      keep/app/backuplistview.ui
  8. 2
      keep/app/generalconfigview.ui
  9. 2
      keep/app/includeexcludedialog.cpp
  10. 4
      keep/app/includeexcludeview.ui
  11. 2
      keep/app/keepmainwindow.cpp
  12. 4
      keep/app/restorebackupwizard.cpp
  13. 2
      keep/app/restorebackupwizard1view.ui
  14. 4
      keep/app/restorebackupwizard2view.ui
  15. 2
      keep/app/restorebackupwizard3view.ui
  16. 6
      keep/common/listviewtooltip.h
  17. 2
      keep/common/rdbmanager.cpp
  18. 2
      keep/kded/keepkded.cpp

22
keep/app/actionview.ui

@ -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>
@ -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>
@ -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>
@ -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>
@ -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>
@ -493,7 +493,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>85</height>

4
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);

4
keep/app/addbackupwizard1view.ui

@ -67,7 +67,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>130</height>
@ -163,7 +163,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>260</height>

4
keep/app/addbackupwizard2view.ui

@ -70,7 +70,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>130</height>
@ -140,7 +140,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>381</height>

4
keep/app/addbackupwizard3view.ui

@ -75,7 +75,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>130</height>
@ -388,7 +388,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>46</height>

2
keep/app/advancedbackupconfigdialog.cpp

@ -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()

2
keep/app/backuplistview.ui

@ -132,7 +132,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>480</height>

2
keep/app/generalconfigview.ui

@ -147,7 +147,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>120</height>

2
keep/app/includeexcludedialog.cpp

@ -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()

4
keep/app/includeexcludeview.ui

@ -77,7 +77,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>61</width>
<height>20</height>
@ -183,7 +183,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>121</height>

2
keep/app/keepmainwindow.cpp

@ -63,7 +63,7 @@ KeepMainWindow::KeepMainWindow(TQWidget *parent, const char *name): KMainWindow(
initActions();
initConnections();
resize( tqminimumSizeHint() );
resize( minimumSizeHint() );
createGUI(0L);

4
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" );
}

2
keep/app/restorebackupwizard1view.ui

@ -67,7 +67,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>130</height>

4
keep/app/restorebackupwizard2view.ui

@ -59,7 +59,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>130</height>
@ -200,7 +200,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>160</height>

2
keep/app/restorebackupwizard3view.ui

@ -62,7 +62,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>130</height>

6
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,7 +61,7 @@ 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);

2
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;

2
keep/kded/keepkded.cpp

@ -72,7 +72,7 @@ void KeepKded::slotBackupSuccess(Backup backup)
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) )
{

Loading…
Cancel
Save