Nombre de lignes : 40 lignes
Afficher ce fichier en plein écran
- #ifndef HEADER_H_INCLUDED
- #define HEADER_H_INCLUDED
-
- #define DATA_FILE "GeoIPCountryWhois.csv"
-
- #include <QApplication>
- #include <QTGui>
-
- #include <string>
- #include <fstream>
- #include <iostream>
-
- using namespace std;
-
- class Window : public QWidget
- {
-
- int CheckFile (char *path);
- void Print (char *text);
- void flag (string id);
-
- Q_OBJECT
-
- public:
- Window();
-
- public slots:
- void GetFile ();
-
- private:
- QPushButton *open;
- QScrollBar *sb;
- QTextEdit *output;
- QTextCursor *cursor;
-
- };
-
-
- #endif // HEADER_H_INCLUDED