summaryrefslogtreecommitdiffstats
path: root/conduits/knotes
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:52 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:52 -0600
commite2574db445c23b812a26740475cbacbbd964639b (patch)
tree316cf67e705010864637b7293c323abdc26f371b /conduits/knotes
parentd55caffa62947ca831ae0c21aada3b55eec24027 (diff)
downloadkpilot-e2574db445c23b812a26740475cbacbbd964639b.tar.gz
kpilot-e2574db445c23b812a26740475cbacbbd964639b.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'conduits/knotes')
-rw-r--r--conduits/knotes/knotes-action.cc30
-rw-r--r--conduits/knotes/knotes-action.h2
-rw-r--r--conduits/knotes/setup_base.ui2
3 files changed, 17 insertions, 17 deletions
diff --git a/conduits/knotes/knotes-action.cc b/conduits/knotes/knotes-action.cc
index 7664f46..08acbac 100644
--- a/conduits/knotes/knotes-action.cc
+++ b/conduits/knotes/knotes-action.cc
@@ -234,7 +234,7 @@ KNotesAction::KNotesAction(KPilotLink *o,
}
fP->fTimer = new TQTimer(this);
- fActiontqStatus = Init;
+ fActionStatus = Init;
// this is not needed. As it is done in the initstate in process();
// resetIndexes();
@@ -308,9 +308,9 @@ void KNotesAction::listNotes()
{
FUNCTIONSETUP;
- DEBUGKPILOT << fname << ": Now in state " << fActiontqStatus << endl;
+ DEBUGKPILOT << fname << ": Now in state " << fActionStatus << endl;
- switch(fActiontqStatus)
+ switch(fActionStatus)
{
case Init:
resetIndexes();
@@ -321,16 +321,16 @@ void KNotesAction::listNotes()
case SyncAction::SyncMode::eBackup:
case SyncAction::SyncMode::eRestore:
// Impossible!
- fActiontqStatus = Done;
+ fActionStatus = Done;
break;
case SyncAction::SyncMode::eCopyHHToPC :
listNotes(); // Debugging
- fActiontqStatus = MemosToKNotes;
+ fActionStatus = MemosToKNotes;
break;
case SyncAction::SyncMode::eHotSync:
case SyncAction::SyncMode::eFullSync:
case SyncAction::SyncMode::eCopyPCToHH:
- fActiontqStatus = ModifiedNotesToPilot;
+ fActionStatus = ModifiedNotesToPilot;
break;
}
break;
@@ -338,14 +338,14 @@ void KNotesAction::listNotes()
if (modifyNoteOnPilot())
{
resetIndexes();
- fActiontqStatus = DeleteNotesOnPilot;
+ fActionStatus = DeleteNotesOnPilot;
}
break;
case DeleteNotesOnPilot:
if (deleteNoteOnPilot())
{
resetIndexes();
- fActiontqStatus = NewNotesToPilot;
+ fActionStatus = NewNotesToPilot;
}
break;
case NewNotesToPilot :
@@ -359,14 +359,14 @@ void KNotesAction::listNotes()
case SyncAction::SyncMode::eRestore:
case SyncAction::SyncMode::eCopyHHToPC :
// Impossible!
- fActiontqStatus = Done;
+ fActionStatus = Done;
break;
case SyncAction::SyncMode::eHotSync:
case SyncAction::SyncMode::eFullSync:
- fActiontqStatus = MemosToKNotes;
+ fActionStatus = MemosToKNotes;
break;
case SyncAction::SyncMode::eCopyPCToHH:
- fActiontqStatus = Cleanup;
+ fActionStatus = Cleanup;
break;
}
}
@@ -374,7 +374,7 @@ void KNotesAction::listNotes()
case MemosToKNotes :
if (syncMemoToKNotes())
{
- fActiontqStatus=Cleanup;
+ fActionStatus=Cleanup;
}
break;
case Cleanup :
@@ -791,7 +791,7 @@ void KNotesAction::cleanupMemos()
KNotesConduitSettings::setMemoIds(memos);
KNotesConduitSettings::self()->writeConfig();
- fActiontqStatus=Done;
+ fActionStatus=Done;
fDatabase->cleanup();
fDatabase->resetSyncFlags();
fLocalDatabase->cleanup();
@@ -848,7 +848,7 @@ void KNotesAction::cleanupMemos()
/* virtual */ TQString KNotesAction::statusString() const
{
- switch(fActiontqStatus)
+ switch(fActionStatus)
{
case Init : return CSL1("Init");
case NewNotesToPilot :
@@ -864,7 +864,7 @@ void KNotesAction::cleanupMemos()
case Done :
return CSL1("Done");
default :
- return CSL1("Unknown (%1)").tqarg(fActiontqStatus);
+ return CSL1("Unknown (%1)").tqarg(fActionStatus);
}
}
diff --git a/conduits/knotes/knotes-action.h b/conduits/knotes/knotes-action.h
index 223dfe2..bd057b7 100644
--- a/conduits/knotes/knotes-action.h
+++ b/conduits/knotes/knotes-action.h
@@ -45,7 +45,7 @@ public:
const TQStringList &a = TQStringList() );
virtual ~KNotesAction();
- enum tqStatus { Init,
+ enum Status { Init,
ModifiedNotesToPilot,
DeleteNotesOnPilot,
NewNotesToPilot,
diff --git a/conduits/knotes/setup_base.ui b/conduits/knotes/setup_base.ui
index 15d902f..1757b88 100644
--- a/conduits/knotes/setup_base.ui
+++ b/conduits/knotes/setup_base.ui
@@ -72,7 +72,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>101</height>