summaryrefslogtreecommitdiffstats
path: root/kget/kmainwidget.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:03 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:03 -0600
commit9c9412b30c54468adc9e506cc76c5d113fbf5056 (patch)
tree68a0c0d5bc770fc58596b8c5624cdf33d8625027 /kget/kmainwidget.h
parent2e53bd0b77676f879fad7baeecea5879bf496a7d (diff)
downloadtdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.tar.gz
tdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kget/kmainwidget.h')
-rw-r--r--kget/kmainwidget.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/kget/kmainwidget.h b/kget/kmainwidget.h
index efbcf318..cd2ce92d 100644
--- a/kget/kmainwidget.h
+++ b/kget/kmainwidget.h
@@ -35,9 +35,9 @@
#include "kget_iface.h"
-class KAction;
-//class KToggleAction;
-class KRadioAction;
+class TDEAction;
+//class TDEToggleAction;
+class TDERadioAction;
class DockWidget;
class DropTarget;
@@ -49,7 +49,7 @@ class TransferList;
class Settings;
-class KMainWidget:public KMainWindow, virtual public KGetIface
+class TDEMainWidget:public TDEMainWindow, virtual public KGetIface
{
Q_OBJECT
@@ -59,8 +59,8 @@ public:
enum StatusbarFields { ID_TOTAL_TRANSFERS = 1, ID_TOTAL_FILES, ID_TOTAL_SIZE,
ID_TOTAL_TIME , ID_TOTAL_SPEED };
- KMainWidget(bool bShowMain = false);
- ~KMainWidget();
+ TDEMainWidget(bool bShowMain = false);
+ ~TDEMainWidget();
void addTransfer( const TQString& src );
void addTransferEx( const KURL& url,
@@ -82,10 +82,10 @@ public:
friend class Settings;
// Actions
- KToggleAction *m_paShowLog;
- KToggleAction *m_menubarAction;
- KAction *m_paPreferences;
- KAction *m_paQuit;
+ TDEToggleAction *m_paShowLog;
+ TDEToggleAction *m_menubarAction;
+ TDEAction *m_paPreferences;
+ TDEAction *m_paQuit;
bool b_viewLogWindow;
void readTransfersEx(const KURL & url);
@@ -210,24 +210,24 @@ private:
int _sock;
// Actions
- KAction *m_paOpenTransfer, *m_paPasteTransfer, *m_paExportTransfers, *m_paImportTransfers;
- KAction *m_paImportText;
+ TDEAction *m_paOpenTransfer, *m_paPasteTransfer, *m_paExportTransfers, *m_paImportTransfers;
+ TDEAction *m_paImportText;
- KAction *m_paMoveToBegin, *m_paMoveToEnd, *m_paCopy, *m_paIndividual;
- KAction *m_paResume, *m_paPause, *m_paDelete, *m_paRestart;
- KRadioAction *m_paQueue, *m_paTimer, *m_paDelay;
+ TDEAction *m_paMoveToBegin, *m_paMoveToEnd, *m_paCopy, *m_paIndividual;
+ TDEAction *m_paResume, *m_paPause, *m_paDelete, *m_paRestart;
+ TDERadioAction *m_paQueue, *m_paTimer, *m_paDelay;
- KToggleAction *m_paUseAnimation;
- KToggleAction *m_paExpertMode, *m_paUseLastDir, *m_paOfflineMode;
- KToggleAction *m_paAutoDisconnect, *m_paAutoShutdown, *m_paAutoPaste;
+ TDEToggleAction *m_paUseAnimation;
+ TDEToggleAction *m_paExpertMode, *m_paUseLastDir, *m_paOfflineMode;
+ TDEToggleAction *m_paAutoDisconnect, *m_paAutoShutdown, *m_paAutoPaste;
- KAction *m_paDropTarget;
- KAction *m_paKonquerorIntegration;
+ TDEAction *m_paDropTarget;
+ TDEAction *m_paKonquerorIntegration;
bool m_showDropTarget;
};
-extern KMainWidget *kmain;
+extern TDEMainWidget *kmain;
extern DropTarget *kdrop;
#endif // _KMAINWIDGET_H_