Rename old tq methods that no longer need a unique name

pull/1/head
Timothy Pearson 12 years ago
parent 6c289b906a
commit d4e451a047

@ -82,13 +82,13 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="tqminimumSize"> <property name="minimumSize">
<size> <size>
<width>35</width> <width>35</width>
<height>35</height> <height>35</height>
</size> </size>
</property> </property>
<property name="tqmaximumSize"> <property name="maximumSize">
<size> <size>
<width>35</width> <width>35</width>
<height>32767</height> <height>32767</height>
@ -136,13 +136,13 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="tqminimumSize"> <property name="minimumSize">
<size> <size>
<width>35</width> <width>35</width>
<height>35</height> <height>35</height>
</size> </size>
</property> </property>
<property name="tqmaximumSize"> <property name="maximumSize">
<size> <size>
<width>35</width> <width>35</width>
<height>35</height> <height>35</height>
@ -190,13 +190,13 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="tqminimumSize"> <property name="minimumSize">
<size> <size>
<width>35</width> <width>35</width>
<height>35</height> <height>35</height>
</size> </size>
</property> </property>
<property name="tqmaximumSize"> <property name="maximumSize">
<size> <size>
<width>35</width> <width>35</width>
<height>32767</height> <height>32767</height>
@ -244,13 +244,13 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="tqminimumSize"> <property name="minimumSize">
<size> <size>
<width>35</width> <width>35</width>
<height>35</height> <height>35</height>
</size> </size>
</property> </property>
<property name="tqmaximumSize"> <property name="maximumSize">
<size> <size>
<width>35</width> <width>35</width>
<height>32767</height> <height>32767</height>
@ -298,13 +298,13 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="tqminimumSize"> <property name="minimumSize">
<size> <size>
<width>35</width> <width>35</width>
<height>35</height> <height>35</height>
</size> </size>
</property> </property>
<property name="tqmaximumSize"> <property name="maximumSize">
<size> <size>
<width>35</width> <width>35</width>
<height>32767</height> <height>32767</height>
@ -493,7 +493,7 @@
<property name="sizeType"> <property name="sizeType">
<enum>Expanding</enum> <enum>Expanding</enum>
</property> </property>
<property name="tqsizeHint"> <property name="sizeHint">
<size> <size>
<width>20</width> <width>20</width>
<height>85</height> <height>85</height>

@ -28,7 +28,7 @@
AddBackupWizard::AddBackupWizard(TQWidget *parent,const char* name): KWizard( parent, name, true) AddBackupWizard::AddBackupWizard(TQWidget *parent,const char* name): KWizard( parent, name, true)
{ {
initView(); initView();
resize( tqminimumSizeHint() ); resize( minimumSizeHint() );
setNextEnabled(page1,false); setNextEnabled(page1,false);
setNextEnabled(page2,false); setNextEnabled(page2,false);
@ -58,7 +58,7 @@ AddBackupWizard::AddBackupWizard(Backup backup,TQWidget *parent,const char* name
includeExcludeDialog->setIncludeExcludeList(backup.includeExcludeList()); includeExcludeDialog->setIncludeExcludeList(backup.includeExcludeList());
advancedBackupConfigDialog->setOptionList(backup.optionList()); advancedBackupConfigDialog->setOptionList(backup.optionList());
resize( tqminimumSizeHint() ); resize( minimumSizeHint() );
setNextEnabled(page1,true); setNextEnabled(page1,true);
setNextEnabled(page2,true); setNextEnabled(page2,true);

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

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

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

@ -39,7 +39,7 @@ AdvancedBackupConfigDialog::AdvancedBackupConfigDialog(TQWidget *parent):KDialog
topLayout->addWidget( m_advancedBackupConfigView,0,0 ); topLayout->addWidget( m_advancedBackupConfigView,0,0 );
m_advancedBackupConfigView->optionList->availableListBox()->insertStringList(allOptionList()); m_advancedBackupConfigView->optionList->availableListBox()->insertStringList(allOptionList());
resize( TQSize(350,450).expandedTo(tqminimumSizeHint()) ); resize( TQSize(350,450).expandedTo(minimumSizeHint()) );
} }
TQStringList AdvancedBackupConfigDialog::optionList() TQStringList AdvancedBackupConfigDialog::optionList()

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

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

@ -53,7 +53,7 @@ IncludeExcludeDialog::IncludeExcludeDialog(TQWidget *parent):KDialogBase(Plain,
connect(m_view->exclude,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotExclude())); connect(m_view->exclude,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotExclude()));
connect(m_view->remove,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotRemove())); 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() TQStringList IncludeExcludeDialog::includeExcludeList()

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

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

@ -62,7 +62,7 @@ RestoreBackupWizard::RestoreBackupWizard(TQWidget *parent,const char* name): KWi
setNextEnabled(page2,true); setNextEnabled(page2,true);
setFinishEnabled(page3, false); setFinishEnabled(page3, false);
resize( tqminimumSizeHint() ); resize( minimumSizeHint() );
} }
RestoreBackupWizard::~RestoreBackupWizard() RestoreBackupWizard::~RestoreBackupWizard()
@ -222,7 +222,7 @@ void RestoreBackupWizard::setupPage3()
restoreBackupWizard3View = new RestoreBackupWizard3View(page3,"restoreBackupWizard3View"); restoreBackupWizard3View = new RestoreBackupWizard3View(page3,"restoreBackupWizard3View");
restoreBackupWizard3View->incrementList->setSorting(0,false); 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" ); addPage( page3, "Date to restore" );
} }

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

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

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

@ -49,8 +49,8 @@ inline void ListViewToolTip::maybeTip( const TQPoint& p ) {
if ( !item ) if ( !item )
return; return;
const TQRect tqitemRect = listView->tqitemRect( item ); const TQRect itemRect = listView->itemRect( item );
if ( !tqitemRect.isValid() ) if ( !itemRect.isValid() )
return; return;
const int col = listView->header()->sectionAt( p.x() ); const int col = listView->header()->sectionAt( p.x() );
@ -61,7 +61,7 @@ inline void ListViewToolTip::maybeTip( const TQPoint& p ) {
if ( !headerRect.isValid() ) if ( !headerRect.isValid() )
return; 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); BackupListViewItem* backupItem = static_cast<BackupListViewItem*>(item);

@ -191,7 +191,7 @@ TQValueList<Backup> RDBManager::outdatedBackupList()
for ( it = backups.begin(); it != backups.end(); ++it ) for ( it = backups.begin(); it != backups.end(); ++it )
{ {
TQDateTime last = lastIncrement(*it); TQDateTime last = lastIncrement(*it);
TQDate today = TQDate::tqcurrentDate(); TQDate today = TQDate::currentDate();
if ( last.date().daysTo(today) >= (*it).interval() ) if ( last.date().daysTo(today) >= (*it).interval() )
{ {
kdDebug() << "Detected outdated backup: " << (*it).source() << endl; kdDebug() << "Detected outdated backup: " << (*it).source() << endl;

@ -72,7 +72,7 @@ void KeepKded::slotBackupSuccess(Backup backup)
void KeepKded::log(TQString type,TQString backup,TQString message) 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 ); TQFile file( m_logFilePath );
if ( file.open(IO_WriteOnly | IO_Append) ) if ( file.open(IO_WriteOnly | IO_Append) )
{ {

Loading…
Cancel
Save