summaryrefslogtreecommitdiffstats
path: root/src/kasablanca.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kasablanca.h')
-rw-r--r--src/kasablanca.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/kasablanca.h b/src/kasablanca.h
index 3d297d3..7d221a5 100644
--- a/src/kasablanca.h
+++ b/src/kasablanca.h
@@ -26,22 +26,22 @@ class KbDir;
class KbFile;
class KToggleAction;
class KSystemTray;
-class QWidget;
-class QCloseEvent;
-class QLabel;
-class QPixmap;
+class TQWidget;
+class TQCloseEvent;
+class TQLabel;
+class TQPixmap;
class FtpSession;
class KbStatusTip;
#include <kapplication.h>
#include <klistview.h>
-#include <kmainwindow.h>
+#include <tdemainwindow.h>
#include <kprocess.h>
-#include <qdir.h>
-#include <qlistview.h>
-#include <qmenubar.h>
-#include <qregexp.h>
+#include <ntqdir.h>
+#include <ntqlistview.h>
+#include <ntqmenubar.h>
+#include <ntqregexp.h>
#include <list>
@@ -53,7 +53,7 @@ using namespace std;
/** Kasablanca is the base class of the project */
-class Kasablanca : public KMainWindow
+class Kasablanca : public TDEMainWindow
{
Q_OBJECT
public:
@@ -72,8 +72,8 @@ public:
Kasablanca();
~Kasablanca();
- QString m_tempdirname;
- QString m_version;
+ TQString m_tempdirname;
+ TQString m_version;
list<KbSiteInfo> m_bookmarks;
KSystemTray* systemTray() const { return mp_systemtray; }
KbStatusTip* statusTip() const { return mp_statustip; }
@@ -82,14 +82,14 @@ public:
public slots:
void SLOT_EditBookmarks();
void SLOT_ImportBookmarks();
- void SLOT_ItemRightClickedT(QListViewItem * item, const QPoint & point, int col );
+ void SLOT_ItemRightClickedT(TQListViewItem * item, const TQPoint & point, int col );
void SLOT_SelectionChanged();
void SLOT_SkipTasks();
void SLOT_ProcessQueue();
void SLOT_QueueItems(KbDirInfo *dir, FtpSession* src, FtpSession* dst, bool startqueue);
- void SLOT_NextTransfer(QListViewItem* item);
+ void SLOT_NextTransfer(TQListViewItem* item);
void SLOT_ClearQueue(FtpSession* session);
- void SLOT_LocalProcessExited(KProcess* proc) { delete proc; };
+ void SLOT_LocalProcessExited(TDEProcess* proc) { delete proc; };
private slots:
void optionsShowToolbar();
@@ -101,28 +101,28 @@ private slots:
void applyConfig();
private:
- void QueueItemsRecurse(KbDirInfo *dir, FtpSession* src, FtpSession* dst, QListViewItem* parent = NULL);
+ void QueueItemsRecurse(KbDirInfo *dir, FtpSession* src, FtpSession* dst, TQListViewItem* parent = NULL);
void setupStatusBar();
void setupMenu();
void setupGUI();
void setupActions();
void saveSettings();
void ProcessQueue(KbTransferItem* item);
- QListViewItem* NextTransfer(QListViewItem* item);
+ TQListViewItem* NextTransfer(TQListViewItem* item);
void QueueFinished();
KasablancaMainWindow *mp_view;
- QPopupMenu m_bookmarksmenu_a, m_bookmarksmenu_b;
- QRegExp m_skiplist;
- QPopupMenu m_rclickmenu_a, m_rclickmenu_b, m_rclickmenu_t;
- QLabel *mp_statusline_a, *mp_statusline_b, *mp_encryptionicon_a, *mp_encryptionicon_b;
- QPixmap m_iconencrypted, m_iconunencrypted;
+ TQPopupMenu m_bookmarksmenu_a, m_bookmarksmenu_b;
+ TQRegExp m_skiplist;
+ TQPopupMenu m_rclickmenu_a, m_rclickmenu_b, m_rclickmenu_t;
+ TQLabel *mp_statusline_a, *mp_statusline_b, *mp_encryptionicon_a, *mp_encryptionicon_b;
+ TQPixmap m_iconencrypted, m_iconunencrypted;
KToggleAction *m_toolbarAction;
KToggleAction *m_statusbarAction;
FtpSession *mp_session_a, *mp_session_b;
list<FtpSession*> *mp_sessionlist;
bool m_skiplistenabled, m_onqueuefinishedenabled;
- QString m_onqueuefinished;
+ TQString m_onqueuefinished;
KSystemTray* mp_systemtray;
KbStatusTip *mp_statustip;
};