summaryrefslogtreecommitdiffstats
path: root/src/modules/logview/logviewmdiwindow.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
commit0a80cfd57d271dd44221467efb426675fa470356 (patch)
tree6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/modules/logview/logviewmdiwindow.h
parent3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff)
downloadkvirc-0a80cfd57d271dd44221467efb426675fa470356.tar.gz
kvirc-0a80cfd57d271dd44221467efb426675fa470356.zip
TQt4 port kvirc
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238719 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/logview/logviewmdiwindow.h')
-rw-r--r--src/modules/logview/logviewmdiwindow.h79
1 files changed, 40 insertions, 39 deletions
diff --git a/src/modules/logview/logviewmdiwindow.h b/src/modules/logview/logviewmdiwindow.h
index df4bb245..8a2a503f 100644
--- a/src/modules/logview/logviewmdiwindow.h
+++ b/src/modules/logview/logviewmdiwindow.h
@@ -29,15 +29,15 @@
#include "kvi_tal_vbox.h"
#include "kvi_tal_listview.h"
#include "kvi_pointerlist.h"
-#include <qtabwidget.h>
-#include <qdatetime.h>
+#include <tqtabwidget.h>
+#include <tqdatetime.h>
class KviTalListView;
-class QStringList;
+class TQStringList;
class KviLogViewWidget;
-class QCheckBox;
-class QLineEdit;
-class QDateEdit;
+class TQCheckBox;
+class TQLineEdit;
+class TQDateEdit;
class KviLogFile {
@@ -51,28 +51,29 @@ public:
Other
};
- KviLogFile(const QString& name);
+ KviLogFile(const TQString& name);
- const QString & fileName() { return m_szFilename; };
- const QString & name() { return m_szName; };
- const QString & network() { return m_szNetwork; };
- const QDate & date() { return m_date; };
+ const TQString & fileName() { return m_szFilename; };
+ const TQString & name() { return m_szName; };
+ const TQString & network() { return m_szNetwork; };
+ const TQDate & date() { return m_date; };
- void getText(QString & text,const QString& logDir);
+ void getText(TQString & text,const TQString& logDir);
KviLogTypes type() { return m_type; };
private:
KviLogTypes m_type;
- QString m_szFilename;
+ TQString m_szFilename;
bool m_bCompressed;
- QString m_szName;
- QString m_szNetwork;
- QDate m_date;
+ TQString m_szName;
+ TQString m_szNetwork;
+ TQDate m_date;
};
class KviLogViewMDIWindow : public KviWindow , public KviModuleExtension
{
Q_OBJECT
+ TQ_OBJECT
public:
KviLogViewMDIWindow(KviModuleExtensionDescriptor * d,KviFrame * lpFrm);
~KviLogViewMDIWindow();
@@ -82,40 +83,40 @@ protected:
KviTalListView * m_pListView;
// Type filter
- QCheckBox * m_pShowChannelsCheck;
- QCheckBox * m_pShowQueryesCheck;
- QCheckBox * m_pShowConsolesCheck;
- QCheckBox * m_pShowOtherCheck;
- QCheckBox * m_pShowDccChatCheck;
+ TQCheckBox * m_pShowChannelsCheck;
+ TQCheckBox * m_pShowQueryesCheck;
+ TQCheckBox * m_pShowConsolesCheck;
+ TQCheckBox * m_pShowOtherCheck;
+ TQCheckBox * m_pShowDccChatCheck;
// Content filter
- QLineEdit * m_pFileNameMask;
- QLineEdit * m_pContentsMask;
-
- // Date/time mask
- QCheckBox * m_pEnableFromFilter;
- QCheckBox * m_pEnableToFilter;
- QDateEdit * m_pFromDateEdit;
- QDateEdit * m_pToDateEdit;
-
- QStringList * m_pFileNames;
- QString m_szLogDirectory;
- QTabWidget * m_pTabWidget;
+ TQLineEdit * m_pFileNameMask;
+ TQLineEdit * m_pContentsMask;
+
+ // Date/time tqmask
+ TQCheckBox * m_pEnableFromFilter;
+ TQCheckBox * m_pEnableToFilter;
+ TQDateEdit * m_pFromDateEdit;
+ TQDateEdit * m_pToDateEdit;
+
+ TQStringList * m_pFileNames;
+ TQString m_szLogDirectory;
+ TQTabWidget * m_pTabWidget;
KviTalVBox * m_pIndexTab;
- QWidget * m_pSearchTab;
+ TQWidget * m_pSearchTab;
protected:
- QStringList getFileNames();
+ TQStringList getFileNames();
void setupItemList();
void cacheFileList();
- virtual QPixmap * myIconPtr();
- virtual void resizeEvent(QResizeEvent *e);
+ virtual TQPixmap * myIconPtr();
+ virtual void resizeEvent(TQResizeEvent *e);
virtual void fillCaptionBuffers();
virtual void die();
- virtual QSize sizeHint() const;
+ virtual TQSize tqsizeHint() const;
protected slots:
- void rightButtonClicked ( KviTalListViewItem *, const QPoint &, int );
+ void rightButtonClicked ( KviTalListViewItem *, const TQPoint &, int );
void itemSelected(KviTalListViewItem * it);
void deleteCurrent();
void applyFilter();